Trailer link not showing or not working anymore

Issue description:
On NAS we have folder with movies. Each movie contains MKV file and a NFO file (created via TMM). NFO file contains a tag like this:
<trailer>plugin://plugin.video.youtube/play/?video_id=123456789</trailer>

  1. Issue
    For years this worked and showed up a trailer frame in the details screen of a movie (below the information and on top of the cast).
    This stopped working now. After a new movie is showed up in Yatse, there is no trailer in its detail screen anymore, however the trailer for the old movies are still there.

  2. Issue
    Since the older movies are still showing the trailer frame, but if I click on it, Youtube shows a 400 error, see screenshots.

Logs:
https://paste.kodi.tv/raw/awoyogesuv
(Started debugging, went to movies, opened one with missing trailer 2 times, then opened an older movie with a showing trailer 2 times)

Screenshots:

Additional information:
Latest Yatse, Pixel 8 Pro, Kodi Omega 21.0 (CoreElec).

Any idea why the new movies are not showing the trailer frame and why the older are not working any more (after you click on it)?

Thanks.

Kodi probably no more return the data and have broken something, only a full log containing the sync data and the name of the movies can show that.

Within Kodi the trailers work.

I removed a movie (where the trailer did not work via Yatse) from Kodi, cleaned video lib, synced Yatse, then re-synced Kodi (to get the movie back to library). Then I enabled debug log and started sync between Kodi and Yatse.
The log contains a lot of private paths, so I reduced the log to the part where the (previously removed) movie was mentioned: “IF: Imaginäre Freunde”:

Hope his helps to find the issue. At least the you tube link of the trailer I have seen in this log. Are other parts of the log interesting for you?

The logs is too much cut I can’t properly parse the json …

And your main issue is missing trailer, but those logs are about not working ones ?

Yes main issue is that the trailer frame is not shown via Yatse for new movies (even they are part of nfo files, woking via Kodi/TV and can be found in the provided log file). It is not shown for all new movies for some weeks. I thought I created the logs correctly (during sync to see if the trailer link is send from Kodi to Yatse), did I miss something, should I create them on another way? :frowning:

This is a small unusable extract.

And you do not tell what movie is missing the trailer and what trailer are not working and how they are not.

So I can’t tell a lot.

I did tell you the movie in one of my last comments: “IF: Imaginäre Freunde”. The movie and its information is part of the log extract.

Which part of the log would be more helpful? I would extract it for you.

I need a proper full json line that can be parsed…
That contains a movie that show the trailer in Yatse and one that don’t with the name corresponding to the matching issue

And again more details about what does not work when there’s the trailer. The screenshot does not really show anything.

To main issue 1:
Even I have no new log yet, maybe I found the issue. All the trailer that do not show up in Yatse have following format in database:
plugin://plugin.video.youtube/play/?video_id=XXXX

All the trailer that are displayed correctly in Yatse:
plugin://plugin.video.youtube/?action=play_video&videoid=XXXX

After a short research, the plugin.video.youtube says that the ?action-format is deprecated and the other one should be used instead (perhaps thats the reason TMM already updated these links). Maybe Yatse does not support this format yet?

To issue 2 (when trailer is shown correctly, and if you click on it, YouTube app opens the video with an error 400):
I have no better screenshot. This is how my YouTube app looks like when I hit the trailer in Yatse. However I have a new log file: 2024-08-08 20:50:42.698 Verbose/KodiNexus: --> [192] POST http://198.168.178.10: - Pastebin.com
What I did: went to movies, searched for “paper”, opened the movie “Im Flug erorbert” (english name: “paperman”) and pressed on the trailer, youtube app opens, showed the error, I went back to Yatse and hit the trailer button again.

Hope this helps to find the issues?

May I ask if there is any update to this or can this fixed in next version?