2025-04-05, 07:08 PM
After looking at the latest Jellyfin server code, the best approach to ensure that the "record series" button shows after refreshing guide data from an XML file is to make sure there is an episode-num element with attribute, system="xmltv_ns". In this particular "system" value, the episode number is always after the first ".", and the first "." is important even when there is no season. For example, episode 5 for a program that has no "season" would be, <episode-num system="xmltv_ns">.5</episode-num>.
The "onscreen" system case (i.e. episode-num system="onscreen") is completely commented out, FYI. An empty "system" or missing the system attribute is also ignored.
Reference the Jellyfin.XmlTv..XmlTvReader method, ProcessEpisodeNum, for details on determining the episode number.
Reference the Jellyfin.LiveTv.Listings.XmlTvListingsProvider method, GetProgramInfo, for details on how "IsSeries" is set.
The "onscreen" system case (i.e. episode-num system="onscreen") is completely commented out, FYI. An empty "system" or missing the system attribute is also ignored.
Reference the Jellyfin.XmlTv..XmlTvReader method, ProcessEpisodeNum, for details on determining the episode number.
Reference the Jellyfin.LiveTv.Listings.XmlTvListingsProvider method, GetProgramInfo, for details on how "IsSeries" is set.