mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-22 12:33:10 +00:00
#624 tmdb_collections are now managed
This commit is contained in:
parent
db9b08a5c3
commit
9d0a92e925
1 changed files with 2 additions and 0 deletions
|
@ -659,6 +659,8 @@ def library_operations(config, library):
|
||||||
new_collections[title] = {"template": template}
|
new_collections[title] = {"template": template}
|
||||||
|
|
||||||
metadata = MetadataFile(config, library, "Data", {"collections": new_collections, "templates": templates})
|
metadata = MetadataFile(config, library, "Data", {"collections": new_collections, "templates": templates})
|
||||||
|
if metadata.collections:
|
||||||
|
library.collections.extend([c for c in metadata.collections])
|
||||||
run_collection(config, library, metadata, metadata.get_collections(None))
|
run_collection(config, library, metadata, metadata.get_collections(None))
|
||||||
|
|
||||||
if library.radarr_remove_by_tag:
|
if library.radarr_remove_by_tag:
|
||||||
|
|
Loading…
Reference in a new issue