From 8fe3cd635f324f5e355eab29314b1960bb057462 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Tue, 8 Feb 2022 08:43:31 -0500 Subject: [PATCH] small fixes --- VERSION | 2 +- modules/config.py | 3 ++- plex_meta_manager.py | 6 +++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 3da730e2..8e952cb7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.15.1-develop56 +1.15.1-develop57 diff --git a/modules/config.py b/modules/config.py index 2ea081a4..355e0f15 100644 --- a/modules/config.py +++ b/modules/config.py @@ -589,7 +589,8 @@ class ConfigFile: "mass_collection_mode": None, "metadata_backup": None, "genre_collections": None, - "update_blank_track_titles": None + "update_blank_track_titles": None, + "mass_content_rating_update": None } display_name = f"{params['name']} ({params['mapping_name']})" if lib and "library_name" in lib and lib["library_name"] else params["mapping_name"] diff --git a/plex_meta_manager.py b/plex_meta_manager.py index 75cdeae4..c8c1d747 100644 --- a/plex_meta_manager.py +++ b/plex_meta_manager.py @@ -461,9 +461,13 @@ def library_operations(config, library): logger.info(util.adjust_space(f"{item.title[:25]:<25} | Splitting")) if library.update_blank_track_titles: - for item in library.get_all(collection_level="track"): + tracks = library.get_all(collection_level="track") + for i, item in enumerate(tracks, 1): + util.print_return(f"Processing Track: {i}/{len(tracks)} {item.title}") if not item.title and item.sortTitle: library.edit_query(item, {"title.locked": 1, "title.value": item.sortTitle}) + logger.info(f"Track: {item.sortTitle} was updated with sort title") + util.print_end() tmdb_collections = {} if library.items_library_operation: