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 … 144 145 146 147 148 … 433 Next »
Where does nextpvr save the number of recordings?

Where does nextpvr save the number of recordings?
Sheik Yerbouti
Offline

Posting Freak

Posts: 922
Threads: 77
Joined: Jul 2006
#1
2016-02-05, 02:14 PM
I want to modify the number of recordings for the "keep"-functionality in Recurring Recordings, but I can't find it in the database. Can someone tell me what table and field it's in? I have some recurring recordings where "keep" was not set, and when I set it now, it starts counting with new recordings, not taking the current set of recordings in account.

Chris
[SIZE="1"]i5 750 4GB RAM, Windows 10 Home, HDHomeRun HDHR3-4DC, Digital Devices Cine CT, OSCam on a Raspberry Pi with a Smargo Smartreader+, Raspberry Pi 2 OpenElec Kodi client, Gigabyte Brix 2807 OpenElec Kodi client[/SIZE]
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#2
2016-02-05, 04:35 PM
the number of recordings to be kept per recurring recording is in the match_rules field of the RECURRING_RECORDING table. The actual field is <Keep>x</Keep>; 0 means keep all.

there's no running total of the number of completed recordings. instead it tallies it on-the-fly by looking at the SCHEDULED_RECORDING table for the recordings with status=2 (completed) and recurrence_oid=oid from the RECURRING_RECORDING table. If you delete and re-create a recurring recording, or schedule any single recordings, those recording will not have the matching recurrence_oid and therefore won't be included in the tally.

(also note that any recordings created by the "alternative airing on conflict" logic will be single recordings with recurrence_oid=0)
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,666
Threads: 170
Joined: Jun 2007
#3
2016-02-05, 05:19 PM
I believe that I recall sub recently said that if you use the Archive function to move a recording to a different drive/folder, it will also set the recurrence_oid to 0.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#4
2016-02-05, 06:01 PM
Correct. In fact that was my request, as the original archive function did not, which meant you could archive a recording and then it would still get auto-deleted which seemed to defeat the purpose of archiving it.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
Sheik Yerbouti
Offline

Posting Freak

Posts: 922
Threads: 77
Joined: Jul 2006
#5
2016-02-06, 10:14 AM
Thanks for explaning this, guys!

Chris
[SIZE="1"]i5 750 4GB RAM, Windows 10 Home, HDHomeRun HDHR3-4DC, Digital Devices Cine CT, OSCam on a Raspberry Pi with a Smargo Smartreader+, Raspberry Pi 2 OpenElec Kodi client, Gigabyte Brix 2807 OpenElec Kodi client[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR - EPG Setup - XML/XMLTV EPG - Zap2it & Zap2xml Erdrick 126 140,929 2024-01-29, 01:07 AM
Last Post: stoenjes44
  Failed recordings won't delete Spid4567 3 2,412 2023-07-14, 10:13 PM
Last Post: ZeDoZ
  NextPVR VOD through Kodi unmich 2 1,221 2023-06-18, 03:54 AM
Last Post: sub
  All my recordings start 90 sec early ncsercs 2 1,326 2022-03-19, 03:28 AM
Last Post: sub
  Can NextPVR switch graphics mode to best match content ? madbrain 2 2,150 2021-09-25, 02:25 AM
Last Post: madbrain
  NextPVR and Remote viewing MaxiBelas 2 1,666 2021-09-07, 05:29 PM
Last Post: sub
  Help with NextPVR evinahmad86 1 1,414 2021-07-23, 07:01 PM
Last Post: sub
  Wake - Sleep Interaction -> Failed Recordings mikeh49 48 14,290 2021-03-21, 11:21 PM
Last Post: careads
  Epg setting SD token NextPvr 4.2.4 casimir@zyxu.ca 1 1,561 2021-03-05, 01:38 PM
Last Post: mvallevand
  NextPVR hangs when tuning to offline channel? CormacBaptiste 2 1,918 2021-02-03, 01:29 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