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>
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.
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)
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?
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?
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.