Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

peerflixrb

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

peerflixrb

  • 6.1.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 07 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc