update
This commit is contained in:
parent
7ebdae66ed
commit
918da41905
@ -70,7 +70,7 @@ def MovieCollectionList(library):
|
|||||||
for movie in MoviesList:
|
for movie in MoviesList:
|
||||||
if MoviesList[i].MovieTMDbCollectionTMDbId == movie.MovieTMDbCollectionTMDbId:
|
if MoviesList[i].MovieTMDbCollectionTMDbId == movie.MovieTMDbCollectionTMDbId:
|
||||||
count += 1
|
count += 1
|
||||||
if count > 2:
|
if count > 3:
|
||||||
if not MoviesList[i].MovieTMDbCollectionTMDbId in ExistingCollectionId:
|
if not MoviesList[i].MovieTMDbCollectionTMDbId in ExistingCollectionId:
|
||||||
logger.info(f"Keeping collection {MoviesList[i].MovieTMDbCollectionName} which contains 3 or more movies")
|
logger.info(f"Keeping collection {MoviesList[i].MovieTMDbCollectionName} which contains 3 or more movies")
|
||||||
ExistingCollectionId.append(MoviesList[i].MovieTMDbCollectionTMDbId)
|
ExistingCollectionId.append(MoviesList[i].MovieTMDbCollectionTMDbId)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user