2013-11-12, 23:13
I develop my own PVR addon and ran into the several issues with EPG grid view.
Everything described below was tested and reproduced on Frodo 12.2 Git:97a9f05 (virtualbox x86_64 openelec linux build and stock raspberry pi openelec image).
1. First program that starts later than current time is shown in the grid as it was started already. The bug is known and was closed as non-reproducable: http://trac.xbmc.org/ticket/11479
E.g. current time is 0:00, program starts at 0:30 and ends at 1:00. It will be shown as a block: 00:00-1:00
2. The time gaps in program guide aren't shown also.
For example:
current time 0:00.
program1: 0:00-0:30
program2: 1:00-1:30
The gap should be between 0:30 and 1:00, but there is not. Instead of this programs 1 and 2 goes as continuous blocks, and moreover program 2 has wrong end time and duration (can't say the specific values because of the next bug).
3. Sometimes click on one program lead to info dialog for another one.
On the screenshot click was made on program prg 2.3.
4. Too short EPG breaks with error message in log "ERROR: (UpdateItems) - Less than one page of data available." Why? What if I have only one channel with a couple of programs in near couple of hours.
5. Not all of the EPG items shown in grid (after manual scroll or after scroll to the end from context menu) even if they are in near future. On the screenshot there should be "prg1.4: long one" (see epg.xml in "steps to reproduce" below), but there's not.
6. It would be better to disable/hide some buttons in program info dialog: "Swtich" - for future programs or past programs without recordings; "Add timer" - if PVR addon doesn't support timers.
Steps to reproduce:
1. download and extract to localhost https://db.tt/hDwiVjPV
2. on localhost: run "python epg_gen.py epg.xml.tpl > epg.xml" to generate epg.xml with current timestamps.
3. copy epg.xml and channels.m3u to the place accessible from xbmc (say raspberrypi:/storage/.xbmc/).
4. on xbmc: install "IPTV simple PVR addon" and configure it to load epg and channels from epg.xml and channels.m3u accordingly.
5. on xbmc: reset EPG database
6. on xbmc: go to "Live TV" -> "EPG: Timeline"
I wonder that no one else still noticed the issues or I'm doing something wrong.
Everything described below was tested and reproduced on Frodo 12.2 Git:97a9f05 (virtualbox x86_64 openelec linux build and stock raspberry pi openelec image).
1. First program that starts later than current time is shown in the grid as it was started already. The bug is known and was closed as non-reproducable: http://trac.xbmc.org/ticket/11479
E.g. current time is 0:00, program starts at 0:30 and ends at 1:00. It will be shown as a block: 00:00-1:00
2. The time gaps in program guide aren't shown also.
For example:
current time 0:00.
program1: 0:00-0:30
program2: 1:00-1:30
The gap should be between 0:30 and 1:00, but there is not. Instead of this programs 1 and 2 goes as continuous blocks, and moreover program 2 has wrong end time and duration (can't say the specific values because of the next bug).
3. Sometimes click on one program lead to info dialog for another one.
On the screenshot click was made on program prg 2.3.
4. Too short EPG breaks with error message in log "ERROR: (UpdateItems) - Less than one page of data available." Why? What if I have only one channel with a couple of programs in near couple of hours.
5. Not all of the EPG items shown in grid (after manual scroll or after scroll to the end from context menu) even if they are in near future. On the screenshot there should be "prg1.4: long one" (see epg.xml in "steps to reproduce" below), but there's not.
6. It would be better to disable/hide some buttons in program info dialog: "Swtich" - for future programs or past programs without recordings; "Add timer" - if PVR addon doesn't support timers.
Steps to reproduce:
1. download and extract to localhost https://db.tt/hDwiVjPV
2. on localhost: run "python epg_gen.py epg.xml.tpl > epg.xml" to generate epg.xml with current timestamps.
3. copy epg.xml and channels.m3u to the place accessible from xbmc (say raspberrypi:/storage/.xbmc/).
4. on xbmc: install "IPTV simple PVR addon" and configure it to load epg and channels from epg.xml and channels.m3u accordingly.
5. on xbmc: reset EPG database
6. on xbmc: go to "Live TV" -> "EPG: Timeline"
I wonder that no one else still noticed the issues or I'm doing something wrong.