[11] update streaming defaults

This commit is contained in:
meisnate12 2024-05-01 09:00:16 -04:00
parent e9c24af177
commit 0c13d88dde
6 changed files with 119 additions and 130 deletions

View file

@ -6,8 +6,10 @@
Added `overlay_filetype` and `overlay_quality` settings to control the filetype and quality of overlay images. Added `overlay_filetype` and `overlay_quality` settings to control the filetype and quality of overlay images.
# Updates # Updates
Added `starting_only` template variable to the `mal` Collection Default.
# Defaults # Defaults
Added `starting_only` template variable to the `mal` Collection Default.
Changed streaming defaults to use names as their keys vs their TMDb IDs as keys
# Bug Fixes # Bug Fixes
Catch bad ID data from Plex Catch bad ID data from Plex

View file

@ -1 +1 @@
2.0.0-develop10 2.0.0-develop11

View file

@ -14,7 +14,7 @@ templates:
streaming: streaming:
optional: optional:
- use_<<key>> - use_<<key>>
- use_<<originals_key>> - use_<<tmdb_key>>
- allowed_libraries - allowed_libraries
- originals_only - originals_only
conditionals: conditionals:
@ -29,7 +29,7 @@ templates:
discover_with: discover_with:
conditions: conditions:
- originals_only: false - originals_only: false
value: <<key>> value: <<tmdb_key>>
discover_region: discover_region:
conditions: conditions:
- originals_only: false - originals_only: false
@ -37,16 +37,16 @@ templates:
allowed_streaming: allowed_streaming:
conditions: conditions:
- originals_only: true - originals_only: true
key: ["103", "1759", "151", "230", "283", "510", "39", "37", "188"] tmdb_key: ["103", "1759", "151", "230", "283", "510", "39", "37", "188"]
value: False value: False
- region.not: GB - region.not: GB
key: ["103", "151", "39"] tmdb_key: ["103", "151", "39"]
value: False value: False
- region.not: CA - region.not: CA
key: ["230"] tmdb_key: ["230"]
value: False value: False
- region: CA - region: CA
key: ["1899", "37"] tmdb_key: ["1899", "37"]
value: False value: False
default: default:
@ -58,13 +58,13 @@ templates:
sort_by_<<key>>: <<sort_by>> sort_by_<<key>>: <<sort_by>>
run_definition: run_definition:
- <<use_<<key>>>> - <<use_<<key>>>>
- <<use_<<originals_key>>>> - <<use_<<tmdb_key>>>>
- <<allowed_libraries>> - <<allowed_libraries>>
- <<allowed_streaming>> - <<allowed_streaming>>
cache_builders: 1 cache_builders: 1
smart_label: <<sort_by_<<key>>>> smart_label: <<sort_by_<<key>>>>
sync_mode: <<sync_mode_<<key>>>> sync_mode: <<sync_mode_<<key>>>>
mdblist_list: https://mdblist.com/lists/k0meta/<<originals_key>>-<<originals>> mdblist_list: https://mdblist.com/lists/k0meta/<<key>>-<<originals>>
tmdb_discover: tmdb_discover:
limit: <<discover_limit>> limit: <<discover_limit>>
with_watch_providers: <<discover_with>> with_watch_providers: <<discover_with>>
@ -82,24 +82,24 @@ dynamic_collections:
Streaming: Streaming:
type: custom type: custom
data: data:
103: All 4 all4: All 4
350: Apple TV+ appletv: Apple TV+
1759: BET+ bet: BET+
151: BritBox britbox: BritBox
230: Crave crave: Crave
283: Crunchyroll crunchyroll: Crunchyroll
510: discovery+ discovery: discovery+
337: Disney+ disney: Disney+
1899: Max max: Max
223: hayu hayu: hayu
15: Hulu hulu: Hulu
8: Netflix netflix: Netflix
39: NOW now: NOW
531: Paramount+ paramount: Paramount+
387: Peacock peacock: Peacock
9: Prime Video amazon: Prime Video
37: Showtime showtime: Showtime
188: YouTube youtube: YouTube
title_format: <<key_name>> <<library_typeU>>s title_format: <<key_name>> <<library_typeU>>s
template: template:
- streaming - streaming
@ -108,31 +108,31 @@ dynamic_collections:
template_variables: template_variables:
image: image:
default: streaming/<<key_name_encoded>> default: streaming/<<key_name_encoded>>
originals_key: tmdb_key:
103: all4 all4: 103
350: appletv appletv: 350
1759: bet bet: 1759
151: britbox britbox: 151
230: crave crave: 230
283: crunchyroll crunchyroll: 283
510: discovery discovery: 510
337: disney disney: 337
1899: max max: 1899
223: hayu hayu: 223
15: hulu hulu: 15
8: netflix netflix: 8
39: now now: 39
531: paramount paramount: 531
387: peacock peacock: 387
9: amazon amazon: 9
37: showtime showtime: 37
188: youtube youtube: 188
originals_only: originals_only:
default: false default: false
allowed_libraries: allowed_libraries:
223: show hayu: show
510: show discovery: show
283: show crunchyroll: show
translation_key: translation_key:
default: streaming default: streaming
dynamic: dynamic:

