From 04946dddb734e00576590365317d0a15d878c61a Mon Sep 17 00:00:00 2001 From: rouggy Date: Wed, 8 Dec 2021 17:07:02 +0100 Subject: [PATCH] update --- plexAutoCollectionUpdater.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plexAutoCollectionUpdater.py b/plexAutoCollectionUpdater.py index c9a939c..719f231 100644 --- a/plexAutoCollectionUpdater.py +++ b/plexAutoCollectionUpdater.py @@ -34,7 +34,7 @@ print(f":: {dt.now().strftime('%d-%m-%Y %H:%M:%S')} :: CollectionUpdater :: Movi print(f":: {dt.now().strftime('%d-%m-%Y %H:%M:%S')} :: CollectionUpdater :: Creating Movies list and Collection Available in Plex") for movie in plexMoviesLibrary.search(): PlexMovieList.append(movie.title) -print(f":: {dt.now().strftime('%d-%m-%Y %H:%M:%S')} :: CollectionUpdater :: Lists created") +print(f":: {dt.now().strftime('%d-%m-%Y %H:%M:%S')} :: CollectionUpdater :: Lists created, found {len(PlexMovieList)} movies") i = 0 @@ -43,6 +43,7 @@ length = len(PlexMovieList) print(f":: {dt.now().strftime('%d-%m-%Y %H:%M:%S')} :: CollectionUpdater :: Comparing Movies in Plex to find similar movies...") while i < length: for movie in PlexMovieList: + print(f":: {dt.now().strftime('%d-%m-%Y %H:%M:%S')} :: CollectionUpdater :: Checking matching between {PlexMovieList[i]} and {movie}, score is: {fuzz.ratio(PlexMovieList[i], movie)}") if 85 < fuzz.ratio(PlexMovieList[i], movie) < 100: if PlexMovieList[i] not in MatchingList: MatchingList.append(PlexMovieList[i])