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.
Release files for mts 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mts-0.3.tar.gz | 1.2 MB | Details |
Release files / mts-0.3.tar.gz
| Download URL | mts-0.3.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1158af6dbe3d69f96a0bde459c2c3d0c4956a2c305dea7a995274dc92c5f663
|
|
BLAKE2b-256 checksum How to use checksums |
745a5c021ef6fea93bc48f729880fea22a039479bfb1f657de3663c4f6509632
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |