start the stream after adding
This commit is contained in:
parent
e862c99f6c
commit
c8f25027fc
1 changed files with 1 additions and 0 deletions
|
@ -170,6 +170,7 @@ class TorrentManager(SourceManager):
|
||||||
torrent_session=self.torrent_session
|
torrent_session=self.torrent_session
|
||||||
)
|
)
|
||||||
self.add(stream)
|
self.add(stream)
|
||||||
|
await stream.start()
|
||||||
|
|
||||||
async def initialize_from_database(self):
|
async def initialize_from_database(self):
|
||||||
for file in await self.storage.get_all_torrent_files():
|
for file in await self.storage.get_all_torrent_files():
|
||||||
|
|
Loading…
Add table
Reference in a new issue