命令行上的miratuserie.tv
mts的Python项目详细描述
miratuserie.tv是一个播放带有西班牙语字幕的电视节目的网站。mts也这么做,不过是以一种极客(yonkie)的方式。
注意!
目前,只有在pinit.tv或uptobox.com上有来源的剧集才能播放。
安装
$ pip install mts
用法
这将展示整个3季度我是如何认识你母亲的:
$ mts 'how i met' s03e01
完整的内联帮助如下:
(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)
配置
目前还没有,但你可以选择你喜欢的球员 在~/.mts/config.ini中。
默认情况下,mts尝试在全屏中使用mplayer, 使用此配置文件:
[main] player = mplayer -fs {episode} [-sub {subs}]
只有当命令行中不存在-ns(无字幕)标志时,才使用[]之间的子字符串
例如,如果您想使用vlc,这样的方法应该可以:
[main] player = vlc -f {episode} [:sub-file={subs}]
你有主意了。
- 自由软件:BSD许可证
历史记录
0.3(2014-02-02)
- 添加了UptoBox处理程序
- 固定#1
0.2(2014-01-29)
- 添加了--no-subtitle标志(更新配置文件!)
0.1.2(2014-01-27)
- pypi上的第一个版本。