Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/l3uddz/movearr
- Owner: l3uddz
- Created: 2020-12-11T21:28:25.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-26T19:54:21.000Z (almost 4 years ago)
- Last Synced: 2024-08-01T12:18:08.653Z (3 months ago)
- Language: Go
- Size: 37.1 KB
- Stars: 36
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
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`