mtt: stream movies from cmdline

mtt

mtt is a fresh utility for the movie buffs. It can can lookup for movies and stream directly from movietv into VLC. RememberĀ Popcorn Time?

mtt is tweaked to override daily restrictions. Flash is not required to play the videos as the streams are fed directly into VLC.

While we are not sure of how legal the utility is, we chose to write about mtt because it demonstrates how powerful a few lines of code can be. mtt is around 70 lines of python 2.7 code at the time of writing. It works well on Windows too.

Installation

To install mtt on any Linux system, run:

$ sudo pip install beautifulsoup4 click requests
$ git clone https://github.com/vesche/mtt

Usage

mttĀ is simple to use – just search the movie name, mtt lists the matches it has found and shows you a prompt to stream the result of your choice.

mtt.py --help
Usage: mtt.py [OPTIONS]

Options:
  --movie TEXT  Name of movie to find.
  --help        Show this message and exit.

Example

mtt.py --movie "Lord of the Rings"
1. The Lord of the Rings: The Two Towers
2. The Lord of the Rings: The Fellowship of the Ring
3. The Lord of the Rings: The Return of the King
4. The Lord of the Rings
Movie #?: 2

On GitHub: mtt

Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s