bpa wrote: > I haven't had a chance to look at this . > I think XML feed behaviour changed a bit after an update when the mess > of 7day vs 30day availability happened and as a result I think contents > of feed would need to be "studied" over a day (e.g. multiple snapshots > about 5mins before & after the hour) to understand what actually > happens. Tedious stuff.
I've been having a look recently, partly because I was always planning to, and partly because I've been experiencing "new" playback failures over the last couple of weeks or so. But even lockdown idleness could not induce me to make too many multiple snapshots... I've attached three patches that I am using, which probably explain what I'm seeing better than words. I suspect the first patch, or something like it, is needed. The issues addressed by the other two patches may fade away in time. Or perhaps not. In some sort of nutshells: 0001-BBCXMLPARSER-IMPROVE-HANDLING-OF-BLANK-AVAILABILITY- A fix to the "blank end date" issues raised here: https://forums.slimdevices.com/showthread.php?p=967996#post967996 https://forums.slimdevices.com/showthread.php?p=968511#post968511 In the past, I had associated blank (unpopulated) availability end dates with programmes that had not yet been broadcast. But it has become evident that these do not seem to be populated as quickly as one might like, and currently available broadcasts also have "blank end dates". At present these are simply excluded from the programme listings. This change forces a look at the broadcast end time in these circumstances, allowing the programme listings to be a little more up to date. Patience might also yield the same result, but delayed by caching, etc., which does not suit the impatient. 0002-BBCXMLPARSER-DASH-HLS-URL-S-SOMETIMES-OMIT-STREAM-VP A new one. Over the last two weeks or so, I have been finding that the "VPID" element of DASH and HLS url's is not always being populated in a sufficiently timely manner, leading to unplayable programmes (Cannot open file for). But the VPID information is available, and I am finding that the url can be fixed up successfully. So this change fixes matters by doing just that. Again, patience might also yield the same result, but delayed by caching, etc. I think that something should probably be done in any event to detect these invalid url's, and nip them in the bud. The approach I am trying seems to be working. 0003-BBCXMLPARSER-ELIMINATE-CHECK-ON-AVAILABILITY-DATA-HA New to me. I'm finding that quite a number of programmes (e.g. In Our Time) have availability dates that are well stuck in the past (2015, 2016), in consequence of which they will never show in a programme listing, even though the broadcast is current. I don't know what's going on here, it doesn't look like a temporary delay in gathering data for the availability schedule. (I would class the first two issues as probably falling into that category). This change addresses matters pro tem by giving up on availability start and end dates altogether, and just relying on the broadcast end time to identify "current" programming. It seems to be working ok. Time will tell. +-------------------------------------------------------------------+ |Filename: 0003-BBCXMLParser-Eliminate-check-on-availability-data-ha.patch.txt| |Download: http://forums.slimdevices.com/attachment.php?attachmentid=30260| +-------------------------------------------------------------------+ ------------------------------------------------------------------------ mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299 View this thread: http://forums.slimdevices.com/showthread.php?t=109826 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
