Maybe this will interest some.
I have seen that satellite operators such as Viasat program time in EPG is not the same as the real program start and end time. Different is a few minutes, but when I record manually, not by timer, sometimes record file name is not correct, because it comes from the name of the previous program, which by the EPG information still ends after a few minutes.
Therefore, I create a small workoraund in which, if the current event is executed more than 80%, for recording is used the info from the next event.
I do not know, maybe it should be used if it is executed more than 90%, or about this needs to show a messagebox, but maybe that the such be ok.
--- a/lib/python/Screens/InfoBarGenerics.py
+++ b/lib/python/Screens/InfoBarGenerics.py
@@ -2033,6 +2033,11 @@ class InfoBarInstantRecord:
if event is not None:
curEvent = parseEvent(event)
+ position = (curEvent[1]-curEvent[0])*0.8
+ curtime = int(time())
+ if curtime > position: # current event ending soon, therefore use next
+ nextevent = epg.lookupEventTime(info["serviceref"], event.getBeginTime(), +1)
+ curEvent = parseEvent(nextevent)
info["name"] = curEvent[2]
info["description"] = curEvent[3]
info["eventid"] = curEvent[4]
Edited by Taapat, 17 March 2014 - 19:58.