List Plex Movie Duplicates
List duplicate movies for a given Plex server and library using Python
# run 'pip3 install plexapi' first
# run the code below with python 3.x
from plexapi.myplex import MyPlexAccount
account = MyPlexAccount('your_username', 'your_password')
plex = account.resource('your_server').connect()
movies = plex.library.section('your_movie_library')
for movie in movies.search(duplicate=True):
print(movie.title)
Note: In addition to actual duplicates (ex. movie.mkv, movie_copy.mkv), versions (ex. Directors Cut, Theatrical Cut, etc) for the same movie are also considered duplicates.