Skip to main content

Miratuserie.tv on the command line

Project description

Latest PyPI version Number of PyPI downloads

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

mts-0.3.tar.gz (1.2 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page