<commit_before>cinephile
=========

Python CLI tool to scan movie directory recursively, normalize the filename and retrieve useful information from imdb.

Features
========

  1)Filename normalization

  2)Yaml config for customization

  3)Filter based on imdb rating

  4)Filter based on imdb rating along with genre

Installation
============

Please read INSTALL

Configuration
=============

After installation the config file .cinephile.yaml can be found under user's home directory.

Usage
=====

cinephile -s movie_dir -r imdb_rating [-g genre]

Example
=======

cinephile -s /media/disk/movies -r 7

cinephile -s /media/disk/movies -r 7 -g action

Output Sample
=============

Title       : Paul<br/>
imdbRating  : 7.1<br/>
Genre       : Adventure, Comedy, Sci-Fi<br/>
Released    : 18 Mar 2011<br/>
Actors      : <NAME>, <NAME>, <NAME>, <NAME><br/>
Director    : <NAME><br/>
Runtime     : 104 min<br/>
Rated       : R<br/>
Plot        : Two British comic-book geeks traveling across the U.S. encounter an alien outside Area 51.

Title       : Groundhog Day<br/>
imdbRating  : 8.1<br/>
Genre       : Comedy, Drama, Fantasy<br/>
Released    : 12 Feb 1993<br/>
Actors      : <NAME>, <NAME>, <NAME>, <NAME><br/>
Director    : <NAME><br/>
Runtime     : 101 min<br/>
Rated       : PG<br/>
Plot        : A weatherman finds himself living the same day over and over again.<br/>
<commit_msg>modified feature list<commit_after>cinephile
=========

Python CLI tool to scan movie directory recursively, normalize the filename and retrieve useful information from imdb.

Features
========

  1)Filename normalization

  2)Yaml config for customization

  3)Filter based on imdb rating alone or along with genre

  4)Ignore duplicate movie names

Installation
============

Please read INSTALL

Configuration
=============

After installation the config file .cinephile.yaml can be found under user's home directory.

Usage
=====

cinephile -s movie_dir -r imdb_rating [-g genre]

Example
=======

cinephile -s /media/disk/movies -r 7

cinephile -s /media/disk/movies -r 7 -g action

Output Sample
=============

Title       : Paul<br/>
imdbRating  : 7.1<br/>
Genre       : Adventure, Comedy, Sci-Fi<br/>
Released    : 18 Mar 2011<br/>
Actors      : <NAME>, <NAME>, <NAME>, <NAME><br/>
Director    : <NAME><br/>
Runtime     : 104 min<br/>
Rated       : R<br/>
Plot        : Two British comic-book geeks traveling across the U.S. encounter an alien outside Area 51.

Title       : Groundhog Day<br/>
imdbRating  : 8.1<br/>
Genre       : Comedy, Drama, Fantasy<br/>
Released    : 12 Feb 1993<br/>
Actors      : <NAME>, <NAME>, <NAME>, <NAME><br/>
Director    : <NAME><br/>
Runtime     : 101 min<br/>
Rated       : PG<br/>
Plot        : A weatherman finds himself living the same day over and over again.<br/>

{'fraction_non_alphanumeric': 0.144793152639087, 'fraction_numerical': 0.021398002853067047, 'mean_word_length': 3.1991017964071857, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3121697', 'n_tokens_mistral': 965, 'n_tokens_neox': 854, 'n_words': 315}