2022-08-26, 04:27 AM
Martin is correct that the problem seems to be the EXT-X-MEDIA-SEQUENCE jumps backwards. This is very unusual behaviour. Normally EXT-X-MEDIA-SEQUENCE would only ever increase.
It seems to be happening because the IPTV service is providing multiple servers with the stream, but the streams are at different points for each, so when NextPVR is asking for the next part of the stream, it's sometimes pointed at a server that is still at an older point in the content. NextPVR does have some logic EXT-X-MEDIA-SEQUENCE to cope with this type of stuff, but I think because the different servers are also using different filenames for the same bits of content, it's confusing matters. Realistically, without having access to a stream that is behaving this way, there is too much guess work involved to try making changes. If you want to temporarily provide access, I could see if there is anything I can do about it.
There is a slight chance that the next version already handles this scenario, since there have been improvements around this logic.
It seems to be happening because the IPTV service is providing multiple servers with the stream, but the streams are at different points for each, so when NextPVR is asking for the next part of the stream, it's sometimes pointed at a server that is still at an older point in the content. NextPVR does have some logic EXT-X-MEDIA-SEQUENCE to cope with this type of stuff, but I think because the different servers are also using different filenames for the same bits of content, it's confusing matters. Realistically, without having access to a stream that is behaving this way, there is too much guess work involved to try making changes. If you want to temporarily provide access, I could see if there is anything I can do about it.
There is a slight chance that the next version already handles this scenario, since there have been improvements around this logic.
Code:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:12
#EXT-X-MEDIA-SEQUENCE:1318
#EXTINF:12.278933,
3070082_1318.ts
#EXTINF:12.278933,
3070082_1319.ts
#EXTINF:12.312300,
3070082_1320.ts
#EXTINF:12.278933,
3070082_1321.ts
#EXTINF:10.243567,
3070082_1322.ts
Code:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:12
#EXT-X-MEDIA-SEQUENCE:1318
#EXTINF:12.278933,
3030995_1318.ts
#EXTINF:12.278933,
3030995_1319.ts
#EXTINF:12.278933,
3030995_1320.ts
#EXTINF:12.312300,
3030995_1321.ts
#EXTINF:10.243567,
3030995_1322.ts