-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
37 additions
and
18 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,38 @@ | ||
# plexarr | ||
|
||
Simple CLI tool to fix Plex library matches according to Sonarr/Radarr | ||
|
||
## Sample Configuration | ||
|
||
```yml | ||
plex: | ||
url: https://plex.domain.com | ||
token: your-plex-token | ||
database: /opt/plex/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db | ||
|
||
pvr: | ||
radarr: | ||
- name: radarr | ||
url: https://radarr.domain.com | ||
api_key: your-radarr-token | ||
rewrite: | ||
from: /mnt/unionfs/Media/* | ||
to: /data/$1 | ||
|
||
sonarr: | ||
- name: sonarr | ||
url: https://sonarr.domain.com | ||
api_key: your-sonarr-token | ||
rewrite: | ||
from: /mnt/unionfs/Media/* | ||
to: /data/$1 | ||
``` | ||
## Sample Commands | ||
`plexarr --pvr sonarr --library TV` | ||
|
||
`plexarr --pvr radarr --library Movies` | ||
|
||
`plexarr --pvr radarr --library Movies-Action --library Movies-Comedy` | ||
|