NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 5 6 7 8 9 … 93 Next »
Changing the recording priority on recurring recordings

 
  • 0 Vote(s) - 0 Average
Changing the recording priority on recurring recordings
cbgifford
Offline

Member

Posts: 189
Threads: 20
Joined: Aug 2014
#1
2014-08-14, 02:43 AM
I have a large household and record quite a bit and I have a need to be able to change the recording priority from time to time. I normally have enough tuners to record everything but sometimes I want to be able to watch a show as soon as it comes on.

I've looked at the recurring_recording table and I've got a pretty good concept of what needs to be done. I would need to reorder everything below a recording that I moved up and visa versa on a recording that I moved down. Then I would need to update the recurrence_oid for everything in the scheduled_recording table. Since the OID and priority fields are the same I would keep them the same, however, I don't see an underlying reason to do so as long as the recurrence_oid matched the oid. Have I missed anything?

I probably would not be good at writing a plug in but more as a stand-alone utility managing the database tables.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,837
Threads: 954
Joined: May 2006
#2
2014-08-14, 02:56 AM
Did you consider using the UI to move them, kind of a manual bubble sort?

Martin
cbgifford
Offline

Member

Posts: 189
Threads: 20
Joined: Aug 2014
#3
2014-08-14, 03:09 AM
mvallevand Wrote:Did you consider using the UI to move them, kind of a manual bubble sort?

Martin

If you're talking about the Sort option on the menu at the top of the Recurring recordings display, it appears to be appearance only, A-Z, Z-A, Priority Ascending, Priority Descending. If you mean in the SQLite DB browser app, I'm not sure how I would be able to accomplish that programmatically. If you're talking about some other UI, I would have no idea where. I was under the impression after searching the forums that there is no way to do it and it's one of the things Sub has on his to-do list
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#4
2014-08-14, 03:13 AM
If you've got one of the priority orders selected, you can use the skip buttons to move the selected item up/down the priority list.
Kiwi
Offline

Member

Posts: 215
Threads: 32
Joined: Oct 2012
#5
2014-08-17, 03:13 PM
The keyboard equivalent for "skip left" and "skip right" are the Ctrl-Left and Ctrl-Right. Smile
TBS6285 PCI-E DVB-T2/T/C Quad Tuner Card (This is a bad card, I have so many problems with it)
TBS6281 PCI-E DVB-T2/T/C Dual Tuner Card
Hauppauge WinTV-HVR-2200 PCI-E
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Custom recording tomx 2 429 2025-02-07, 09:14 AM
Last Post: tomx
  API call for Recording Complete linustorvalds 1 289 2025-01-19, 02:11 PM
Last Post: mvallevand
  Manual recording API mvallevand 2 920 2023-11-09, 02:14 PM
Last Post: mvallevand
  Seeking explanation for recurring schedule fields timeslotStart and timeeslotEnd scJohn 4 2,039 2020-07-14, 10:13 PM
Last Post: scJohn
  Recording direct to GPhotos API rgonzalez 0 1,407 2020-06-29, 04:45 AM
Last Post: rgonzalez
  Recurring Recording URL Parameters jcole998 2 2,900 2019-09-19, 01:08 PM
Last Post: jcole998
  Get recording length from stream skogl 46 13,542 2019-08-15, 09:34 PM
Last Post: sub
  Import/export recordings via API? whurlston 4 3,762 2019-02-19, 11:48 AM
Last Post: Graham
  Web command to create recurring any channel mvallevand 2 2,563 2019-02-04, 03:09 PM
Last Post: mvallevand
  Unexpected result when deleting a pending recording scJohn 5 3,661 2018-05-06, 10:09 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode