NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 209 210 211 212 213 … 433 Next »
Ability to delete a single recording from the recently_deleted table

Ability to delete a single recording from the recently_deleted table
cbgifford
Offline

Member

Posts: 189
Threads: 20
Joined: Aug 2014
#1
2014-08-09, 10:15 PM
Hello,

What I want to be able to clear Recording History for individual episodes.

I record older television shows for my video library and don't delete them after watching since I enjoy watching them multiple times. I've set the advanced configuration setting to 9999 so they don't record again. On occasion, a recording either gets messed up or accidentally deleted and I need to be able to record the episode again the next time it airs.

I've looked at the NPVR.DB3 database and see the scheduled_recording table that stores all the recordings that have been recorded or are scheduled to be record. In the Recently_deleted table I can see the unique_identifier field that correlates to the unique_id field in the EPG_Event table so NPVR knows not to record it again. However, I don't see this field in the scheduled_recordings table. I'd like to be able to delete the one episode from the recently_deleted table. I know it's being stored somewhere because you're adding it when NPVR deletes the recording but I don't see how you are relating the scheduled_recording record to the unique_id data in the EPG

I'm an accomplished database programmer and would be more than willing to develop a small utility to accomplish this and share it with the community as well as any other utilities I might develop in the future if you would be willing to share how you are relating the recently_deleted table to the scheduled_recordings table when you delete a recording.

I did search the forums and you indicated in one post that when a recording is flagged as failed for whatever reason, it would not be added to the recently_deleted table. I could possibly set the status to a failed indication or update the failure_reason field and let NPVR manage the recently_deleted table.

I look forward to a long association with the NPVR community.Big Grin

Signed,
An ex-Beyond TV user Cool
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#2
2014-08-09, 10:48 PM
The unique id is in the EPG_EVENT table. It uses this to decide if it creates a SCHEDULED_RECORDING entry. ie, you'd need to find the unique id from the EPG_EVENT table for the show in question, and delete it from the RECENTLY_DELETED table.
cbgifford
Offline

Member

Posts: 189
Threads: 20
Joined: Aug 2014
#3
2014-08-09, 11:33 PM
sub Wrote:The unique id is in the EPG_EVENT table. It uses this to decide if it creates a SCHEDULED_RECORDING entry. ie, you'd need to find the unique id from the EPG_EVENT table for the show in question, and delete it from the RECENTLY_DELETED table.

Understand that but the scheduled_recording table does not the unique_id field unless...

Ahhh! I found it! The SQLite db browser I'm using did not show all the data in event_details field unless I tried to edit it. That field contains an XML structured string!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording movies / TV to XBMC directory stucture spinnaker 10 3,994 2024-06-03, 03:56 AM
Last Post: Rod Hutchinson
  Not recording errors vidwiz 4 1,217 2024-04-17, 05:39 PM
Last Post: mvallevand
  Add Series/Episode Info to Recording Metadata andrewj 2 1,273 2023-11-20, 03:42 PM
Last Post: sub
  Failed recordings won't delete Spid4567 3 2,698 2023-07-14, 10:13 PM
Last Post: ZeDoZ
  Recording to a network drive woes. 2leftfeet 12 7,726 2022-04-05, 08:03 PM
Last Post: mvallevand
  device needed for recording David209 2 1,857 2021-04-04, 08:47 AM
Last Post: David209
  PC not going to sleep after recording LeoL 7 3,695 2021-04-01, 07:17 PM
Last Post: Handy.Man
  HDHomerun recording bizzarely not working Jean0987654321 3 2,283 2021-03-27, 03:23 PM
Last Post: Jean0987654321
Video Restrict Recording Space foucomm 1 1,463 2021-01-30, 09:25 PM
Last Post: mvallevand
  Directory dropdown on the recording edit dialog MicahMakenzie 1 1,629 2021-01-11, 04:37 PM
Last Post: Graham

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

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

Linear Mode
Threaded Mode