Project

rmpv

0.0
No commit activity in last 3 years
No release in over 3 years
Ruby wrapper for mpv
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 0

Runtime

 Project Readme

rmpv

Ruby wrapper around mpv with trakt and myanimelist scrobble support.

Gem Version

Installation

Add this line to your application's Gemfile:

gem 'rmpv'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rmpv

Usage

First create a .rmpvrc file (which BTW is just a yaml file) in your home directory and add the following content:

trakt:
  username: TRAKT_USERNAME
  password: SHA1_HASH_OF_YOUR_PASSWORD
myanimelist:
  username: MYANIMELIST_USERNAME
  password: MYANIMELIST_PASSWORD

You can use the following command to generate the SHA1 hash of your password:

echo -n trakt_password | sha1sum | awk '{print toupper($1)}'
 Usage: rmpv [options]

 -+, --vol=VOL                    increase volume by VOL
 -l, --top-left                   play in top-left corner of the screen
 -b, --bottom-right               play in bottom-right corner of the screen
 -x, --speed SPEED                increase speed by SPEED
 -s, --size STR                   set size of the player
 -y, --youtube                    youtube mode
 -a, --audio                      audio mode
 -c, --scrobble STR               scrobble 'movie' or 'show' to trakt or 'anime' to myanimelist

Todo

  • Add myanimelist scrobble support

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request