View file

@ -55,11 +55,11 @@ templates:
originals_only: false originals_only: false
optional: optional:
- use_<<key>> - use_<<key>>
- use_<<originals_key>> - use_<<tmdb_key>>
- allowed_libraries - allowed_libraries
run_definition: run_definition:
- <<use_<<key>>>> - <<use_<<key>>>>
- <<use_<<originals_key>>>> - <<use_<<tmdb_key>>>>
- <<allowed_libraries>> - <<allowed_libraries>>
- <<allowed_streaming>> - <<allowed_streaming>>
ignore_blank_results: true ignore_blank_results: true
@ -75,7 +75,7 @@ templates:
discover_with: discover_with:
conditions: conditions:
- originals_only: false - originals_only: false
value: <<key>> value: <<tmdb_key>>
discover_region: discover_region:
conditions: conditions:
- originals_only: false - originals_only: false
@ -83,18 +83,18 @@ templates:
allowed_streaming: allowed_streaming:
conditions: conditions:
- originals_only: true - originals_only: true
key: ["103", "1759", "151", "230", "283", "510", "39", "37", "188"] tmdb_key: ["103", "1759", "151", "230", "283", "510", "39", "37", "188"]
value: False value: False
- region.not: GB - region.not: GB
key: ["103", "151", "39"] tmdb_key: ["103", "151", "39"]
value: False value: False
- region.not: CA - region.not: CA
key: ["230"] tmdb_key: ["230"]
value: False value: False
- region: CA - region: CA
key: ["1899", "37"] tmdb_key: ["1899", "37"]
value: False value: False
mdblist_list: https://mdblist.com/lists/k0meta/<<originals_key>>-<<originals>> mdblist_list: https://mdblist.com/lists/k0meta/<<key>>-<<originals>>
tmdb_discover: tmdb_discover:
limit: <<discover_limit>> limit: <<discover_limit>>
with_watch_providers: <<discover_with>> with_watch_providers: <<discover_with>>
@ -103,73 +103,73 @@ templates:
overlays: overlays:
Netflix: Netflix:
variables: {key: "8", originals_key: netflix, weight: 160} variables: {key: netflix, tmdb_key: "8", weight: 160}
template: [name: standard, name: mdb_streaming] template: [name: standard, name: mdb_streaming]
Prime: Prime:
variables: {key: "9", originals_key: amazon, weight: 150} variables: {key: amazon, tmdb_key: "9", weight: 150}
template: [name: standard, name: mdb_streaming] template: [name: standard, name: mdb_streaming]
Disney: Disney:
variables: {key: "337", originals_key: disney, weight: 140} variables: {key: disney, tmdb_key: "337", weight: 140}
template: [name: standard, name: mdb_streaming] template: [name: standard, name: mdb_streaming]
Max: Max:
variables: {key: "1899", originals_key: max, weight: 130} variables: {key: max, tmdb_key: "1899", weight: 130}
template: [name: standard, name: mdb_streaming] template: [name: standard, name: mdb_streaming]
Crunchyroll: Crunchyroll:
variables: {key: "283", originals_key: crunchyroll, weight: 120, allowed_libraries: show} variables: {key: crunchyroll, tmdb_key: "283", weight: 120, allowed_libraries: show}
template: [name: standard, name: mdb_streaming] template: [name: standard, name: mdb_streaming]
YouTube: YouTube:
variables: {key: "188", originals_key: youtube, weight: 110} variables: {key: youtube, tmdb_key: "188", weight: 110}
template: [name: standard, name: mdb_streaming] template: [name: standard, name: mdb_streaming]
Hulu: Hulu:
variables: {key: "15", originals_key: hulu, weight: 100} variables: {key: hulu, tmdb_key: "15", weight: 100}
template: [name: standard, name: mdb_streaming] template: [name: standard, name: mdb_streaming]
Paramount: Paramount:
variables: {key: "531", originals_key: paramount, weight: 90} variables: {key: paramount, tmdb_key: "531", weight: 90}
template: [name: standard, name: mdb_streaming] template: [name: standard, name: mdb_streaming]
AppleTV: AppleTV:
variables: {key: "350", originals_key: appletv, weight: 80} variables: {key: appletv, tmdb_key: "350", weight: 80}
template: [name: standard, name: mdb_streaming] template: [name: standard, name: mdb_streaming]
Peacock: Peacock:
variables: {key: "387", originals_key: peacock, weight: 70} variables: {key: peacock, tmdb_key: "387", weight: 70}
template: [name: standard, name: mdb_streaming] template: [name: standard, name: mdb_streaming]
Showtime: Showtime:
variables: {key: "37", originals_key: showtime, weight: 60} variables: {key: showtime, tmdb_key: "37", weight: 60}
template: [name: standard, name: mdb_streaming] template: [name: standard, name: mdb_streaming]
discovery+: discovery+:
variables: {key: "510", originals_key: discovery, weight: 58, allowed_libraries: show} variables: {key: discovery, tmdb_key: "510", weight: 58, allowed_libraries: show}
template: [name: standard, name: mdb_streaming] template: [name: standard, name: mdb_streaming]
Crave: Crave:
variables: {key: "230", originals_key: crave, weight: 55} variables: {key: crave, tmdb_key: "230", weight: 55}
template: [name: standard, name: mdb_streaming] template: [name: standard, name: mdb_streaming]
NOW: NOW:
variables: {key: "39", originals_key: now, weight: 50} variables: {key: now, tmdb_key: "39", weight: 50}
template: [name: standard, name: mdb_streaming] template: [name: standard, name: mdb_streaming]
All 4: All 4:
variables: {key: "103", originals_key: all4, weight: 40} variables: {key: all4, tmdb_key: "103", weight: 40}
template: [name: standard, name: mdb_streaming] template: [name: standard, name: mdb_streaming]
britbox: britbox:
variables: {key: "151", originals_key: britbox, weight: 30} variables: {key: britbox, tmdb_key: "151", weight: 30}
template: [name: standard, name: mdb_streaming] template: [name: standard, name: mdb_streaming]
BET+: BET+:
variables: {key: "1759", originals_key: bet, weight: 20} variables: {key: bet, tmdb_key: "1759", weight: 20}
template: [name: standard, name: mdb_streaming] template: [name: standard, name: mdb_streaming]
hayu: hayu:
variables: {key: "223", originals_key: hayu, weight: 10, allowed_libraries: show} variables: {key: hayu, tmdb_key: "223", weight: 10, allowed_libraries: show}
template: [name: standard, name: mdb_streaming] template: [name: standard, name: mdb_streaming]

