mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-05 10:32:35 +01:00
Fix: Youtube trailers do not play from scraped data
Currently the scraper puts an https:// link, this is not compatible with the YouTube plugin, it needs to be in plugin format with YouTube ID
This commit is contained in:
parent
9241f4a40d
commit
f0bb614360
@ -274,7 +274,7 @@ public override MetadataFileResult MovieMetadata(Movie movie, MovieFile movieFil
|
||||
|
||||
details.Add(new XElement("studio", movie.Studio));
|
||||
|
||||
details.Add(new XElement("trailer", "https://www.youtube.com/watch?v=" + movie.YouTubeTrailerId));
|
||||
details.Add(new XElement("trailer", "plugin://plugin.video.youtube/play/?video_id=" + movie.YouTubeTrailerId));
|
||||
|
||||
if (movieFile.MediaInfo != null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user