{"id":13549104,"url":"https://github.com/l3uddz/movearr","last_synced_at":"2025-04-14T14:14:37.448Z","repository":{"id":48193661,"uuid":"320687813","full_name":"l3uddz/movearr","owner":"l3uddz","description":"Simple CLI tool to perform various Radarr/Sonarr move functions.","archived":false,"fork":false,"pushed_at":"2020-12-26T19:54:21.000Z","size":38,"stargazers_count":39,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T14:14:30.577Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/l3uddz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"l3uddz"}},"created_at":"2020-12-11T21:28:25.000Z","updated_at":"2025-02-21T23:24:14.000Z","dependencies_parsed_at":"2022-09-26T19:43:10.017Z","dependency_job_id":null,"html_url":"https://github.com/l3uddz/movearr","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l3uddz%2Fmovearr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l3uddz%2Fmovearr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l3uddz%2Fmovearr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l3uddz%2Fmovearr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/l3uddz","download_url":"https://codeload.github.com/l3uddz/movearr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248894943,"owners_count":21179153,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T12:01:18.280Z","updated_at":"2025-04-14T14:14:37.401Z","avatar_url":"https://github.com/l3uddz.png","language":"Go","funding_links":["https://github.com/sponsors/l3uddz"],"categories":["Go"],"sub_categories":[],"readme":"# movearr\r\n\r\nSimple CLI tool to perform Sonnar/Radarr moves based on specific criteria.\r\n\r\n## Sample Configuration\r\n\r\n```yml\r\nradarr:\r\n  database: /opt/radarr/app/radarr.db       # PVR Database Path\r\n  url: https://radarr.domain.com            # PVR API URL\r\n  api_key: token                            # PVR API Key\r\n  root_folder: /mnt/unionfs/Media/Movies    # Root folder items should be \"moved\" too\r\n  metadata_separator: ':'                   # Seperator in folder names between agent and id, e.g. tvdb:12345 tmdb:12345\r\nsonarr:\r\n  database: /opt/sonarr/app/sonarr.db\r\n  url: https://sonarr.domain.com\r\n  api_key: token\r\n  root_folder: /mnt/unionfs/Media/TV\r\n  metadata_separator: ':'\r\n```\r\n\r\n## Assumptions\r\n\r\n### Movies\r\n\r\nMovie folders contain years within ( ), e.g. `(2020)`\r\n\r\nMovie folders contain an IMDb **AND** TMDb ID (must have `imdb:` **AND** `tmdb:`).\r\n\r\nExample: `/mnt/unionfs/Media/Movies/The Midnight Sky (2020) - [imdb:tt10539608] [tmdb:614911]`\r\n\r\n### Series\r\n\r\nSeries folders contain years within ( ), e.g. `(2020)`\r\n\r\nSeries folders contain a TVDb ID (must have `tvdb:`).\r\n\r\nExample: `/mnt/unionfs/Media/TV/24 (2001) - [tvdb:76290]`\r\n\r\n## Commands\r\n\r\n- `fix-ids` - Move series or movies where the folder contains old metadata id(s).\r\n\r\n- `fix-years` - Move series or movies where the folder does not contain the correct year.\r\n\r\n- `missing-ids` - Move series or movies where the folder does not have a metadata id(s).\r\n\r\nAll commands above support the `--dry-run` flag where ultimately no move request will be sent.\r\n\r\nIf no `--limit 5` is specified, ALL will be sent which is likely not want you want (if there is a large amount to move).\r\n\r\n## Sample Commands\r\n\r\n`movearr fix-years --pvr sonarr --limit 5`\r\n\r\n`movearr fix-ids --pvr radarr --limit 5`\r\n\r\n`movearr missing-ids --pvr radarr --limit 5`\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl3uddz%2Fmovearr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fl3uddz%2Fmovearr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl3uddz%2Fmovearr/lists"}