View file

@ -11,33 +11,27 @@ Supported Library Types: Movie, Show
## Collections Section 030 ## Collections Section 030
!!! important | Collection | Key | Description |
|:---------------------------|:--------------|:-------------------------------------------------------------------------------|
As of Kometa release 1.21, the keys associated with this Defaults file has changed. | `Streaming Collections` | `separator` | [Separator Collection](../separators.md) to denote the Section of Collections. |
| `All 4 Movies/Shows` | `all4` | Collection of Movies/Shows Streaming on All 4. |
If you are setting custom images, you will need to use `<<originals_key>>` | `Apple TV+ Movies/Shows` | `appletv` | Collection of Movies/Shows Streaming on Apple TV+. |
| `BET+ Movies/Shows` | `bet` | Collection of Movies/Shows Streaming on BET+. |
| Collection | Key | `originals_key` | Description | | `BritBox Movies/Shows` | `britbox` | Collection of Movies/Shows Streaming on BritBox. |
|:---------------------------|---------------|:-----------------|:-------------------------------------------------------------------------------| | `Crave Movies/Shows` | `crave` | Collection of Movies/Shows Streaming on Crave. |
| `Streaming Collections` | `separator` | `separator` | [Separator Collection](../separators.md) to denote the Section of Collections. | | `Crunchyroll Shows` | `crunchyroll` | Collection of Shows Streaming on Crunchyroll. |
| `All 4 Movies/Shows` | `103` | `all4` | Collection of Movies/Shows Streaming on All 4. | | `discovery+ Shows` | `discovery` | Collection of Shows Streaming on discovery+. |
| `Apple TV+ Movies/Shows` | `350` | `appletv` | Collection of Movies/Shows Streaming on Apple TV+. | | `Disney+ Movies/Shows` | `disney` | Collection of Movies/Shows Streaming on Disney+. |
| `BET+ Movies/Shows` | `1759` | `bet` | Collection of Movies/Shows Streaming on BET+. | | `Max Movies/Shows` | `max` | Collection of Movies/Shows Streaming on Max. |
| `BritBox Movies/Shows` | `151` | `britbox` | Collection of Movies/Shows Streaming on BritBox. | | `Hayu Shows` | `hayu` | Collection of Shows Streaming on Hulu. |
| `Crave Movies/Shows` | `230` | `crave` | Collection of Movies/Shows Streaming on Crave. | | `Hulu Movies/Shows` | `hulu` | Collection of Movies/Shows Streaming on Hulu. |
| `Crunchyroll Shows` | `283` | `crunchyroll` | Collection of Shows Streaming on Crunchyroll. | | `Netflix Movies/Shows` | `netflix` | Collection of Movies/Shows Streaming on Netflix. |
| `discovery+ Shows` | `510` | `discovery` | Collection of Shows Streaming on discovery+. | | `NOW Movies/Shows` | `now` | Collection of Movies/Shows Streaming on NOW. |
| `Disney+ Movies/Shows` | `337` | `disney` | Collection of Movies/Shows Streaming on Disney+. | | `Paramount+ Movies/Shows` | `paramount` | Collection of Movies/Shows Streaming on Paramount+. |
| `Max Movies/Shows` | `1189` | `max` | Collection of Movies/Shows Streaming on Max. | | `Peacock Movies/Shows` | `peacock` | Collection of Movies/Shows Streaming on Peacock. |
| `Hayu Shows` | `223` | `hayu` | Collection of Shows Streaming on Hulu. | | `Prime Video Movies/Shows` | `amazon` | Collection of Movies/Shows Streaming on Prime Video. |
| `Hulu Movies/Shows` | `15` | `hulu` | Collection of Movies/Shows Streaming on Hulu. | | `Showtime Movies/Shows` | `showtime` | Collection of Movies/Shows Streaming on Showtime. |
| `Netflix Movies/Shows` | `8` | `netflix` | Collection of Movies/Shows Streaming on Netflix. | | `YouTube Movies/Shows` | `youtube` | Collection of Movies/Shows Streaming on YouTube. |
| `NOW Movies/Shows` | `39` | `now` | Collection of Movies/Shows Streaming on NOW. |
| `Paramount+ Movies/Shows` | `531` | `paramount` | Collection of Movies/Shows Streaming on Paramount+. |
| `Peacock Movies/Shows` | `387` | `peacock` | Collection of Movies/Shows Streaming on Peacock. |
| `Prime Video Movies/Shows` | `9` | `amazon` | Collection of Movies/Shows Streaming on Prime Video. |
| `Showtime Movies/Shows` | `37` | `showtime` | Collection of Movies/Shows Streaming on Showtime. |
| `YouTube Movies/Shows` | `188` | `youtube` | Collection of Movies/Shows Streaming on YouTube. |
## Regional Variants ## Regional Variants

