Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/l3uddz/movearr

Simple CLI tool to perform various Radarr/Sonarr move functions.
https://github.com/l3uddz/movearr

Last synced: 10 days ago
JSON representation

Simple CLI tool to perform various Radarr/Sonarr move functions.

Awesome Lists containing this project

README

        

# movearr

Simple CLI tool to perform Sonnar/Radarr moves based on specific criteria.

## Sample Configuration

```yml
radarr:
database: /opt/radarr/app/radarr.db # PVR Database Path
url: https://radarr.domain.com # PVR API URL
api_key: token # PVR API Key
root_folder: /mnt/unionfs/Media/Movies # Root folder items should be "moved" too
metadata_separator: ':' # Seperator in folder names between agent and id, e.g. tvdb:12345 tmdb:12345
sonarr:
database: /opt/sonarr/app/sonarr.db
url: https://sonarr.domain.com
api_key: token
root_folder: /mnt/unionfs/Media/TV
metadata_separator: ':'
```

## Assumptions

### Movies

Movie folders contain years within ( ), e.g. `(2020)`

Movie folders contain an IMDb **AND** TMDb ID (must have `imdb:` **AND** `tmdb:`).

Example: `/mnt/unionfs/Media/Movies/The Midnight Sky (2020) - [imdb:tt10539608] [tmdb:614911]`

### Series

Series folders contain years within ( ), e.g. `(2020)`

Series folders contain a TVDb ID (must have `tvdb:`).

Example: `/mnt/unionfs/Media/TV/24 (2001) - [tvdb:76290]`

## Commands

- `fix-ids` - Move series or movies where the folder contains old metadata id(s).

- `fix-years` - Move series or movies where the folder does not contain the correct year.

- `missing-ids` - Move series or movies where the folder does not have a metadata id(s).

All commands above support the `--dry-run` flag where ultimately no move request will be sent.

If no `--limit 5` is specified, ALL will be sent which is likely not want you want (if there is a large amount to move).

## Sample Commands

`movearr fix-years --pvr sonarr --limit 5`

`movearr fix-ids --pvr radarr --limit 5`

`movearr missing-ids --pvr radarr --limit 5`