Page 1 of 1

Streaming torrents as video source

Posted: Sat Jan 02, 2016 4:46 pm
by Rahzel
One feature I'd like to see in future UMS versions is support for streaming torrents as content source. This would allow the user to open a magnet link or a .torrent file and select the video file withn it. Then UMS would contact the swarm and start downloading the file to cache in sequential order, muxing as needed and serving it to any compatible renderers.

This shouldn't even be hard to implement. You can use BSD licensed libtorrent for all the underlying torrent-handling code (including sequential downloading). If you help with how to implement libtorrent have a look at the excellent qBittorrent.

Cheers.

Re: Streaming torrents as video source

Posted: Sun Jan 03, 2016 2:04 am
by Wolfgan
Adding (and maintaining) code for those kind of sources implies a lot of work. But the interesting piece is that is working now.
You just need to configure your Acestream, livestreamer or any other other video source to re-stream locally (instead of using the default player), and then use the web video features of UMS with a line in web.conf like:

Code: Select all

videofeed.Web,Acestream=http://localhost:8080/stream
And then the feed is available via DLNA to all your renderers (if they don't have a direct client for IPTV, which will be easier to use)
Wolf.