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
pull/5808/head
Laurie Richards 4 years ago committed by Qstick
parent 9241f4a40d
commit f0bb614360

@ -274,7 +274,7 @@ namespace NzbDrone.Core.Extras.Metadata.Consumers.Xbmc
details.Add(new XElement("studio", movie.Studio)); 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) if (movieFile.MediaInfo != null)
{ {

Loading…
Cancel
Save