johndoee / deluge-streaming Goto Github PK
View Code? Open in Web Editor NEWStreaming plugin for deluge, making it possible to read torrents and download required parts on-demand.
License: Other
Streaming plugin for deluge, making it possible to read torrents and download required parts on-demand.
License: Other
I find that when I want to stream a file with Chinese filename, the plugin will not work.
Thanks for your work on this useful plugin!
Deluge: 2.0.5
Using the Streaming-0.12.2.egg plugin
Using the DelugeVPN docker by binhex https://github.com/binhex/arch-delugevpn in unraid.
as soon as i click on the plugin to turn it on it will turn off instantly and throw me these errors:
==> /mnt/user/appdata/delugevpn/deluged.log <==
09:24:04 [WARNING ][streaming.core :708 ] Unable to prioritize partial pieces
09:24:04 [ERROR ][deluge.pluginmanagerbase :195 ] Failed to start plugin: Streaming
Traceback: <class 'TypeError'>: 'NoneType' object is not callable
/usr/lib/python3.10/site-packages/twisted/internet/defer.py:191:maybeDeferred
/usr/lib/python3.10/site-packages/deluge/plugins/init.py:27:enable
/config/plugins/Streaming-0.12.2.egg/streaming/core.py:711:enable
09:24:04 [WARNING ][deluge.pluginmanagerbase :248 ] Problems occurred disabling plugin: Streaming
==> /mnt/user/appdata/delugevpn/supervisord.log <==
2022-05-17 09:24:04,617 DEBG 'watchdog-script' stderr output:
Exception ignored in: <function CorePluginBase.__del__ at 0x14f4cbe9c310>
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/deluge/plugins/pluginbase.py", line 41, in __del__
2022-05-17 09:24:04,617 DEBG 'watchdog-script' stderr output:
component.get('RPCServer').deregister_object(self)
File "/usr/lib/python3.10/site-packages/deluge/core/rpcserver.py", line 446, in deregister_object
2022-05-17 09:24:04,617 DEBG 'watchdog-script' stderr output:
if value.__self__ == obj:
AttributeError: 'function' object has no attribute '__self__'
Just would like to say I would very much appreciate having web ui support if you have the time to add it. When I try to use this on a remote headless debian server I get
[ERROR ] 11:38:50 init:50 Unable to enable plugin!
[ERROR ] 11:38:50 init:51 'session' object has no attribute 'get_settings'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/deluge/plugins/init.py", line 48, in enable
self.plugin.enable()
File "/home/gus/.config/deluge/plugins/Streaming-0.3.1-py2.7.egg/streaming/core.py", line 475, in enable
settings = session.get_settings()
AttributeError: 'session' object has no attribute 'get_settings'
Under "How to use" in the README.md, there's no instructions on how to install the plugin.
Hi,
I have installed your addon on Kodi 18 but it seem that is not updated anymore :(
I use deluge v2 with ssl and it is possible to update kodi version with your lastest release please !?
Many thanks
The setup.py file does not work in my case. Is there any way to install manually?
Is it possible to add an option to start it directly in VLC?
To me is impossible use you plugin because my internet isn't so fast, I want ask you please to add an feature so, add a new context menu not to streaming but, to set an start and an end point to download in the specific file. Why, for instance, have MMA events with have 10 gb, just the main event, and I want just the last fight, so I can set to download just the last 2,5 gb of the file. Is like the Pieces plugin but per file.
Thanks so much!
Is web ui stream link option supported in Deluge 2? I loaded the plugin and started deluge with deluged -d. Logs say nothing - so no error. I'm sure the plugin is loaded because in the past I got an error about missing requests lib, which I installed. But now the plugin loads correctly, but web UI doesn't work. I'm not sure if it works with GTK, because I don't have a Linux computer at the moment.
I also check console logs, for javascript errors. But nothing appears except for TypeError: e is null from deluge-all.js:45:175, but it appears even without the plugin, so I don't think it is relevant.
I don't have the streaming tab in options nether, in deluge 1 all works.
A status bar in Deluge that tracks buffering status for a stream.
Here you attach .egg files http://forum.deluge-torrent.org/viewtopic.php?f=9&t=49679
But if somebody stumbles upon your github it's not so obvious where is .egg to download or how to make it yourself.
Anyway, thx for plugin. Seems working.
Sorry that I cannot open it directly and I have to use it by copying the link and then deleting the stream+
and then playing the link by mpv http://...
. Anything better I can do with the stream+http://
link that the plugin provides? Thanks.
Hello,
I'm getting reproduction lags and frequent stops for a few seconds with version 0.10.5 using deluge v 1.3.15 on Windows 10 x64. If I'm back to your old version 0.9.0, it works perfectly !
What have you changed ? Test it with a low-ram pc with 1.5 GB for example (but, as I said, 0.9.0 works flawlessly)
Thanks,
Roger
When streaming, deluge download the whole file even if it is not needed lets say if I watched a video from the middle only then only 50% of the video should be downloaded instead of the whole file
At present, files served with this plug-in are given the Content-Disposition: attachment
HTTP response header which causes the browser to treat it as a file that must be downloaded to disk. For example, this is the header for a torrent:
Content-Disposition: attachment; filename=Sintel.2010.1080p.mp4
Streaming downloaded files directly in the browser would be extremely handy so it isn't necessary to save it to disk first (or open it in an external application like VLC). Please add the option to respond with the Content-Disposition: inline
header either as a configuration setting, or as a pair of context menu entries designated "Stream this file" and "Download this file".
Is this plugin already working in v2?
I cant run it on an old Python2.7, deluge 1.x.x docker container anymore and it doesnt give me errors either...deluge 2.x seems to be completly out of question...will there ever be any work done on this and if not, will there be an alternative for it?
When I start to stream a file two things happen.
Currently it's a bit of a guessing game
its annoying! and no way to disable it :(
I don't know if it's technically possible to do via deluge plugin system, but I'd like to see an option to start streaming a torrent using deluge-console. For example:
deluge-console --add path/to/my.torrent --start-streaming
Url to stream: http://127.0.0.1:12345/streaming/file/myFile.mkv
deluge-console --start-streaming torrent-id
Url to stream: http://127.0.0.1:12345/streaming/file/myFile.mkv
I can't get deluge-streaming to work on linux. I tried the exact same configuration of tools and settings as I use on windows, but with no results. The file download itself seems to work file, I can play the file that's being downloaded directly and it seems to play just fine. The only problem is playing it via deluge-streaming.
--
Reproduction steps:
--
Deluge version: 1.3.15 (default settings, one plugin only)
deluge-streaming version: latest release
mpv version: latest git (default settings)
youtube-dl version: latest git
vlc version: 3.0.3 (default settings)
--
Log from mpv on windows (warnings are marked, the rest are errors):
[ffmpeg] http: Unknown content coding: bytes //warning
Log from mpv on linux (warnings are marked, the rest are errors):
[ffmpeg] http: Unknown content coding: bytes
[mkv] Error parsing subelement length
[mkv] Error parsing element Attachments
[ffmpeg] http: Unknown content coding: bytes //warning
[ffmpeg] http: HTTP error 416 Requested Range not satisfiable //warning
[ffmpeg] Seek failed
[ffmpeg] http: HTTP error 416 Requested Range not satisfiable //warning
[ffmpeg] Seek failed
[cache] Seek failed
[mkv] Invalid EBML length at position 51822520
[ffmpeg] http: Unknown content coding: bytes //warning
[ffmpeg] http: Unknown content coding: bytes //warning
[ffmpeg] http: HTTP error 416 Requested Range not satisfiable //warning
[ffmpeg] Seek failed
[ffmpeg] http: HTTP error 416 Requested Range not satisfiable //warning
[ffmpeg] Seek failed
[cache] Seek failed
[mkv] Invalid EBML length at position 52959615
...
Log from vlc on linux:
[00007f65a401ba30] mkv demux error: Dummy Element at unexpected position... corrupted file?
[00007f65a401ba30] mkv demux error: Dummy element too large or misplaced at 1016594500... skipping to next upper element
[00007f65a401ba30] mkv demux error: cannot find any cluster or chapter, damaged file ?
[00007f65a401ba30] mjpeg demux error: cannot peek
[00007f65a4006100] prefetch stream error: cannot seek (to offset 0)
Hi are there any docs for the http api built into deluge-streaming? Im trying to stream to an android device via my own app
Thanks
Is the WebUI supported for this plugin? Nothing occurs when I right click on a torrent, or file listed on the "Files" tab, and click Stream.
Can you update to Python3?
Is there way to set static url for streaming? I need this to configure player on TV once and watch different videos via that url. For example peerflix allows to open simple http://ip:port
. I guess they create m3u playlist with links to video.
System: Deluge 2.0b1, Streaming-0.8.1-py2.7.egg, Windows 10.0.16299 Home.
Problem: Plugin does not load.
Error log message ("error" level):
14:03:10 [ERROR ][deluge.pluginmanagerbase :75 ] Failed to start plugin: Streaming
Traceback: <type 'exceptions.AttributeError'>: 'MainWindow' object has no attribute 'main_glade'
twisted/internet/defer.py:149:maybeDeferred
deluge\plugins\init.py:27:enable
c:\users\user\appdata\roaming\deluge\plugins\streaming-0.8.1-py2.7.egg\streaming\gtkui.py:79:enable
Is it possible to open the stream in a https link ?
This plugin is really usefull, but it is the only "weak" point in my setup.
When steaming a file, CPU usage of deluged
goes to 100% in linux top
.
Is there a way to kill a file's streaming server when I no longer want to be streaming a file?
hi, click "Stream this file", not working
KeyError: u'\u7eb3
The torrent file has Chinese character, maybe the reason for key error?
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/deluge/ui/client.py", line 504, in __call__
return self.daemon.call(self.base, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/deluge/ui/client.py", line 457, in call
return defer.maybeDeferred(m, *copy.deepcopy(args), **copy.deepcopy(kwargs))
File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 150, in maybeDeferred
result = f(*args, **kw)
File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 1274, in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
--- <exception caught here> ---
File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks
result = g.send(result)
File "/home/roselone/.config/deluge/plugins/Streaming-0.5.0-py2.7.egg/streaming/core.py", line 616, in stream_torrent
File "/usr/lib/python2.7/urllib.py", line 1310, in quote_plus
return quote(s, safe)
File "/usr/lib/python2.7/urllib.py", line 1303, in quote
return ''.join(map(quoter, s))
exceptions.KeyError: u'\u7eb3'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.