diff --git a/README.md b/README.md index 6d60633..47c9fde 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ CineSync works by creating symbolic links from the source directory to the desti - **Real-Time Monitoring for Files:** Monitor the watch directory for any new files and automatically create symbolic links for them, ensuring your library stays updated in real-time. - **Support for Single Symlinks Creation:** CineSync now supports creating symbolic links for single files or folders, providing flexibility in managing your library. - **Ability to Skip Already Present Symlinks:** CineSync includes the ability to skip the creation of symbolic links for files or folders that are already present, even if the folder name is different. This feature ensures efficient management of your library by preventing duplicate symlinks. +- **Rename Files:** Properly rename your files based on TMDB data . - **Cross-Platform Support:** Works on both Linux and Windows operating systems. ## Real-Time Monitoring @@ -47,6 +48,19 @@ By leveraging real-time monitoring in CineSync, users can effortlessly manage th - NSSM for Windows (if you want to enable real-time monitoring). - [Zurg](https://github.com/debridmediamanager/zurg-testing) (optional) +## Configuration Variables + +Make sure to edit the .env value before running the script. Below are the configurable variables used in the script, along with their descriptions and default values: + +| Variable | Description | Default Value | +|-----------------------|-------------------------------------------------------------------------------------------------------------------------------|---------------------------| +| `SOURCE_DIR` | The directory paths where the source files are located. Multiple directories can be specified, separated by commas. | `/path/to/files` | +| `DESTINATION_DIR` | The path to the destination directory where the symlinks or files will be placed. | `/path/to/destination` | +| `LOG_LEVEL` | Defines the level of logging. Available options: `DEBUG`, `INFO`, `WARNING`. | `INFO` | +| `OVERRIDE_STRUCTURE` | Determines whether to maintain the same directory structure in the destination as in the source (`false`). Setting this to `true` will flatten the structure, not using the same structure as the source directory. | `false` | +| `RENAME_ENABLED` | Enable or disable file renaming functionality from TMDB. | `false` | +| `BEARER_TOKEN` | Your API read access token for TMDB. | `your-api-read-access-token` | + ### For Linux: Here's an enhanced version of the instructions: @@ -61,9 +75,9 @@ Here's an enhanced version of the instructions: pip install -r requirements.txt ``` -3. **Update Paths in `library.sh`:** Open the `library.sh` file located inside the `Scripts` folder. Update the following paths: - - `source_dir`: Specify the path for the Zurg-mounted shows directory. - - `destination_dir`: Set the ultimate destination directory where you want to save the symbolic links. +3. **Update Paths in `.env`:** Open the `.env` file located inside the `CineSync` folder. Update the following paths: + - `SOURCE_DIR`: Specify the path for the Source directory. + - `DESTINATION_DIR`: Set the ultimate destination directory where you want to save the symbolic links. Note: Ensure that the paths are correctly updated to reflect your system's configuration. @@ -120,9 +134,9 @@ By following these steps and updating the necessary paths, you'll be able to suc git clone https://github.com/sureshfizzy/CineSync.git ``` -6. **Update Paths in `library.sh`:** Open the `library.sh` file located inside the `Scripts` folder. Update the following paths: - - `source_dir`: Specify the path for the Zurg-mounted shows directory. - - `destination_dir`: Set the ultimate destination directory where you want to save the symbolic links. +6. **Update Paths in `.env`:** Open the `.env` file located inside the `CineSync` folder. Update the following paths: + - `SOURCE_DIR`: Specify the path for the Source directory. + - `DESTINATION_DIR`: Set the ultimate destination directory where you want to save the symbolic links. Note: Ensure that the paths are correctly updated to reflect your system's configuration. @@ -182,7 +196,9 @@ CineSync provides a user-friendly interface for managing your debrid library. Up ![Main Menu](Screenshots/main_menu.png) -- **1) Full Library Scan:** Perform a comprehensive scan of your entire library. +- **1) Edit .env file:** Update Basic Configurations in this file. + +- **2) Full Library Scan:** Perform a comprehensive scan of your entire library.