[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>> title_format: BAFTA <<key_name>>
template: template:
- use_year_collections - use_year_collections
- trakt - imdb
- shared - shared
- arr - arr
- custom - custom
template_variables: template_variables:
trakt_list: imdb_award:
default: https://trakt.tv/users/pjcob/lists/<<key>>-bafta default:
event_id: ev0000123
event_year: <<key>>
winning: true
collection_order:
default: release
allowed_libraries: allowed_libraries:
default: movie default: movie
image: image:

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

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

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

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

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

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

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

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

@ -485,7 +485,6 @@ class ConfigFile:
yaml = YAML(self.config_path) yaml = YAML(self.config_path)
if "settings" not in yaml.data or not yaml.data["settings"]: if "settings" not in yaml.data or not yaml.data["settings"]:
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() yaml.save()

Loading…
Cancel
Save