moviemon:Python应用程序能在命令行中显示你电影的所有信息

网友投稿 522 2022-10-30

moviemon:Python应用程序能在命令行中显示你电影的所有信息

moviemon:Python应用程序能在命令行中显示你电影的所有信息

moviemon

A Python Application that displays all the information about all your movies in the command line.

Live Demo

Installation

Using pip

$ pip install moviemon

You can also use pipsi to install -

$ pipsi install moviemon

Get the latest build from the Source

Clone the repo git clone https://github.com/iCHAIT/moviemonRun python setup.py install

Dependencies

guessitterminaltablesdocopttqdmcolorama

Usage:

moviemon.py PATH moviemon [-i | -t | -g | -a | -c | -d | -y | -r | -I | -T ] moviemon -h | --help moviemon --version

Options:

-h, --help Show this screen. --version Show version. PATH Path to movies dir. to index/reindex all movies. -i, --imdb Sort acc. to IMDB rating.(dec) -t, --tomato Sort acc. to Tomato Rotten rating.(dec) -g, --genre Show movie name with its genre. -a, --awards Show movie name with awards received. -c, --cast Show movie name with its cast. -d, --director Show movie name with its director(s). -y, --year Show movie name with its release date. -r, --runtime Show movie name with its runtime. -I, --imdb-rev Sort acc. to IMDB rating.(inc) -T, --tomato-rev Sort acc. to Tomato Rotten rating.(inc)

Examples -

Display basic info about all your movies.

$ moviemon

Display all movies sorted according to their IMDB ratings.

$ moviemon -i

Display all movies sorted according to their Tomato Rotten ratings.

$ moviemon -t

Display all movies with their Genres.

$ moviemon -g

Display all movies with the awards they have received.

$ moviemon -a

Display all movies with their cast.

$ moviemon -c

Display all movies with their director(s).

$ moviemon -d

Display all movies with their release date.

$ moviemon -y

Display all movies with their runtime.

$ moviemon -r

Display all movies sorted according to their IMDB ratings.(inc)

$ moviemon -I

Display all movies sorted according to their Tomato Rotten ratings.(inc)

$ moviemon -T

Stretch Goals

Use MongoDB to store data instead of storing json data in file.Run a cron job to detect if the directory containing movies has been modified, if it has been modified then reindex the directory for accommodating new or deleted movies.As mentioned by @dufferzafar this can seriously become a movie database 'tagger' like Picard.

Shout-out

Big thanks to @dufferzafar for his awesome work.

Contribute

Found a bug or want to suggest a new feature? Report it by opening an issue. Feel free to send a pull request for any improvements or feature requests ;)

License

MIT © Chaitanya Gupta

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:MyBatis从入门到精通—源码剖析之延迟加载源码细节
下一篇:工作流引擎在vivo营销自动化中的应用实践 | 引擎篇03
相关文章

 发表评论

暂时没有评论,来抢沙发吧~