-
Notifications
You must be signed in to change notification settings - Fork 200
Open
Labels
Description
So far I have created a little script to add an specific actor to a search result:
from plexapi.server import PlexServer
PLEX_URL = 'http://192.168.178.100:32400'
PLEX_TOKEN = 'token'
homeserver = PlexServer(PLEX_URL, PLEX_TOKEN)
tag = input(f"Actor: ")
for video in homeserver.library.section('test').search(None, collection=[tag]):
video._edit_tags(tag="actor", items=[tag])
It work's fine. An actor appears on that particular video(s) in the collection.
Now, I just don't want to add the actor, I also want to add the role and a thumb (photo URL), but so far I could not find anything in the documentation and in the source code. (might be it's quite late and I am tired), but I would be thankful if someone could help me with it or make it possible.