mirror of
https://github.com/JohnDoee/deluge-streaming/
synced 2026-07-01 15:41:16 -07:00
Merge branch 'release/0.4.1'
This commit is contained in:
@@ -41,7 +41,10 @@ The _allow remote_ option is to allow remote add and stream of torrents.
|
||||
|
||||
# Version Info
|
||||
|
||||
## Version 0.3.0
|
||||
## Version 0.4.1
|
||||
* Fixed bug with old Deluge versions
|
||||
|
||||
## Version 0.4.0
|
||||
* Added WebUI support
|
||||
* Improved scheduling algorithm
|
||||
|
||||
|
||||
2
setup.py
2
setup.py
@@ -42,7 +42,7 @@ from setuptools import setup
|
||||
__plugin_name__ = "Streaming"
|
||||
__author__ = "John Doee"
|
||||
__author_email__ = "johndoee@tidalstream.org"
|
||||
__version__ = "0.4.0"
|
||||
__version__ = "0.4.1"
|
||||
__url__ = "https://github.com/JohnDoee/deluge-streaming"
|
||||
__license__ = "GPLv3"
|
||||
__description__ = "Enables streaming of files while downloading them."
|
||||
|
||||
@@ -479,10 +479,13 @@ class Core(CorePluginBase):
|
||||
|
||||
self.site = server.Site(self.resource)
|
||||
|
||||
session = component.get("Core").session
|
||||
settings = session.get_settings()
|
||||
settings['prioritize_partial_pieces'] = True
|
||||
session.set_settings(settings)
|
||||
try:
|
||||
session = component.get("Core").session
|
||||
settings = session.get_settings()
|
||||
settings['prioritize_partial_pieces'] = True
|
||||
session.set_settings(settings)
|
||||
except AttributeError:
|
||||
logger.warning('Unable to exclude partial pieces')
|
||||
|
||||
self.torrent_handlers = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user