[Plugin] Video/Audio Streaming Plugin

Suggest, post, or discuss plugins for Deluge
JohnDoee
Member
Member
Posts: 11
Joined: Thu Jan 22, 2015 7:45 pm

[Plugin] Video/Audio Streaming Plugin

Post by JohnDoee »

Deluge streaming
Ever wanted to stream torrents from your seedbox? Maybe using your favourite video player instead of being forced to use VLC or built-in ?

That's the problem Deluge Streaming plugin can solve for you.

Get the latest release from Github by clicking here

Configuration information

If you run Deluge Daemon on a different computer, go into options and change IP to the correct external IP, e.g. IP of your seedbox.

A step-by-step guide on how to use it can be found together with the repository, here: https://github.com/JohnDoee/deluge-streaming

I can strongly recommend using http://forum.deluge-torrent.org/viewtop ... =9&t=42887 with the high performance seed profile or tweak the settings manually to allow more aggressive downloading.

Additional features

Deluge Streaming can be integrated in various ways.

Stream directly from Deluge using Kodi
It is now possible to browse files added to Kodi and stream directly from Deluge.
Find the Kodi plugin here and a small guide on how to get it working here

StreamProtocol
Play video directly in VLC or any other media player. Find StreamProtocol here.

If you do want to use StreamProtocol, make sure you check "Use stream protocol URLs" in Deluge Streaming config.

Image
Last edited by JohnDoee on Sun Feb 17, 2019 2:14 pm, edited 20 times in total.
syth
New User
New User
Posts: 3
Joined: Mon Feb 02, 2015 3:10 pm

Re: [Plugin] Video/Audio Streaming Plugin

Post by syth »

hi

I don't know how your algorithm works. but I would suggest reading this: http://dev.deluge-torrent.org/ticket/2196

also I would like to request the option to choose a password, and when chosen should provide one with a renewable hash to add to once URLs.
EDIT: Or do some media players support BASIC auth?

I'll continue to test your plugin further as I haven't tried streaming a file as of yet.
If everything, as it is now, works as intended I'll be very grateful!

EDIT: I guess it shouldn't be resuming the download (start to seed) if the file is complete and the torrent paused.
JohnDoee
Member
Member
Posts: 11
Joined: Thu Jan 22, 2015 7:45 pm

Re: [Plugin] Video/Audio Streaming Plugin

Post by JohnDoee »

syth wrote:I don't know how your algorithm works. but I would suggest reading this: http://dev.deluge-torrent.org/ticket/2196
That was what i was using, it is sadly, poor. I don't think it actually does anything :?
The same goes for piece priority, setting it to the highest level does not mean it's done before the rest of the file.
syth wrote:also I would like to request the option to choose a password, and when chosen should provide one with a renewable hash to add to once URLs.
The URL should be safe, as in, impossible to brute force. The password stuff is for an API I built into it, but that one is disabled per default.
syth wrote:EDIT: I guess it shouldn't be resuming the download (start to seed) if the file is complete and the torrent paused.
Fixed :)

Thanks for the feedback, 0.2 should work a lot better.
There are still a few problems with ensuring the pieces I need, are downloaded ASAP. It can still hang from time to time :/
syth
New User
New User
Posts: 3
Joined: Mon Feb 02, 2015 3:10 pm

Re: [Plugin] Video/Audio Streaming Plugin

Post by syth »

Thank you!

I do have issues with missing video from the playback. I can only hear the soundtrack.
Eventhough it's +90% complete.

I think it could be from missing either the first or the last pieces, or both.

In qBittorrent it works just fine, with the ~"Download the first and last pieces first" ticked.
syth
New User
New User
Posts: 3
Joined: Mon Feb 02, 2015 3:10 pm

Re: [Plugin] Video/Audio Streaming Plugin

Post by syth »

it doesn't playback video still after completion.
but now it works when I play it with the 64-bit exe of the same player.

I'll keep testing and see if the last issue persist in the 64-bit player.

I did notice that after completion, the files which got set to "Do Not Download", didn't get reset.
JohnDoee
Member
Member
Posts: 11
Joined: Thu Jan 22, 2015 7:45 pm

Re: [Plugin] Video/Audio Streaming Plugin

Post by JohnDoee »

syth wrote:I do have issues with missing video from the playback. I can only hear the soundtrack.
Eventhough it's +90% complete.
Can you tell me more about what you were watching ? Container (mkv, avi, mp4, ...), audio/video codec (h.264, xvid, aac, mp3, ...), player (VLC, Media Player Classic, Kodi) etc.

I changed how it buffers when missing the end pieces and I am also getting faster preparation speeds when using the ltConfig plugin with the high performance seed profile. I have also fixed the "do not download" thing.

Gonna upload a new version when i have tested it a bit more.
atommixz
New User
New User
Posts: 2
Joined: Thu Nov 24, 2011 12:50 pm

Re: [Plugin] Video/Audio Streaming Plugin

Post by atommixz »

Awesome plugin! Make link is clickable and well done.
JohnDoee
Member
Member
Posts: 11
Joined: Thu Jan 22, 2015 7:45 pm

Re: [Plugin] Video/Audio Streaming Plugin

Post by JohnDoee »

atommixz wrote:Make link is clickable and well done.
I got a few questions
  • OS, are you running Windows, Linux or OSX ?
  • What kind of data do you have, Video, music or normal data (something you can't play) ?
  • If something you want to watch, what do you use for playback, VLC, Windows Media Player, Kodi, something else ?
gggirlgeek
Member
Member
Posts: 13
Joined: Mon Oct 10, 2016 11:59 pm

Re: [Plugin] Video/Audio Streaming Plugin

Post by gggirlgeek »

Hello and thanks for the plugin.

I cannot seem to get it working at all. Would someone be willing to help me with the configuration?

My setup: Deluge daemon on a seedbox. Deluge client running on my Win7x64. Stream is installed on both client and daemon using python v2.7. I am using mostly .mkv's and .mp4's (x264.) I prefer https but have tried http and it doesn't work either. I have Stream Protocol installed (but don't know if it's necessary.)

I have tried ticking and unticking every setting in the plugin. I have put my seedbox's IP address in and put my username in to allow remote access (tried without this option too.) All I get with any setting is Invalid Link. I get this from both the client and the daemon.

One thing I don't understand is what userscript I'm supposed to use with Stream Protocol? I tried exiting it and enabling "Stream from URL" but the links are still invalid.

Help please?
Deluge v1.13
libtorrent v1.09.09
Seedbox: Debian 8.6
Client on: Win7x64
JohnDoee
Member
Member
Posts: 11
Joined: Thu Jan 22, 2015 7:45 pm

Re: [Plugin] Video/Audio Streaming Plugin

Post by JohnDoee »

The stream protocol stuff was a bit of a failed idea on my part, so just remove and forget about it for now. It is just a small helper to make it easier to open URLs in your media player. So, just uninstall for now.

* Disable "Use stream URLs"
* Disable SSL (for now, at least).
* Disable remote access.
* The Hostname field should have the seedbox IP.
* Try changing the port to something else, e.g. 52006

After you've done that and applied the settings, then go into the plugins menu and "disable and enable" the plugin again to make sure it is using the correct settings.

How is the link invalid ? Is it because it starts with stream+ or something else?
If you disable the "use stream urls" the links should very normal and be possible to drag or copy into your media player or web browser.

If you want more interactive help, feel free to join the Deluge IRC channel here: http://webchat.freenode.net/?channels=deluge - I hang out there too.
Post Reply