Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

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.

Attention!

At this moment, only episodes having a source in Pinit.tv or uptobox.com could be played.

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
mts-0.3.tar.gz (1.2 MB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page