View file

@ -11,33 +11,26 @@ Supported Overlay Level: Movie, Show
## Supported Streaming Services ## Supported Streaming Services
| Streaming Service | Key | Weight |
!!! important |:------------------|:--------------|:-------|
| Netflix | `netflix` | `160` |
As of Kometa release 1.21, the keys associated with this Defaults file has changed. | Prime Video | `amazon` | `150` |
| Disney+ | `disney` | `140` |
If you are setting custom images, you will need to use `<<originals_key>>` | Max | `max` | `130` |
| Crunchyroll | `Crunchyroll` | `120` |
| Streaming Service | Key | `originals_key` | Weight | | YouTube | `youtube` | `110` |
|:------------------|--------|:----------------|:-------| | Hulu | `hulu` | `100` |
| Netflix | `8` | `netflix` | `160` | | Paramount+ | `paramount` | `90` |
| Prime Video | `9` | `amazon` | `150` | | AppleTV | `appletv` | `80` |
| Disney+ | `337` | `disney` | `140` | | Peacock | `peacock` | `70` |
| Max | `1189` | `max` | `130` | | Showtime | `showtime` | `60` |
| Crunchyroll | `283` | `Crunchyroll` | `120` | | discovery+ | `discovery` | `58` |
| YouTube | `188` | `youtube` | `110` | | Crave | `crave` | `55` |
| Hulu | `15` | `hulu` | `100` | | NOW | `now` | `50` |
| Paramount+ | `531` | `paramount` | `90` | | All 4 | `all4` | `40` |
| AppleTV | `350` | `appletv` | `80` | | britbox | `britbox` | `30` |
| Peacock | `387` | `peacock` | `70` | | BET+ | `bet` | `20` |
| Showtime | `37` | `showtime` | `60` | | hayu | `hayu` | `10` |
| discovery+ | `510` | `discovery` | `58` |
| Crave | `230` | `crave` | `55` |
| NOW | `39` | `now` | `50` |
| All 4 | `103` | `all4` | `40` |
| britbox | `151` | `britbox` | `30` |
| BET+ | `1759` | `bet` | `20` |
| hayu | `223` | `hayu` | `10` |
## Regional Variants ## Regional Variants