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:
Laurie Richards 2021-01-20 10:53:46 +00:00 committed by Qstick
parent 9241f4a40d
commit f0bb614360
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ namespace NzbDrone.Core.Extras.Metadata.Consumers.Xbmc
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)
{