Ruby wrapper around mpv with trakt and myanimelist scrobble support.
Add this line to your application's Gemfile:
gem 'rmpv'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rmpv
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
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)