Skip to content

Commit

Permalink
Fix originals_only
Browse files Browse the repository at this point in the history
  • Loading branch information
meisnate12 committed Sep 26, 2024
1 parent 15c7357 commit 31b3fc2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 9 deletions.
19 changes: 14 additions & 5 deletions defaults/both/streaming.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ templates:
conditionals:
discover_sort:
conditions:
- library_type: movie
- originals_only: false
library_type: movie
value: primary_release_date.desc
- library_type: show
- originals_only: false
library_type: show
value: first_air_date.desc
originals:
conditions:
Expand All @@ -42,6 +44,14 @@ templates:
conditions:
- originals_only: false
value: <<final_tmdb_key>>
discover_limit:
conditions:
- originals_only: false
value: 0
discover_count:
conditions:
- originals_only: false
value: 100
allowed_streaming:
conditions:
- originals_only: true
Expand Down Expand Up @@ -74,13 +84,12 @@ templates:
mdblist_list: https://mdblist.com/lists/k0meta/<<key>>-<<originals>>
limit: <<limit>>
tmdb_discover:
limit: 0
limit: <<discover_limit>>
with_watch_providers: <<discover_with>>
vote_count.gte: 100
vote_count.gte: <<discover_count>>
watch_region: <<discover_region>>
sort_by: <<discover_sort>>


collections:
Streaming Collections:
template:
Expand Down
14 changes: 10 additions & 4 deletions defaults/overlays/streaming.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,11 @@ templates:
conditionals:
discover_sort:
conditions:
- library_type: movie
- originals_only: false
library_type: movie
value: primary_release_date.desc
- library_type: show
- originals_only: false
library_type: show
value: first_air_date.desc
originals:
conditions:
Expand All @@ -77,7 +79,11 @@ templates:
discover_limit:
conditions:
- originals_only: false
value: <<limit>>
value: 0
discover_count:
conditions:
- originals_only: false
value: 100
discover_with:
conditions:
- originals_only: false
Expand Down Expand Up @@ -110,7 +116,7 @@ templates:
tmdb_discover:
limit: <<discover_limit>>
with_watch_providers: <<discover_with>>
vote_count.gte: 100
vote_count.gte: <<discover_count>>
watch_region: <<discover_region>>
sort_by: <<discover_sort>>

Expand Down

0 comments on commit 31b3fc2

Please sign in to comment.