diff --git a/VERSION b/VERSION index fb8a0260..56735c08 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.18.3-develop43 +1.18.3-develop44 diff --git a/defaults/both/based.yml b/defaults/both/based.yml index 9bf86830..aca23edf 100644 --- a/defaults/both/based.yml +++ b/defaults/both/based.yml @@ -1,8 +1,8 @@ ############################################################################## -# "Based On..." Collections # +# "Based On..." Collections # # Created by Yozora, Bullmoose20, & Sohjiro # # EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL # -# https://metamanager.wiki/en/latest/defaults/both/based.html # +# https://metamanager.wiki/en/latest/defaults/both/based.html # ############################################################################## external_templates: diff --git a/defaults/overlays/status.yml b/defaults/overlays/status.yml index 55fda78e..98a9abac 100644 --- a/defaults/overlays/status.yml +++ b/defaults/overlays/status.yml @@ -52,10 +52,15 @@ templates: conditions: - key: [ended, returning, canceled] value: <> + last_days: + conditions: + - key: airing + last.exists: true + value: <> ignore_blank_results: true plex_search: any: - episode_air_date: <> + episode_air_date: <> plex_all: <> filters: tmdb_status: <> diff --git a/docs/config/settings.md b/docs/config/settings.md index 462e06e1..6a022edc 100644 --- a/docs/config/settings.md +++ b/docs/config/settings.md @@ -421,7 +421,7 @@ While `show_missing` is true items missing from collections will be displayed. ## Only Filter Missing -Only items missing from a collection will be filtered +Only items missing from a collection will be filtered. **Only specific filters can filter missing. See [Filters](../metadata/filters) for more information.** * this can be used to filter which missing media items get sent to Sonarr/Radarr diff --git a/modules/plex.py b/modules/plex.py index f01b5126..a98fdbce 100644 --- a/modules/plex.py +++ b/modules/plex.py @@ -1562,7 +1562,9 @@ class Plex(Library): for part in media.parts: test_number.extend([s.language for s in part.subtitleStreams()]) elif filter_attr == "duration": - test_number = getattr(item, filter_actual) / 60000 + test_number = getattr(item, filter_actual) + if test_number: + test_number /= 60000 else: test_number = getattr(item, filter_actual) if modifier in [".count_gt", ".count_gte", ".count_lt", ".count_lte"]: diff --git a/plex_meta_manager.py b/plex_meta_manager.py index 486e7788..ab239e2c 100644 --- a/plex_meta_manager.py +++ b/plex_meta_manager.py @@ -472,7 +472,7 @@ def run_libraries(config): for library in config.libraries: if library.skip_library: logger.info("") - logger.separator(f"Skipping {library.name} Library") + logger.separator(f"Skipping {library.original_mapping_name} Library") continue library_status[library.name] = {} try: @@ -480,10 +480,10 @@ def run_libraries(config): plexapi.server.TIMEOUT = library.timeout os.environ["PLEXAPI_PLEXAPI_TIMEOUT"] = str(library.timeout) logger.info("") - logger.separator(f"{library.name} Library") + logger.separator(f"{library.original_mapping_name} Library") logger.debug("") - logger.debug(f"Mapping Name: {library.original_mapping_name}") + logger.debug(f"Library Name: {library.name}") logger.debug(f"Folder Name: {library.mapping_name}") for ad in library.asset_directory: logger.debug(f"Asset Directory: {ad}") @@ -559,7 +559,7 @@ def run_libraries(config): config.Cache.update_list_ids(list_key, [(i.ratingKey, i.guid) for i in temp_items]) if not library.is_music: logger.info("") - logger.separator(f"Mapping {library.name} Library", space=False, border=False) + logger.separator(f"Mapping {library.original_mapping_name} Library", space=False, border=False) logger.info("") library.map_guids(temp_items) library_status[library.name]["Library Loading and Mapping"] = str(datetime.now() - time_start).split('.')[0]