Skip to content

Commit

Permalink
Export trailer URLs in new format
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadowghost committed Jun 4, 2024
1 parent 23b1251 commit 8709d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MediaBrowser.XbmcMetadata/Savers/BaseNfoSaver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ private void AddCollectionItems(Folder item, XmlWriter writer)
private string GetOutputTrailerUrl(string url)
{
// This is what xbmc expects
return url.Replace(YouTubeWatchUrl, "plugin://plugin.video.youtube/?action=play_video&videoid=", StringComparison.OrdinalIgnoreCase);
return url.Replace(YouTubeWatchUrl, "plugin://plugin.video.youtube/play/?video_id=", StringComparison.OrdinalIgnoreCase);
}

private void AddImages(BaseItem item, XmlWriter writer, ILibraryManager libraryManager)
Expand Down

0 comments on commit 8709d94

Please sign in to comment.