mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
update xml tv show id
This commit is contained in:
parent
45398959d7
commit
fcdd8cf899
@ -161,7 +161,14 @@ namespace Emby.Server.Implementations.LiveTv.Listings
|
|||||||
}
|
}
|
||||||
else
|
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)
|
if (programInfo.IsMovie)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user