update
This commit is contained in:
parent
7e647437f6
commit
f40b0e8e7d
@ -28,7 +28,7 @@ MovieCollectionFinal = []
|
|||||||
# Retrieve the library Movies from Plex
|
# Retrieve the library Movies from Plex
|
||||||
plexMoviesLibrary = plex.library.section('Movies')
|
plexMoviesLibrary = plex.library.section('Movies')
|
||||||
|
|
||||||
for movie in plexMoviesLibrary.all():
|
for movie in plexMoviesLibrary.search():
|
||||||
for collection in movie.collections:
|
for collection in movie.collections:
|
||||||
if collection.tag and collection.tag not in AvailablePlexCollectionsMovies:
|
if collection.tag and collection.tag not in AvailablePlexCollectionsMovies:
|
||||||
AvailablePlexCollectionsMovies.append(collection.tag)
|
AvailablePlexCollectionsMovies.append(collection.tag)
|
||||||
@ -59,5 +59,5 @@ for movie in MatchingList:
|
|||||||
for id in TMDbCollection:
|
for id in TMDbCollection:
|
||||||
MovieCollectionFinal.append(tmdbCollection.details(id))
|
MovieCollectionFinal.append(tmdbCollection.details(id))
|
||||||
|
|
||||||
print(MovieCollectionFinal)
|
for movie in MovieCollection:
|
||||||
print(AvailablePlexCollectionsMovies)
|
print(movie)
|
Loading…
x
Reference in New Issue
Block a user