Page 1 of 1
Forum

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!



Jellyfin - Trailers...
 
Share:
Notifications
Clear all

Jellyfin - Trailers not playing - Playback Error, No player found for the requested media

1 Posts
1 Users
0 Likes
269 Views
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2700
Topic starter  

Seems that when Radarr and Jellyfin are used, two different YouTube links are being used for trailer playback.
One being outdated:

<trailer>plugin://plugin.video.youtube/play/?video_id=XXXXXX</trailer>

This one, found in the movie.nfo file, will cause this error (in the WebUI anyway):

Playback Error
No player found for the requested media.

 

We can fix this by updating the link to:

<trailer>plugin://plugin.video.youtube/?action=play_video&amp;videoid=XXXXXX</trailer>

Granted, that would be a lot of work if you have a rather big collection of movies.

Of course, here you can use the power of Linux shell commands - assuming you're executing this on a Linux machine (like most NAS devices are):

find ./ -name movie.nfo -type f  -exec sed -i 's/play\/?video_id=/\?action=play_video\&amp;videoid=/g' {} \;

Assuming you're in your movie directory, this will try to find all files names movie.nfo.
This filename is then used to execute sed and replace the text "play/?video_id=" with "?action=play_video&amp;videoid=".
The "\" symbols are added to escape certain special characters.

* note:
if you're not in you movie directory then either go there (cd /path/to/movie/directory) or replace "./" with "/path/to/movie/directory".


   
ReplyQuote
Share: