Skip to content

Conversation

@JonnyWong16
Copy link
Contributor

@JonnyWong16 JonnyWong16 commented Nov 23, 2021

Retrieve the blurred episode artwork directly from the Plex server to remove the Tautulli dependency. Requries PlexAPI 4.8.0 with the updated transcodeImage method (pushingkarmaorg/python-plexapi#845).

The modify_episode_artwork function can also be imported into another script to loop across a library.

Example:

from plexapi.server import PlexServer
from JBOPS.utility.hide_episode_spoilers import modify_episode_artwork

plex = PlexServer('http://127.0.0.1:32400', token='XXXXXXXXXXXXXXXXXXXX')
for tvshow in plex.library.section('TV Shows').all():
    modify_episode_artwork(plex, tvshow.ratingKey, blur=25)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants