From 63d8f79e521c07099d65a350bbec1df29cd678ce Mon Sep 17 00:00:00 2001 From: rouggy Date: Wed, 8 Dec 2021 16:52:25 +0100 Subject: [PATCH] update --- plexAutoCollectionUpdater.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plexAutoCollectionUpdater.py b/plexAutoCollectionUpdater.py index 487bccf..c9a939c 100644 --- a/plexAutoCollectionUpdater.py +++ b/plexAutoCollectionUpdater.py @@ -102,4 +102,6 @@ for collection in MovieCollectionList: if not os.path.exists(Config.PlexAutoCollectionConfigFileImagesPath + f"/{collection.collectionTitle}"): print(f":: {dt.now().strftime('%d-%m-%Y %H:%M:%S')} :: CollectionUpdater :: Download poster for new collection {collection.collectionTitle}...") os.mkdir(Config.PlexAutoCollectionConfigFileImagesPath + f"/{collection.collectionTitle}") - urllib.request.urlretrieve(Config.tmdbImgUrl + f"{collection.collectionImgPath}", Config.PlexAutoCollectionConfigFileImagesPath + f"/{collection.collectionTitle}/poster.jpeg") \ No newline at end of file + urllib.request.urlretrieve(Config.tmdbImgUrl + f"{collection.collectionImgPath}", Config.PlexAutoCollectionConfigFileImagesPath + f"/{collection.collectionTitle}/poster.jpeg") + +print(f":: {dt.now().strftime('%d-%m-%Y %H:%M:%S')} :: CollectionUpdater :: All steps are completed...") \ No newline at end of file