2022-04-21, 04:47 PM
I believe I've spotted a minor bug in the xmltv file EPG import process: NPVR *appears* to be assuming Series 01 if there's an episode number but no series number in the xmltv_ns episode_num field, and assuming Episode 01 if series # but no episode # present. For example:
<episode-num system="xmltv_ns">75 . . 0/1</episode-num> input is showing up in the EPG as 'S76E01'
<episode-num system="xmltv_ns"> . 7/8 . 0/1</episode-num> input is showing up as 'S01E08'
I'm pretty sure it's not actually an assumption being made (I know sub's noted in other threads that he doesn't want to do that as it's so frequently wrong) - rather I suspect it's the result of a string-to-number conversion that's producing '0' for the null/empty input, which given the zero-based numbering of the xmltv format is then showing in the EPG as S01 or E01.
(No such issue occurs with the direct DVB/ATSC EPG, when compared to importing from an xmltv file produced from the same original DVB source.)
Regards,
Steve
<episode-num system="xmltv_ns">75 . . 0/1</episode-num> input is showing up in the EPG as 'S76E01'
<episode-num system="xmltv_ns"> . 7/8 . 0/1</episode-num> input is showing up as 'S01E08'
I'm pretty sure it's not actually an assumption being made (I know sub's noted in other threads that he doesn't want to do that as it's so frequently wrong) - rather I suspect it's the result of a string-to-number conversion that's producing '0' for the null/empty input, which given the zero-based numbering of the xmltv format is then showing in the EPG as S01 or E01.
(No such issue occurs with the direct DVB/ATSC EPG, when compared to importing from an xmltv file produced from the same original DVB source.)
Regards,
Steve