mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2025-02-16 22:08:25 +00:00
#558 fix dictionary_variables error
This commit is contained in:
parent
042a6c92d0
commit
e4e92b009a
1 changed files with 2 additions and 2 deletions
|
@ -627,7 +627,7 @@ def library_operations(config, library):
|
|||
for _i, _n in tmdb_collections.items():
|
||||
if int(_i) not in library.tmdb_collections["exclude_ids"]:
|
||||
template = {"name": "TMDb Collection", "collection_id": _i}
|
||||
for k, v in library.tmdb_collections["dictionary_variables"]:
|
||||
for k, v in library.tmdb_collections["dictionary_variables"].items():
|
||||
if int(_i) in v:
|
||||
template[k] = v[int(_i)]
|
||||
for suffix in library.tmdb_collections["remove_suffix"]:
|
||||
|
@ -640,7 +640,7 @@ def library_operations(config, library):
|
|||
for genre in library.get_genres():
|
||||
if genre not in library.genre_collections["exclude_genres"]:
|
||||
template = {"name": "Genre Collection", "genre": genre}
|
||||
for k, v in library.genre_collections["dictionary_variables"]:
|
||||
for k, v in library.genre_collections["dictionary_variables"].items():
|
||||
if genre in v:
|
||||
template[k] = v[genre]
|
||||
title = library.genre_collections["title_format"]
|
||||
|
|
Loading…
Add table
Reference in a new issue