This Python script allows you to manage your movie directory by extracting movie names from MKV files, retrieving their scores from an online database, marking them based on certain criteria, and even removing unwanted movies.
- Find MKV Files: The script scans a specified directory and identifies all MKV files.
- Retrieve Scores: It fetches the Tomatometer scores (audience and critics) for each movie from an online database.
- Mark Movies: Based on predefined criteria, it marks each movie in a CSV file for removal or retention.
- Remove Movies: It deletes movies from the specified directory based on their mark.
- Python 3.x
requests
library (install usingpip install requests
)
-
Clone the Repository:
git clone https://github.com/your-username/your-repository.git
-
Navigate to the Directory:
cd your-repository
-
Open the Notebook:
- Launch Jupyter Notebook.
- Navigate to the directory where the notebook is located.
- Open
Movies.ipynb
.
-
Follow the Instructions:
- Execute each cell in the notebook.
- Provide the path to your desired directory containing MKV files.
- Sit back and let the notebook do its magic!
- Ensure you have an internet connection for fetching movie scores.
- Double-check before removing movies, as this action is irreversible.
Enjoy managing your movie collection effortlessly with Movie Directory Manager! 🍿