Easily stream torrents to a Raspberry Pi via your smart phone, tablet or pc. Peerflix web provides an interface to stream torrents using peerflix and control playback via omxplayer. For convenience, you can also search torrents directly using peerflix web.
This project is an updated version of torrentcast, with a web interface to control playback.
NOTE: This has only been tested on Raspbian running on a Raspberry Pi 2.
##Setup
npm Installation
$ npm install -g peerflix-web
$ peerflix-web
or
Manual Installation
$ git clone [email protected]:akinsey/peerflix-web.git
$ cd peerflix-web
$ npm install
$ node server
Running on startup
This project can be setup to run from /etc/init.d so it will automatically start up with your Raspberry Pi. Edit the custom configs at the top of the example.peerflix-web
file and rename and move the script to /etc/init.d/peerflix-web
. Once in the init.d directory, you can control the server using the following commands:
$ /etc/init.d/peerflix-web start # add --force to force start
$ /etc/init.d/peerflix-web stop # add --force to force stop
$ /etc/init.d/peerflix-web status # view current status of running app
##Contributions Currently this project is designed specifically to work with omxplayer running on raspbian, but it can easily be adapted to work with vlc player. I might add support for this in the future, in the meantime I'm open to pull requests for missing features that others think might be useful.
##Requirements
node
npm
omxplayer
- default media player for raspbian
##License MIT