mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-26 14:30:25 +00:00
forgot this important section lol
This commit is contained in:
parent
a8ca6ce033
commit
a5e254aee9
2 changed files with 2 additions and 10 deletions
|
@ -1199,15 +1199,7 @@ class CollectionBuilder:
|
||||||
key, options = plex.item_advance_keys[method_name]
|
key, options = plex.item_advance_keys[method_name]
|
||||||
if getattr(item, key) != options[method_data]:
|
if getattr(item, key) != options[method_data]:
|
||||||
advance_edits[key] = options[method_data]
|
advance_edits[key] = options[method_data]
|
||||||
if len(advance_edits) > 0:
|
self.library.edit_item(item, item.title, "Movie" if self.library.is_movie else "Show", advance_edits, advanced=True)
|
||||||
logger.debug(f"Details Update: {advance_edits}")
|
|
||||||
try:
|
|
||||||
item.editAdvanced(**advance_edits)
|
|
||||||
item.reload()
|
|
||||||
logger.info(f"{'Movie' if self.library.is_movie else 'Show'}: {item.title} Advanced Details Update Successful")
|
|
||||||
except BadRequest:
|
|
||||||
util.print_stacktrace()
|
|
||||||
logger.error(f"{'Movie' if self.library.is_movie else 'Show'}: {item.title} Advanced Details Update Failed")
|
|
||||||
|
|
||||||
if len(edits) > 0:
|
if len(edits) > 0:
|
||||||
logger.debug(edits)
|
logger.debug(edits)
|
||||||
|
|
|
@ -89,7 +89,7 @@ util.centered("| |_) | |/ _ \\ \\/ / | |\\/| |/ _ \\ __/ _` | | |\\/| |/ _` | '_
|
||||||
util.centered("| __/| | __/> < | | | | __/ || (_| | | | | | (_| | | | | (_| | (_| | __/ | ")
|
util.centered("| __/| | __/> < | | | | __/ || (_| | | | | | (_| | | | | (_| | (_| | __/ | ")
|
||||||
util.centered("|_| |_|\\___/_/\\_\\ |_| |_|\\___|\\__\\__,_| |_| |_|\\__,_|_| |_|\\__,_|\\__, |\\___|_| ")
|
util.centered("|_| |_|\\___/_/\\_\\ |_| |_|\\___|\\__\\__,_| |_| |_|\\__,_|_| |_|\\__,_|\\__, |\\___|_| ")
|
||||||
util.centered(" |___/ ")
|
util.centered(" |___/ ")
|
||||||
util.centered(" Version: 1.7.2-Beta6 ")
|
util.centered(" Version: 1.7.2-Beta7 ")
|
||||||
util.separator()
|
util.separator()
|
||||||
|
|
||||||
if my_tests:
|
if my_tests:
|
||||||
|
|
Loading…
Reference in a new issue