in July I reported a bug that happens using the Plex PMS API to delete a trailer. Can anybody tell me whether this has been cleared/fixed?
I am currently working on a maintainance app for Plex library which will (amongst many other features) allow to remove trailers from movies. And I do not want to cause any problems with this.
So, if somebody from the team would be so kind to have a look at it, I could disable the feature to allow more time to fix this bug if necessary.
But I think that it’s a bug that needs to be fixed…. please have a look in that other thread.
There is a field on the metadata item primaryExtraKey that only gets updated when a full list of extras gets processed on a refresh.
Manually deleting extras will leave that field hanging around there as this was never a consideration as there is no method in normal operation to remove extras like this.
There is an open issue for this from your previous post, it’s just obviously not a super high priority. I can’t promise when this will be looked at but it is on our board.
Thank you @drzoidberg33 for these insights. Then I’ll probably add a warning about that in my app.
Refreshing the metadata does not help in fixing this. Otherwise, I had gone that path in July already.
I agree. It is absolutely impossible to pre-think all scenarii that can happen if you give API control to fools like myself.
From the beginning of this trailers feature, I hate non-native-language trailers for my movies. For movies that have German trailers, I solve this with adding a local trailer. But this option is not feasible for many older movies and the pre-play feature (play xy trailers before playing the movie) offers these English trailers to my family who always look at me in agony about this. Therefore, I was so happy to see that there’s a method of getting rid of these trailers in a surgical operation. It solves some real world problem of mine.
My app will offer to check all trailers for audio language (plus an extra check for the titles of local trailers) for specific languages - and has an option to delete all non-matching trailers. It even gets a list of those movies to the user for them to check this. It will also be able to rename trailer titles to the library language title of a movie (another problem of mine… I like the trailer and check the title in the player ui … and I don’t get an idea of how the movie title is in my language).