From cad1191da5254c6de5b40f748b062bb65c5b766a Mon Sep 17 00:00:00 2001 From: Deathspike <198601+Deathspike@users.noreply.github.com> Date: Sat, 23 Jul 2022 19:17:26 +0200 Subject: [PATCH] Fixed: Watch state not preserved on metadata rewrite (#7436) --- .../Extras/Metadata/Consumers/Xbmc/XbmcMetadata.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NzbDrone.Core/Extras/Metadata/Consumers/Xbmc/XbmcMetadata.cs b/src/NzbDrone.Core/Extras/Metadata/Consumers/Xbmc/XbmcMetadata.cs index 0fe8fcbf7..bb0275b16 100644 --- a/src/NzbDrone.Core/Extras/Metadata/Consumers/Xbmc/XbmcMetadata.cs +++ b/src/NzbDrone.Core/Extras/Metadata/Consumers/Xbmc/XbmcMetadata.cs @@ -305,6 +305,8 @@ namespace NzbDrone.Core.Extras.Metadata.Consumers.Xbmc details.Add(new XElement("trailer", "plugin://plugin.video.youtube/play/?video_id=" + movie.MovieMetadata.Value.YouTubeTrailerId)); + details.Add(new XElement("watched", watched)); + if (movieFile.MediaInfo != null) { var sceneName = movieFile.GetSceneOrFileName();