Python CLI tool to scan movie directory recursively, normalize the filename and retrieve useful information from imdb. Cinephile can also be used to fetch subtitle file for a particular movie in preferred language. See instructions below on how to use the tool.
- Filename normalization
- Yaml config for customization
- Filter based on imdb rating alone or along with genre
- Ignore duplicate movie names
- Download subtitles for a movie file in preferred language
Please read INSTALL
After installation the config file .cinephile.yaml can be found under user's home directory.
To get IMDB info
cinephile movie -s movie_dir -r imdb_rating [-g genre]
To download subtitles
cinephile subtitle -f movie_file -l language
cinephile movie -s /media/disk/movies -r 7
cinephile movie -s /media/disk/movies -r 7 -g action
cinephile subtitle -f ~/Movies/The\ Croods\ \(2013\)/The.Croods.2013.720p.BluRay.x264.YIFY.mp4 -l en
semk@gerty ~ $ cinephile movie -s ~/Movies -r 8
Title : Grave of the Fireflies
imdbRating : 8.5
Genre : Animation, Drama, War
Released : 16 Apr 1988
Actors : Tsutomu Tatsumi, Ayano Shiraishi, Yoshiko Shinohara, Akemi Yamaguchi
Director : Isao Takahata
Runtime : 89 min
Rated : Unrated
Plot : A tragic film covering a young boy and his little sister's struggle to
survive in Japan during World War II.
File path : /Users/sreejitk/Movies/Grave of the Fireflies (1988) 720p BRRiP x264 \
AAC-AMEET6233 (T.M.R.G)/Grave of the Fireflies (1988) 720p BRRiP x264 AAC-AMEET6233 (T.M.R.G).mp4
Title : Memento
imdbRating : 8.6
Genre : Mystery, Thriller
Released : 11 Oct 2000
Actors : Guy Pearce, Carrie-Anne Moss, Joe Pantoliano, Mark Boone Junior
Director : Christopher Nolan
Runtime : 113 min
Rated : R
Plot : A man, suffering from short-term memory loss, uses notes and tattoos to
hunt for the man he thinks killed his wife.
File path : /Users/sreejitk/Movies/Memento (2000)/Memento.2000.720p.BluRay.x264.YIFY.mp4
Add IMDB fuzzy search (optional) and select functionality. For example,
semk@gerty ~ $ cinephile movie -s ~/Movies/The\ Hunger\ Games\ Catching\ Fire\ \(2013\) -r 4 --fuzzy
1. Title: The Hunger Games (Year:2012)
2. Title: The Hunger Games: Catching Fire (Year:2013)
3. Title: The World Is Watching: Making the Hunger Games (Year:2012)
4. Title: Hunger Games: Katniss & Rue (Year:2010)
5. Title: The Hunger Games: Poseidon's Son (Year:2012)
6. Title: The Hunger Games Johanna Mason Fan Film (Year:2011)
7. Title: The 47th Hunger Games (Year:2012)
8. Title: Hunger Games (Year:2012)
9. Title: The Hunger Games: A Reenactment - Part 1 (Year:2013)
10. Title: Hunger Games: The Second Quarter Quell (Year:2011)
Select the movie (Number) : 2
Title : The Hunger Games: Catching Fire
imdbRating : 8.0
Genre : Action, Adventure, Sci-Fi
Released : 22 Nov 2013
Actors : Jennifer Lawrence, Liam Hemsworth, Jack Quaid, Taylor St. Clair
Director : Francis Lawrence
Runtime : 146 min
Rated : PG-13
Plot : Katniss Everdeen and Peeta Mellark become targets of the Capitol after their victory in the 74th
Hunger Games sparks a rebellion in the Districts of Panem.
File path : /Users/sreejitk/Movies/The Hunger Games Catching Fire(2013)/The.Hunger.Games.Catching.Fire.2013.\
720p.BluRay.x264.YIFY.mp4