Miratuserie.tv on the command line
Project description
miratuserie.tv is a site to stream tv shows with spanish subtitles. mts do the same, but in a geek (yonkie) way.
Install
$ pip install mts
Usage
This will show the whole 3º season of How I met your mother:
$ mts 'how i met' s03e01
The complete inline help looks like this:
(mts)tin@morochita:~$ mts -h mts -- miratuserie.tv in your command line Usage: mts [-i] [-ns] [-d] <show> <start> mts -i Arguments: title Looks for a show. Like 'how i met' or 'big bang' start Specifies a season/episode of a show to start play. Examples: S01 (a whole season), s02e04 or 9x13 optional arguments: -i, --info Show info about available shows and episodes -h, --help Show this help message and exit -ns, --no_subtitle Don't download subtitles (TO DO) -d, --download Download the episode instead play it (TO DO)
Configuration
Not so much by the moment, but you can set your prefered player in ~/.mts/config.ini.
By default, mts tries to use mplayer in full-screen, with this config file:
[main] player = mplayer -fs {episode} [-sub {subs}]
The substring between [] is used only if the -ns (no subtitles) flag isn’t present in the command line
For example, if you want to use vlc, something like this should work:
[main] player = vlc -f {episode} [:sub-file={subs}]
you got the idea.
Free software: BSD license
History
0.3 (2014-02-02)
Added uptobox handler
Fixed #1
0.2 (2014-01-29)
Added --no-subtitle flag (update your config file!)
0.1.2 (2014-01-27)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file mts-0.3.tar.gz
.
File metadata
- Download URL: mts-0.3.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1158af6dbe3d69f96a0bde459c2c3d0c4956a2c305dea7a995274dc92c5f663 |
|
MD5 | 7a7d40748bb301406d00c879107ab70c |
|
BLAKE2b-256 | 745a5c021ef6fea93bc48f729880fea22a039479bfb1f657de3663c4f6509632 |