Git Product home page Git Product logo

deluge-streaming's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deluge-streaming's Issues

Chinese filename not supported.

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!

Plugin will not load

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__'

Web UI Support

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'

In a fresh docker start, plugin is not properly loaded

I want to put this in my docker image by default, I make sure the .egg file is in the plugin folder before starting deluge.

This is the only plugin of the many I use, that start like this :

image

I have to manually install via GTK UI it so that information are properly loaded. I see no errors anywhere.

Kodi version

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

Plugin installation

The setup.py file does not work in my case. Is there any way to install manually?

Download Start 'n End Points

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!

Deluge 2 Web UI support or issue

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.

Status bar

A status bar in Deluge that tracks buffering status for a stream.

How to open the `stream+http://` protocol?

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.

reproduction lags and stops for a few seconds with version 0.10.5

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

Needs option to use HTTP header "Content-Disposition: inline"

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".

Deluge V2

Is this plugin already working in v2?

Is the project completly dead? any alternatives?

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?

Percentages Messing Up

When I start to stream a file two things happen.

  1. The percentages get messed up. See -------------
    I think it may have something to do with the "Do not download" thing, but not completely sure.
  2. My download speed sharply declines for maybe 20 seconds then picks back up. This obviously could just be chance, but it has happened several times now. Would this plugin affect download speed?

deluge-console support

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

deluge-streaming doesn't work on linux

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:

  • open a video torrent file in deluge, select start streaming option
  • paste the url to stream to either mpv (with youtube-dl) or vlc

--

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)

http-api documentation?

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

Not working in WebUI

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.

Static stream url

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.

Plugin does not load [Bug]

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

open stream with a httpS link

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.

100% CPU usage of deluged

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?

KeyError in urllib.quote

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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.