NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 4 5 6 7 8 … 1231 Next »
SUB: Recording show in two pieces. Found bug(?)

 
  • 0 Vote(s) - 0 Average
SUB: Recording show in two pieces. Found bug(?)
lif
Offline

Member

Posts: 155
Threads: 76
Joined: Dec 2004
#1
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 Smile
--- 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 Smile
mykeparker
Offline

Junior Member

Posts: 27
Threads: 8
Joined: Oct 2005
#2
2006-04-05, 02:21 PM
I had exactly the same problem, a week ago I tried recording programs on Friday, Saturday and Sunday. I made sure my PC was on to record them (about 4 shows in total). To my dissapointment 3 of the 4 were broken into files as you have described, only available the last one from the GB-PVR menus.

*As far as I know the recording service was not restarted, although I cannot confirm as I was not at the pc when they were recording.

So I thought I would just open them all in media play to watch, not the best soluton but would do. But 2 of the 3 shows were recorded in what looked like fast forward, was dropping frames and was un-watchable.

I have been using GB-PVR for a year, with a few problems but none like this. I havent changed anything that I could see would cause this. I upgraded to latest version when that came out. Apart from those problems that weekend everything before, and after has recorded fine.

Unfortunatly I do not have any logs, this is more of an information post to say that I have had problems and see if anyone else has.
Mike, Web Developer

P4 Dimension 8400, 1.5TB Storage:p
Smile Get a MVP with GB-PVR, really is amazing!Smile
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,648
Threads: 767
Joined: Nov 2003
#3
2006-04-05, 06:46 PM
Quote: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
Sorry, I wont be changing this. Just dont restart the recording service whilst its recording.

I was in favour of just overwriting the original part of the recording if the user was dumb enough to restart the recording service, but as a compromise for this popular request, I decided to just rename the file.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,648
Threads: 767
Joined: Nov 2003
#4
2006-04-05, 06:48 PM
Quote:I had exactly the same problem, a week ago I tried recording programs on Friday, Saturday and Sunday. I made sure my PC was on to record them (about 4 shows in total). To my dissapointment 3 of the 4 were broken into files as you have described, only available the last one from the GB-PVR menus.

*As far as I know the recording service was not restarted, although I cannot confirm as I was not at the pc when they were recording.
The only way this could have happened is if the recording service was restarted.
lif
Offline

Member

Posts: 155
Threads: 76
Joined: Dec 2004
#5
2006-04-05, 07:41 PM
sub Wrote:Sorry, I wont be changing this. Just dont restart the recording service whilst its recording.

But I've also tried scenario where machine running GBPVR looses power during recording. Short power loss initiates computer to restart. After restart GBPVR service is going to continue recording (very good!) but when afterwards trying to watch recording inside GBPVR it plays only the last part. And if user is "dumb" enough and deletes recording, it also removes the first (unplayed) part of recording. I suppose the WSF (wife-satisfaction-factor Smile would be greater if GBPVR could play recordings' all parts...

Sub, if you're not going to change this part of code, then I initiate public call to someone to write a tool which could be added to postrecording.bat which task is to check when recording ends, if there is any previously "left" parts then insert these also into gbpvr.mdb table.
--- 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 Smile
JonnyCam
Offline

Posting Freak

Posts: 1,153
Threads: 87
Joined: Feb 2006
#6
2006-04-06, 02:41 AM
Hello,

Instead of a tool, you could put something in the post processing to check if any files have -2 (or whatever gets appended when it's a 2 part file) and if it finds them it can invoke the MpegImport tool (on the Wiki or Forum - cant remember where) to import the first part of the recording into the DB.
So you would still have to play both parts of the file - but seeing as this would only occurr if you restart the recoridng service - which I assume is not too often - it wouldnt be too much of an issue would it?

If the PVR is recording something for my partner, I dont do anything whihc I think could affect the recording service - less I feel the wrath of a women missing her programs.

If there is a power failure - well - what can you do! - if you are concerned about this get a cheap UPS device of some sort which will last for 5 minutes or so. If I have a power failure (or a satellite failure as we had in NZ last week) lasting longer than that - it's bad luck I guess.

I'm not sure how my idea about the post processign would work - but the batch commands would be simple enough. You may also invoke an MPEG joiner and join the 2 parts of the show together so when you select it from the recordings menu - you only see one entry which is the complete show (minus restart time etc) (then have the batch remove the 2 part files so you dont lose disk space)

Just an idea..
lif
Offline

Member

Posts: 155
Threads: 76
Joined: Dec 2004
#7
2006-04-06, 07:55 AM
I think that your idea is more accurate and greater than mine which affects messing with db. Sure, one line DOS command line script could do this. There in db is the pointer to latest file, so just copy latest part to the end of the first one and then rename file to same name as the latest part had and thats it. Sure, lots of disk activity, but I guess this is the fastest and easiest solution. Thanks! Smile
--- 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 Smile
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#8
2011-05-11, 05:14 AM
lif Wrote:I think that your idea is more accurate and greater than mine which affects messing with db. Sure, one line DOS command line script could do this. There in db is the pointer to latest file, so just copy latest part to the end of the first one and then rename file to same name as the latest part had and thats it. Sure, lots of disk activity, but I guess this is the fastest and easiest solution. Thanks! Smile

Old thread I know, but as I aslo made a wishlist item for it here :

http://forums.nextpvr.com/showthread.php...highlight=

I was wondering if some kind fellow could help with a postprocessing.bat script which would do this. My PC seems to restart every time a Windows Udpate goes on...

Ta!

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
griffy
Offline

Member

Posts: 138
Threads: 15
Joined: Nov 2008
#9
2011-05-11, 05:25 AM
Just set up a folder under 'Video Library' that points to your 'TV Recordings' folder and you can see all the files in the event that this happens, that's what I do.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#10
2011-05-11, 07:32 AM
jksmurf Wrote:My PC seems to restart every time a Windows Udpate goes on...
Urrrm, turn off automatic installation of Windows Updates perhaps?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  EPG - no show details Ger 12 3,176 2025-04-03, 12:19 PM
Last Post: mvallevand
  Audio buzzing second time recording launched. dennit 2 4,509 2012-12-09, 11:28 PM
Last Post: dennit
  Inhibit Computer Shutdown While Recording rwnz 52 29,803 2012-04-03, 11:40 AM
Last Post: pBS
  Start PC for recording, Sleep/Hibernate when done Basher52 6 4,903 2011-12-17, 02:52 PM
Last Post: Sykor
  intermittent recording failures bcdudley 6 3,565 2011-09-28, 07:28 AM
Last Post: bcdudley
  Recording fails but only on one channel (live viewing still works) dshoup 5 3,465 2011-09-19, 01:15 AM
Last Post: sub
  Sattelite interent recording? crsfooddude 1 2,115 2011-07-26, 02:32 AM
Last Post: mvallevand
  Recording problem with Hauppauge Nova-S USB2 ... softfoot 4 3,329 2011-06-27, 02:06 AM
Last Post: sub
  How to kill an orphan Live TV recording? martint123 2 2,313 2011-05-16, 05:33 PM
Last Post: martint123
  ABC Australia EPG lists same show three times 1 min apart. Records multiple.. CCCMikey 11 5,902 2011-04-17, 09:38 AM
Last Post: CCCMikey

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode