This commit is contained in:
2021-12-08 11:24:29 +01:00
parent 4b3c714261
commit c140fb851d
3 changed files with 7 additions and 4 deletions

View File

@ -39,12 +39,10 @@ i = 0
length = len(PlexMovieList)
while i < length:
for movie in PlexMovieList:
if fuzz.ratio(PlexMovieList[i], movie) > 85 and fuzz.ratio(PlexMovieList[i], movie) < 100:
if 85 < fuzz.ratio(PlexMovieList[i], movie) < 100:
if PlexMovieList[i] not in MatchingList:
MatchingList.append(PlexMovieList[i])
i += 1
for movie in MatchingList:
@ -61,4 +59,5 @@ for movie in MatchingList:
for id in TMDbCollection:
MovieCollectionFinal.append(tmdbCollection.details(id))
print("")
print(MovieCollectionFinal)
print(AvailablePlexCollectionsMovies)