peerflix-web
peerflix-web copied to clipboard
Matching subtitles auto download
Hey,
This is my attempt at getting subtitles automatically when playing videos. It uses subliminal under the hood so it is required on the machine (sudo pip install subliminal
).
Start the server with a 'subtitles' option and optional 'subliminal_args' to see if it works. Since we can now pass options to the server command, I added the "port" and "verbose" options.
I didn't bother making any UI since I want to use subtitles all the time, it was more straightforward to just have a cli option. But this can definitely be a starting point for you if you want to make some UI :)
:warning: I actually can't figure out why but my attempts at making peerflix-web work on my own raspberry pi all failed (even on the master branch). When trying to play a torrent, the raspberry stays at 100% cpu for a couple of minutes before going back to normal but does nothing at all. The peerflix
command on its own works great though.
So anyway, be sure to test this yourself since I couldn't :P