-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add basic readme and remove cache refresh flag
- Loading branch information
Showing
4 changed files
with
89 additions
and
5 deletions.
There are no files selected for viewing
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,90 @@ | ||
# mediarr | ||
|
||
Tool to add media to different PVR's in the *arr family. | ||
|
||
## Example Configuration | ||
|
||
```yaml | ||
pvr: | ||
sonarr: | ||
type: sonarr | ||
url: https://sonarr.domain.com | ||
api_key: your-api-key | ||
quality_profile: WEBDL-1080p | ||
root_folder: /mnt/unionfs/Media/TV | ||
filters: | ||
ignores: | ||
# tvmaze | ||
- 'Provider == "tvmaze" && "English" not in Languages' | ||
- 'Provider == "tvmaze" && "Scripted" not in Genres' | ||
|
||
# trakt | ||
- 'Provider == "trakt" && "en" not in Languages' | ||
- 'Provider == "trakt" && Runtime < 15' | ||
- 'Provider == "trakt" && Network == ""' | ||
- 'Provider == "trakt" && not (any(Country, {# in ["us", "gb", "au", "ca"]}))' | ||
|
||
# generic | ||
- 'Year < (Now().Year() - 5)' | ||
- 'Year > Now().Year()' | ||
- 'Title contains "WWE"' | ||
- 'Title contains "Wrestling"' | ||
- '"animation" in Genres || "talk-show" in Genres' | ||
- 'len(Genres) == 0' | ||
- 'Network in ["Twitch", "Xbox Video", "YouTube"]' | ||
- 'Summary contains "transgend" || Summary contains "LGBT" || Summary contains "gay"' | ||
- 'Title matches "(?i)ru ?paul.+drag.+"' | ||
radarr: | ||
type: radarr | ||
url: https://radarr.domain.com | ||
api_key: your-api-key | ||
quality_profile: Remux | ||
root_folder: /mnt/unionfs/Media/Movies | ||
filters: | ||
ignores: | ||
# trakt | ||
- 'Provider == "trakt" && Runtime < 60' | ||
- 'Provider == "trakt" && ("music" in Genres || "documentary" in Genres)' | ||
- 'Provider == "trakt" && "en" not in Languages' | ||
|
||
# tmdb | ||
- 'Provider == "tmdb" && "en" not in Languages' | ||
|
||
# generic | ||
- 'Year < (Now().Year() - 5)' | ||
- 'Year > Now().Year()' | ||
- 'len(Genres) == 0' | ||
- 'Title startsWith "Untitled"' | ||
- 'Title contains "WWE" || Title contains "NXT"' | ||
- 'Title contains "Live:" || Title contains "Concert"' | ||
- 'Title contains "Musical"' | ||
- 'Title contains " Edition)"' | ||
- 'Summary contains "transgend" || Summary contains "LGBT" || Summary contains "gay"' | ||
- 'Title matches "^UFC.?\\d.+\\:"' | ||
provider: | ||
tmdb: | ||
api_key: your-tmdb-api-key | ||
trakt: | ||
client_id: your-trakt-app-client-id | ||
``` | ||
## Example Commands | ||
1. Movies | ||
`mediarr movies radarr trakt -t person --language en --query nicolas-cage --limit 5` | ||
|
||
`mediarr movies radarr trakt -t anticipated --language en --country en,us,gb,ca,au --limit 5` | ||
|
||
`mediarr movies radarr trakt -t popular --language en --country en,us,gb,ca,au --genre science-fiction --limit 10` | ||
|
||
2. TV | ||
|
||
`mediarr shows sonarr trakt -t popular --language en --country en,us,gb,ca,au --genre science-fiction --year 2019-2020 --limit 1` | ||
|
||
`mediarr shows sonarr trakt -t anticipated --language en --country en,us,gb,ca,au` | ||
|
||
|
||
## Additional Details | ||
|
||
All commands support the `--dry-run` flag to mimic the entire run process with the exception of actually adding media to the PVR. |
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
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
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