empty `event_name' causes premature failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
epgsnoop |
Fix Committed
|
Low
|
hads |
Bug Description
epgsnoop fails with the following exception:
+------
Traceback (most recent call last):
File "/home/
programs = snooper.snoop()
File "/home/
found = self.processPac
File "/home/
event['title'] = self.detail_
IndexError: list index out of range
+------
... which I think is caused by a UK EIT stream where dvbsnoop outputs the following:
+------
+------
The `event_name' line does not have `-- Charset' part for the empty [Estonian!] short event descriptor. The attached patch appears to stop the exception, although I do not know whether it is the correct way to handle such output from dvbsnoop or whether these short event descriptors could occur in a different order, etc.
Changed in epgsnoop: | |
status: | New → In Progress |
assignee: | nobody → hads (hads) |
importance: | Undecided → Low |
Thanks very much. I just pushed revision 68 with a slightly changed version of your patch.