[55] update awards defaults to use imdb_award and imdb_search

pull/1774/head
meisnate12 12 months ago
parent e81339d996
commit 70e422deb7

@ -1 +1 @@
1.19.1-develop54
1.19.1-develop55

@ -35,13 +35,18 @@ dynamic_collections:
title_format: BAFTA <<key_name>>
template:
- use_year_collections
- trakt
- imdb
- shared
- arr
- custom
template_variables:
trakt_list:
default: https://trakt.tv/users/pjcob/lists/<<key>>-bafta
imdb_award:
default:
event_id: ev0000123
event_year: <<key>>
winning: true
collection_order:
default: release
allowed_libraries:
default: movie
image:

@ -35,13 +35,18 @@ dynamic_collections:
title_format: Cannes <<key_name>>
template:
- use_year_collections
- trakt
- imdb
- shared
- arr
- custom
template_variables:
trakt_list:
default: https://trakt.tv/users/pjcob/lists/<<key>>-cannes
imdb_award:
default:
event_id: ev0000147
event_year: <<key>>
winning: true
collection_order:
default: release
allowed_libraries:
default: movie
image:

@ -21,13 +21,18 @@ dynamic_collections:
title_format: Critics Choice Awards <<key_name>>
template:
- use_year_collections
- trakt
- imdb
- shared
- arr
- custom
template_variables:
trakt_list:
default: https://trakt.tv/users/pjcob/lists/<<key>>-<<url>>-choice
imdb_award:
default:
event_id: ev0000133
event_year: <<key>>
winning: true
collection_order:
default: release
image:
default: award/choice/<<key>>
translation_key:

@ -25,10 +25,13 @@ dynamic_collections:
- arr
- custom
template_variables:
imdb_list:
default: https://www.imdb.com/search/title/?release_date=<<key-1>>-05-31,<<key>>-06-01&groups=emmy_winner&sort=<<imdb_sort>>
imdb_sort:
default: moviemeter,asc
imdb_award:
default:
event_id: ev0000223
event_year: <<key>>
winning: true
collection_order:
default: release
image:
default: award/emmys/winner/<<key>>
translation_key:

@ -59,10 +59,13 @@ dynamic_collections:
- arr
- custom
template_variables:
imdb_list:
default: https://www.imdb.com/search/title/?release_date=<<key-1>>-01-01,<<key-1>>-12-31&groups=golden_globe_winner&sort=<<imdb_sort>>
imdb_sort:
default: moviemeter,asc
imdb_award:
default:
event_id: ev0000292
event_year: <<key>>
winning: true
collection_order:
default: release
image:
default: award/golden/winner/<<key>>
translation_key:

@ -22,7 +22,8 @@ collections:
translation_key: oscars_picture
- name: arr
- name: custom
imdb_list: https://www.imdb.com/search/title/?groups=best_picture_winner
imdb_search:
event.winning: oscar_picture
Oscars Best Director Winners:
variables:
@ -35,7 +36,8 @@ collections:
translation_key: oscars_director
- name: arr
- name: custom
imdb_list: https://www.imdb.com/search/title/?groups=best_director_winner
imdb_search:
event.winning: oscar_director
dynamic_collections:
Oscars Winners Awards:
@ -52,10 +54,13 @@ dynamic_collections:
- arr
- custom
template_variables:
imdb_list:
default: https://www.imdb.com/search/title/?release_date=<<key-1>>-01-01,<<key-1>>-12-31&groups=oscar_winner&sort=<<imdb_sort>>
imdb_sort:
default: moviemeter,asc
imdb_award:
default:
event_id: ev0000003
event_year: <<key>>
winning: true
collection_order:
default: release
allowed_libraries:
default: movie
image:

@ -21,13 +21,18 @@ dynamic_collections:
title_format: Independent Spirit Awards <<key_name>>
template:
- use_year_collections
- trakt
- imdb
- shared
- arr
- custom
template_variables:
trakt_list:
default: https://trakt.tv/users/pjcob/lists/<<key>>-independent-spirits
imdb_award:
default:
event_id: ev0000349
event_year: <<key>>
winning: true
collection_order:
default: release
allowed_libraries:
default: movie
image:

@ -35,13 +35,18 @@ dynamic_collections:
title_format: Sundance Film Festival <<key_name>>
template:
- use_year_collections
- trakt
- imdb
- shared
- arr
- custom
template_variables:
trakt_list:
default: https://trakt.tv/users/pjcob/lists/<<key>>-sundance
imdb_award:
default:
event_id: ev0000631
event_year: <<key>>
winning: true
collection_order:
default: release
allowed_libraries:
default: movie
image:

@ -50,17 +50,20 @@ overlays:
Oscars Best Picture:
variables: {key: oscars, weight: 180}
template: {name: standard, allowed_libraries: movie}
imdb_list: https://www.imdb.com/search/title/?groups=best_picture_winner
imdb_search:
event.winning: oscar_picture
Oscars Best Director:
variables: {key: oscars_director, weight: 170}
template: {name: standard, allowed_libraries: movie}
imdb_list: https://www.imdb.com/search/title/?groups=best_director_winner
imdb_search:
event.winning: oscar_director
Golden Globe Winner:
variables: {key: golden, weight: 160}
template: [name: standard, name: ribbon]
imdb_list: https://www.imdb.com/search/title/?groups=golden_globe_winner
imdb_search:
event.winning: golden
Golden Globe Best Director:
variables: {key: golden_director, weight: 150}
@ -95,7 +98,8 @@ overlays:
Emmys Winner:
variables: {key: emmys, weight: 90}
template: [name: standard, name: ribbon]
imdb_list: https://www.imdb.com/search/title/?groups=emmy_winner
imdb_search:
event.winning: emmy
Critics Choice Winners:
variables: {key: choice, weight: 80}
@ -131,4 +135,5 @@ overlays:
Razzies Winner:
variables: {key: razzie, weight: 10}
template: {name: standard, allowed_libraries: movie}
imdb_list: https://www.imdb.com/search/title/?groups=razzie_winner
imdb_search:
event.winning: razzie

@ -141,7 +141,11 @@ templates:
imdb:
optional:
- imdb_list
- imdb_search
- imdb_award
imdb_list: <<imdb_list>>
imdb_search: <<imdb_search>>
imdb_award: <<imdb_award>>
tmdb_person:
default:

@ -485,8 +485,7 @@ class ConfigFile:
yaml = YAML(self.config_path)
if "settings" not in yaml.data or not yaml.data["settings"]:
yaml.data["settings"] = {}
if "run_order" not in yaml.data["settings"]:
yaml.data["settings"]["run_order"] = new_run_order
yaml.data["settings"]["run_order"] = new_run_order
yaml.save()
self.session = requests.Session()

Loading…
Cancel
Save