[Plugin] Video/Audio Streaming Plugin

Suggest, post, or discuss plugins for Deluge
gggirlgeek
Member
Member
Posts: 13
Joined: Mon Oct 10, 2016 11:59 pm
OS or Distro: Windows 7 x64

Re: [Plugin] Video/Audio Streaming Plugin

Postby gggirlgeek » Wed Oct 12, 2016 11:35 am

I disabled the Streaming plugin so I could re-enable it as you said. Now it won't enable at all. The checkbox gets unticked after I hit Apply or click OK. I've tried uninstalling it (deleting the egg files and python-egg folder) but the Streaming plugin is still listed, saying invalid. I restarted Deluge as well. When I install it with an .egg file again I get the same result. I tried enabling it on the remote Daemon but it also does the same thing. I even tried restarting my Seedbox as well as my computer.
Deluge v1.13
libtorrent v1.09.09
Seedbox: Debian 8.6
Client on: Win7x64

gggirlgeek
Member
Member
Posts: 13
Joined: Mon Oct 10, 2016 11:59 pm
OS or Distro: Windows 7 x64

Re: [Plugin] Video/Audio Streaming Plugin

Postby gggirlgeek » Thu Oct 13, 2016 6:31 pm

It works!! I had to use "Quit and Shutdown the Daemon", and then restart/reconnect. It works from both the Daemon's WebUI and the Thin Client. As a matter of fact StreamingProtocol works great too -- not a failure at all! It allows me to use MPC-HC without having to copy the url or download the entire file ahead of time. This is just what I needed. SSL works too, sort of. It let's me download the file into temp folders, then it opens it in whatever media player I want. Good for paranoid-mode.

I prefer watching media straight from my torrent client, where I can manage and delete files all in one place. However, I also want the great sound and video that MPC-HC offers in a nice home theater system. To put the icing on the cake, I want to have access to my files anywhere in the world. Deluge+Seedbox+Streaming Plugin makes all that happen. I feel spoiled.

Thank you so much!
Deluge v1.13
libtorrent v1.09.09
Seedbox: Debian 8.6
Client on: Win7x64

gggirlgeek
Member
Member
Posts: 13
Joined: Mon Oct 10, 2016 11:59 pm
OS or Distro: Windows 7 x64

Re: [Plugin] Video/Audio Streaming Plugin

Postby gggirlgeek » Tue Oct 18, 2016 10:15 pm

Can you tell us: What is "Allow Remote Control"? Can I use it with my client, or over the WebUI where I access my Daemon (on remote seedbox)?
Deluge v1.13
libtorrent v1.09.09
Seedbox: Debian 8.6
Client on: Win7x64

JohnDoee
Member
Member
Posts: 10
Joined: Thu Jan 22, 2015 7:45 pm
OS or Distro: Ubuntu

Re: [Plugin] Video/Audio Streaming Plugin

Postby JohnDoee » Thu Oct 20, 2016 8:09 am

I'm happy you got it working. For further reference (to anyone who might hit lots of problems), you can go into the deluge config folder and delete streaming.conf to clear all streaming plugin settings.

The StreamProtocol is not polished at all and the GreaseMonkey integration is really the weak point, that's why I don't think it's all that great :)

The "Allow Remote Control" is to make it possible to integrate it into other software if you want to make your own media server software or plugin (e.g. for Kodi). Similar to Popcorn-Time/ButterProject and Quasar for Kodi works. Deluge can run on a seedbox and is allowed on private trackers which makes it unique.

You should already be able to stream from your remote seedbox using WebUI already.

enri
New User
New User
Posts: 7
Joined: Tue Feb 14, 2017 5:08 am
OS or Distro: docker

Re: [Plugin] Video/Audio Streaming Plugin

Postby enri » Sun Feb 19, 2017 1:56 am

When I try this plugin, I found that the hostname must be set to a proper address, otherwise the streaming will not be accessible

my case:
1. Macbook ip address 192.168.1.5, hostname in plugin set to 127.0.0.1, local Chrome or VLC can download/watch the video. iPhone in 192.168.1.100 cannot browse/watch the video even I point the address back to the correct ip address i.e. changing the url from http://127.0.0.1:46123/.... to http://192.168.1.5:46123/..... It only works after I change the hostname in plugin to 192.168.1.5

2. Deluge in Docker address 10.0.3.2, stay in NAS 192.168.1.3, port forwarded (opened) so that other device is able to browse the WebGUI of Deluge. At the beginning, because I do not know the property mentioned in point 1, setting 192.168.1.3 in the hostname field does not work, until I set 10.0.3.2 and then other device can get the stream working, by getting the url 10.0.3.2:46123/.... and change it to 102.168.1.3:46123/......

This makes me think.....like apache or vpn server, most of the time the server will set themselves to listen to traffic from a specific ip address - in this case the ip address in the hostname field. Would it be possible to write the plugin to listen to all the ip address?

Edit: Another thing I notice is, when the hostname is not set to the proper ip address, the link will not be generated properly

JohnDoee
Member
Member
Posts: 10
Joined: Thu Jan 22, 2015 7:45 pm
OS or Distro: Ubuntu

Re: [Plugin] Video/Audio Streaming Plugin

Postby JohnDoee » Sat Feb 25, 2017 6:17 pm

The plugin tries to bind the IP you specify, if it fails, then it will bind to 0.0.0.0. If the hostname resolves to a local IP, then it will bind to that local IP.

Do you want a checkbox like: "Listen to all IPs" ?

Regarding your edit, I do not see how that should happen. It generates URLs by putting the hostname field directly into the URL and that should be valid with any valid hostname. Is there something specific the plugin can do better here ?


Return to “Plugins”

Who is online

Users browsing this forum: No registered users and 1 guest