# Profilarr Profilarr is a Python-based tool designed to add import/export/sync functionality to the \*arr suite. It offers a user-friendly way to export existing custom formats / profiles, import new ones or sync a master instance of Radarr / Sonarr with extras. ## Discord Come join us at https://discord.gg/ZxywYBGRB9 if you need any help or want to talk! ## ⚠️ Before Continuing - **This tool will overwrite any custom formats in your \*arr installation that have the same name.** - **Always back up your Radarr and Sonarr configurations before using Profilarr to avoid unintended data loss.** (Seriously, do it. Even I've lost data to this tool because I forgot to back up my configs.) ## 🛠️ Installation ### Prerequisites - Python 3.x installed. You can download it from [python.org](https://www.python.org/downloads/). - Radarr / Sonarr ### Initial Setup 1. Download the latest Profilarr package from the release section. 2. Extract its contents into a folder. 3. run `pip install -r requirements.txt` to install dependencies. 4. Run `python setup.py` in your command line interface to generate a config file. - This will create a `config.yml` file in the same directory as `setup.py`. 5. Open the `config.yml` file in a text editor. - Add the URL and API key to the master instances of Radarr / Sonarr. - If syncing, add the URL, API key, and a name to each extra instance of Radarr / Sonarr. - If exporting, adjust the `export_path` to your desired export location. - If importing non-Dictionary files, adjust the `import_path` to your desired import location. 6. Configure ANSI Color Support (Optional): - The Profilarr scripts use ANSI colors in terminal output for better readability. By default, this feature is enabled (`ansi_colors: true`). - **If your terminal does not properly display ANSI colors** (e.g., you see codes like `←[94m` instead of colored text), you may want to disable this feature to improve readability. - To disable ANSI colors, find the `settings` section in your `config.yml` file and change `ansi_colors` to `false`. ```yaml settings: export_path: "./exports" import_path: "./imports" ansi_colors: false # Disable ANSI colors if your terminal doesn't support them ``` 7. Save the changes to your `config.yml` file after making the necessary adjustments. ## 🚀 Usage - If using Windows, use `python