refresh when changing use_original_title

pull/392/head
meisnate12 3 years ago
parent d2dedccc44
commit 8010febac9

@ -756,7 +756,7 @@ class Plex:
logger.debug(f"Details Update: {edits}") logger.debug(f"Details Update: {edits}")
try: try:
self.edit_query(item, edits, advanced=advanced) self.edit_query(item, edits, advanced=advanced)
if advanced and "languageOverride" in edits: if advanced and ("languageOverride" in edits or "useOriginalTitle" in edits):
self.query(item.refresh) self.query(item.refresh)
logger.info(f"{item_type}: {name}{' Advanced' if advanced else ''} Details Update Successful") logger.info(f"{item_type}: {name}{' Advanced' if advanced else ''} Details Update Successful")
return True return True

Loading…
Cancel
Save