2006-04-05, 02:04 PM
This happened to my wife yesterday and she was at first very confused. So the senario:
Yesterday GBPVR was recording scheduled show. Accidentially I made a restart to gbpvr service during this. After a while she wanted to watch the recording from beginning, but to her (and mine) surprise GBPVR offered only watching from middle. So, what happened was this.
When recording a scheduled show from guide and somewhy restarting during recording gbpvr service. The recording service starts again/continues and if it founds recording with same name it adds -2 to name. Fine. But it also points in gbpvr.mdb recorded show to the last filename. So, actually there are all required mpg files for playing show from beginning to end, but when selecting from recordings it plays only the last file.
Solution should be: If recording service is started and it finds that it should start scheduled recording immediately and also find duplicate file name of recording show, before creating new one it should add current file to gbpvr.mdb and after finished recording the other file it should add also the second file to mdb to the same show. When playback of the show is requested, GBPVR should select all records with the same show recording name/id/etc and starts playback from the first file and continues also with next parts up to the end of last one. I hope it was clear
Yesterday GBPVR was recording scheduled show. Accidentially I made a restart to gbpvr service during this. After a while she wanted to watch the recording from beginning, but to her (and mine) surprise GBPVR offered only watching from middle. So, what happened was this.
When recording a scheduled show from guide and somewhy restarting during recording gbpvr service. The recording service starts again/continues and if it founds recording with same name it adds -2 to name. Fine. But it also points in gbpvr.mdb recorded show to the last filename. So, actually there are all required mpg files for playing show from beginning to end, but when selecting from recordings it plays only the last file.
Solution should be: If recording service is started and it finds that it should start scheduled recording immediately and also find duplicate file name of recording show, before creating new one it should add current file to gbpvr.mdb and after finished recording the other file it should add also the second file to mdb to the same show. When playback of the show is requested, GBPVR should select all records with the same show recording name/id/etc and starts playback from the first file and continues also with next parts up to the end of last one. I hope it was clear
--- GBPVR system ---
Server: homemade (ASUS MB, AMD x2 5200+, 4G RAM, 3.2TB RAID5, 1Gbit) + DVB-T Hauppauge HVR1300 (h264 TS) + IPTV
Clients: ASUS Pundit-R (P4 3.2GHz Northwood!, 1G RAM, zero HDD - netboot, WinLIRC to use Hauppauge remote on system without Hauppauge devices) + IBM ThinkPad T42 (pvr over 802.11g) + FSC N560 WM6 (802.11g) + etc
Server: homemade (ASUS MB, AMD x2 5200+, 4G RAM, 3.2TB RAID5, 1Gbit) + DVB-T Hauppauge HVR1300 (h264 TS) + IPTV
Clients: ASUS Pundit-R (P4 3.2GHz Northwood!, 1G RAM, zero HDD - netboot, WinLIRC to use Hauppauge remote on system without Hauppauge devices) + IBM ThinkPad T42 (pvr over 802.11g) + FSC N560 WM6 (802.11g) + etc