mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[23] fix operations
This commit is contained in:
parent
eb063b4885
commit
1e0948cc2f
2 changed files with 5 additions and 11 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.16.3-develop22
|
||||
1.16.3-develop23
|
||||
|
|
|
@ -211,11 +211,8 @@ def update_libraries(config):
|
|||
logger.info("")
|
||||
logger.separator(f"{library.name} Library")
|
||||
|
||||
if config.library_first and not config.test_mode and not collection_only:
|
||||
if not overlay_only and library.library_operation:
|
||||
library.Operations.run_operations()
|
||||
if not library_only and library.overlay_files:
|
||||
library.Overlays.run_overlays()
|
||||
if config.library_first and library.library_operation and not config.test_mode and not collection_only:
|
||||
library.Operations.run_operations()
|
||||
|
||||
logger.debug("")
|
||||
logger.debug(f"Mapping Name: {library.original_mapping_name}")
|
||||
|
@ -281,11 +278,8 @@ def update_libraries(config):
|
|||
run_collection(config, library, metadata, collections_to_run)
|
||||
logger.re_add_library_handler(library.mapping_name)
|
||||
|
||||
if not config.library_first and not config.test_mode and not collection_only:
|
||||
if not overlay_only and library.library_operation:
|
||||
library.Operations.run_operations()
|
||||
if not library_only and library.overlay_files:
|
||||
library.Overlays.run_overlays()
|
||||
if config.library_first and library.library_operation and not config.test_mode and not collection_only:
|
||||
library.Operations.run_operations()
|
||||
|
||||
logger.remove_library_handler(library.mapping_name)
|
||||
except Exception as e:
|
||||
|
|
Loading…
Reference in a new issue