varthe / Defaulterr

Change the default audio and subtitle streams for items in Plex per user based on codec, language, keywords, and more
43 stars 0 forks source link

Disabling subtitles does not work when triggered by tautulli webhook #30

Open hacktek opened 3 days ago

hacktek commented 3 days ago

Using the new on_match functionality to disable subtitles. When an update is triggered by the webhook, the logs show this:

2024-10-24T12:12:26.069Z [info]: Tautulli webhook received. Processing...
2024-10-24T12:12:26.074Z [info]: Checking if user XXX of group inSpanish has access to library Peliculas... OK
2024-10-24T12:12:26.189Z [info]: Part ID 2845871: match found for audio stream Español (EAC3 5.1)
2024-10-24T12:12:26.189Z [info]: Part ID 2845871: subtitles disabled
2024-10-24T12:12:26.192Z [info]: Update Audio ID 11288860 for user BFN2019 in group inSpanish: SUCCESS
2024-10-24T12:12:26.292Z [info]: Tautulli webhook finished

When investigating the media item however, it still has subtitles enabled.

sub
varthe commented 3 hours ago

Fixed in the latest image