Project

peerflixrb

0.0
No commit activity in last 3 years
No release in over 3 years
With peerflixrb you can search for movies and TV shows and stream them directly on your favorite video player! You can choose the torrent and the subtitles file or you can let it choose the best for you.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
>= 0
~> 12.0
~> 3.0

Runtime

 Project Readme

Gem Version Build Status

Peerflixrb

Wrapper for webtorrent-cli with automatic search through Popcorn Time, YifySubtitles and Addic7ed.

Installation

Install the gem:

$ gem install peerflixrb

Usage

Pass a string with what you want to watch and it will search Extratorrent with your query and present you with the first 5 results for you to choose. The file selected will then be sent to webtorrent. For TV Shows use the format S01E01.

$ peerflixrb Suits s05e12
$ peerflixrb The Godfather II

If you prefer to autoplay the first matched result, use the -y flag:

$ peerflixrb -y Archer s07e02

You can play the video with subtitles with the -s option (Default: English). It will try and find the best match in YifySubtitles if it's a movie, and in Addic7ed if it's a TV Show.

$ peerflixrb -s Birdman
$ peerflixrb -s The Wire s04e05

You can choose from a list which subtitle file to use with TV Shows with the option -S.

Choose the language with -l LANGUAGE (Available Languages). Currently only for TV Shows (Choosing movie subtitles language will come soon!)

$ peerflixrb -sl es-es Breaking Bad s05e03

If you prefer to use your own subtitles file, you can do that with the -t SUBTITLE_FILE option.

$ peerflixrb Better Call Saul s02e04 -t subtitle_file.srt

You can autoplay in your favourite player with the corresponding option (Default: mpv).

$ peerflixrb --mpv The Big Bang Theory s09e16

It works with DLNA too with the -u option (subtitles too!).

If you prefer to let it download without autoplaying use the option -n or --no-player.

Cache

Webtorrent takes care of cache so you can resume your downloads or watch them again. peerflixrb will tell you where they are located so you can do as you like or leave them there till your OS takes care of it (it's stored in /tmp). When downloading with -n the output folder is the same peerflixrb was run.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/iovis/peerflixrb.

License

The gem is available as open source under the terms of the MIT License.