Local directory as a channel - Printable Version
+- BlissFlixx Forum (http://forum.blissflixx.rocks)
+-- Forum: Users (http://forum.blissflixx.rocks/forumdisplay.php?fid=1)
+--- Forum: Feature Requests (http://forum.blissflixx.rocks/forumdisplay.php?fid=6)
+--- Thread: Local directory as a channel (/showthread.php?tid=4340)
Local directory as a channel - Lsk - 08-22-2016
First, thank you a lot for this wonderful tool, blissflix is exactly what I searched for a long time and works perfectly, that's a real pleasure to use it
Would there be a way to develop a channel which would display the content of a directory on the raspberry pi and allow to play videos from it ? As omxplayer can read directly a video, I think a " ls " would be sufficient to develop the channel, but I don't know how to develop that in blissflix :/ Maybe a plugin ?
The idea would be to play videos already downloaded / personal videos ; and to add a button "Download" on the torrent videos to be able to download them for later if seeds aren't sufficient to play directly (via rtorrent for example), or using a RSS torrent download like this one:
Again, thank you!
RE: Local directory as a channel - Lsk - 08-22-2016
I advanced a bit on this problem, in fact I developed a very simple channel like that :
I changed a bit lib/api/playr.py adding the following lines to function play():
And then I'm a bit stuck with the whole process thing, very near of the final goal..
I would like to code something like that in player.py:
But the OmxplayerProcess2 doesn't take arguments.. I don't understand how the other processes like peerflix pass him the arguments it needs (url, subtitles). I read the code of the proccess pipe... But I'm clearly lost and could use some help. An option could be to code a omxproc3 based on the omxproc2... But I'm feeling that's not the right solution
RE: Local directory as a channel - MrBliss - 10-07-2016
Sorry for the delay. I have now updated BlissFlixx to support playing local files and have implemented a new plugin along the lines suggested by you (Thanks!!). Full details are here: