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 … 511 512 513 514 515 … 1231 Next »
Recordings Failed due to date change?

 
  • 0 Vote(s) - 0 Average
Recordings Failed due to date change?
dinki
Offline

Senior Member

Posts: 416
Threads: 71
Joined: Mar 2006
#1
2007-07-18, 12:48 PM
Last night I wanted to watch something that was supposed to be recorded yesterday and found that the recording had failed. I looked at my recordings screen in EWA and found that I had very many failed recordings, all of which were on future dates. I deleted all of these and also deleted the recurring recordings associated with these. I tried to reschedule these recordings but I received a failure for the upcoming recordings. I'm guessing it's because these recordings are marked as deleted? I scheduled a new recording for a program I've never recorded and it recorded just fine. Also, I rescheduled some of the recurring recordings on a different channel (I have multiple NBC, CBS, ABC affiliates) and they scheduled fine as well.

Recently I mistakenly changed my gbpvr box's date to one month in the future (August). I rebooted, did a few things and then changed the date back to what it should have been.

Any ideas on what can be done to fix this? Will this 'auto correct' itself and only affect the recordings that were scheduled that had information in the database at the time of the time change, or is this not the problem at all?

Many thanks.
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#2
2007-07-18, 04:29 PM
It should sort itself out.
My machine recently got an incorrect date from time-a.nist.gov where I point my time grabber - it got 27th July instead of 7th July - it made a real mess of pending recordings. I ended up doing an 'empty epg' within config, deleting 'failed recordings', reloading the EPG and then keeping my eyes on it.
A bit of a nightmare at the time.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,731
Threads: 767
Joined: Nov 2003
#3
2007-07-18, 05:30 PM
Quote:Recordings Failed due to date change?
Yes.

When the recording service see it has pending recordings for a date in the past, it assumes it was turned off at the time the recording was supposed to occur, so marks the recording as failed.
Jim_
Offline

Senior Member

Posts: 696
Threads: 21
Joined: Dec 2005
#4
2007-07-18, 05:50 PM
dinki Wrote:Last night I wanted to watch something that was supposed to be recorded yesterday and found that the recording had failed. I looked at my recordings screen in EWA and found that I had very many failed recordings, all of which were on future dates. I deleted all of these and also deleted the recurring recordings associated with these. I tried to reschedule these recordings but I received a failure for the upcoming recordings. I'm guessing it's because these recordings are marked as deleted? I scheduled a new recording for a program I've never recorded and it recorded just fine. Also, I rescheduled some of the recurring recordings on a different channel (I have multiple NBC, CBS, ABC affiliates) and they scheduled fine as well.

Recently I mistakenly changed my gbpvr box's date to one month in the future (August). I rebooted, did a few things and then changed the date back to what it should have been.

Any ideas on what can be done to fix this? Will this 'auto correct' itself and only affect the recordings that were scheduled that had information in the database at the time of the time change, or is this not the problem at all?

Many thanks.


Unfortunately the failed recordings will be in the database until their time has passed.

Unless somethings changed, you’ll need to manually edit the sql or mdb database and delete the “RECORDING_SCHEDULE” entries that have a “status” of 3.

Or if you have sqlite3.exe in your gbpvr folder (and you’re using the sql database), you can create a batch file that will do it for you.
I run the example command in UpdateEPG.bat each evening to avoid overlapped listing in the guide.

DeleteFailed.bat
Code:
sqlite3 -separator ": " "C:\Program Files\DEVNZ\Gbpvr\GBPVR.DB3" " SELECT status, filename, manual_start_time FROM RECORDING_SCHEDULE where status = 3" >>"C:\Program Files\Devnz\GBPVR\logs\DeleteFailed.log"
sqlite3 "C:\Program Files\DEVNZ\Gbpvr\GBPVR.DB3" " DELETE FROM RECORDING_SCHEDULE where status = 3"

Pause


You can delete more than one recording type at a time by adding more types to the script.
Example:
sqlite3 -separator ": " "C:\Program Files\DEVNZ\Gbpvr\GBPVR.DB3" " SELECT status, filename, manual_start_time FROM RECORDING_SCHEDULE where status = 3 or status = 5 or status = 6" >>"C:\Program Files\Devnz\GBPVR\logs\DeleteConflicts.log"
sqlite3 "C:\Program Files\DEVNZ\Gbpvr\GBPVR.DB3" " DELETE FROM RECORDING_SCHEDULE where status = 3 or status = 5 or status = 6"



STATUS_PENDING = 0
STATUS_IN_PROGRESS = 1
STATUS_COMPLETED = 2
STATUS_COMPLETED_WITH_ERROR = 3 <failed
STATUS_PLACE_HOLDER = 4
STATUS_CONFLICT = 5
STATUS_DELETED = 6
[SIZE="1"]HP e9240f| Phenom II X4-945| Radeon HD4650 1-gig | 8 gig ram | Blu-Ray
Windows 7 64bit | 1TB system | 1.5TB Recordings | 3-TB Library
HDMI >> Sony 40" 1080p LCD TV
HVR-2250 | HVR-1290 | WinTV PVR USB2 | WinTV HD-PVR | GBPVR 1.4.7[/SIZE]
Projects: I-xmltv (Unsupported at this time) |
dinki
Offline

Senior Member

Posts: 416
Threads: 71
Joined: Mar 2006
#5
2007-07-18, 06:37 PM
Thanks for all the info guys!

Jim, I tried your script but it doesn't appear to have worked. The log file is 0bytes and the deleted entries are still there. Is the status 3 or is it 6? When I was trying to clean things up I deleted the entries from the EWA recordings page.
Jim_
Offline

Senior Member

Posts: 696
Threads: 21
Joined: Dec 2005
#6
2007-07-18, 07:13 PM
Forgot about the EWA’s option to delete failed recordings. If you deleted them in EWA, they should be gone and their wouldn’t be anything for the script to do.

As in my post above, Failed = 3
A user "canceled" recording = 6
[SIZE="1"]HP e9240f| Phenom II X4-945| Radeon HD4650 1-gig | 8 gig ram | Blu-Ray
Windows 7 64bit | 1TB system | 1.5TB Recordings | 3-TB Library
HDMI >> Sony 40" 1080p LCD TV
HVR-2250 | HVR-1290 | WinTV PVR USB2 | WinTV HD-PVR | GBPVR 1.4.7[/SIZE]
Projects: I-xmltv (Unsupported at this time) |
dinki
Offline

Senior Member

Posts: 416
Threads: 71
Joined: Mar 2006
#7
2007-07-18, 07:58 PM
I tried with 6 as well. I then dumped the EPG data and reimported and everything seems to be in order again. Thanks to all for the help.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  STV HD change to S2 Pob 1 5,302 2013-06-10, 10:07 AM
Last Post: martint123
  Live TV and recordings do not match greg in kansas 8 7,152 2013-02-22, 06:35 PM
Last Post: sub
  Can't view recordings on pc jerry430 8 6,778 2013-01-21, 07:27 PM
Last Post: jerry430
  Live TV not showing anything although recordings are OK. Pls advise. seymoria 8 4,796 2012-08-07, 05:07 PM
Last Post: ACTCMS
  CSI Miami Recordings Always In Spanish ga_mueller 6 4,624 2012-06-12, 12:41 AM
Last Post: mikeh49
  Recordings missing after switching hard drive tegat 8 5,004 2011-12-21, 03:00 AM
Last Post: tegat
  Recordings and live TV fail with TS mux dvasco 4 2,711 2011-06-22, 05:47 PM
Last Post: dvasco
  Stream errors in recordings with GBPVR seymoria 11 4,585 2011-06-19, 06:44 PM
Last Post: seymoria
  Setting for Numeric Channel Change Timeout? smajor 6 2,815 2011-03-16, 07:21 PM
Last Post: sub
  UK Fiver change to 5* Dava 4 2,235 2011-03-14, 08:22 PM
Last Post: Dava

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

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

Linear Mode
Threaded Mode