The Free Software Media System - Server Backend & API
update xml tv show id
Luke Pulverentifcdd8cf89957
diff --git a/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs b/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.csindex 66db4f3f2c..abb853eb23 100644--- a/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs+++ b/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs@@ -161,7 +161,14 @@ namespace Emby.Server.Implementations.LiveTv.Listings}else{- programInfo.ShowId = ((p.Title ?? string.Empty) + (episodeTitle ?? string.Empty)).GetMD5().ToString("N");+ var uniqueString = (p.Title ?? string.Empty) + (episodeTitle ?? string.Empty);++ if (programInfo.EpisodeNumber.HasValue)+ {+ uniqueString = "-" + programInfo.EpisodeNumber.Value.ToString(CultureInfo.InvariantCulture);+ }++ programInfo.ShowId = uniqueString.GetMD5().ToString("N");}if (programInfo.IsMovie)