Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Any way to temporarily suspend scheduled recordings?

  1. #1
    Join Date
    Jan 2016
    Location
    Charlotte, NC USA
    Posts
    57

    Any way to temporarily suspend scheduled recordings?

    I am asking because I usually shut down my computer when I am going to be away for several days or more.

    Then when I return I am greeted with a long list of failed recordings because the recording service was (obviously) not active at the scheduled recording times.

    After manually deleting the failed recordings, all is well again.

    So I was wondering if there is a way to manually suspend/pause all scheduled NPVR recordings for my "away" time, other than deleting them from the scheduled recordings list?
    Windows 7 Pro x64, NPVR 4.2.4, NLite, NEWA, Kodi, Intel Core i3 3.4 GHz, 4GB DDR3 1600 RAM, nVidia GTX950 2GB GDDR5, HP Remote Control (Microsoft eHome), Hauppauge WinTV-DualHD USB Tuner, Winegard SS-3000 Indoor DTV/HDTV Antenna, Schedules Direct, Bitdefender Free

  2. #2
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    90,307
    Sorry, no there isn't.

  3. #3
    Join Date
    Jan 2016
    Location
    Charlotte, NC USA
    Posts
    57
    Quote Originally Posted by sub View Post
    Sorry, no there isn't.
    Aha! Thanks!

    Alternatively, how difficult would it be to export the active recording schedule data to a backup location, then delete the active schedule, followed by restoring the previously active schedule data at a later date?
    Windows 7 Pro x64, NPVR 4.2.4, NLite, NEWA, Kodi, Intel Core i3 3.4 GHz, 4GB DDR3 1600 RAM, nVidia GTX950 2GB GDDR5, HP Remote Control (Microsoft eHome), Hauppauge WinTV-DualHD USB Tuner, Winegard SS-3000 Indoor DTV/HDTV Antenna, Schedules Direct, Bitdefender Free

  4. #4
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    90,307
    Quote Originally Posted by tinstaafl View Post
    Aha! Thanks!

    Alternatively, how difficult would it be to export the active recording schedule data to a backup location, then delete the active schedule, followed by restoring the previously active schedule data at a later date?
    It's probably easier to just execute a one line sql statement when you get back, to delete all the failed recordings between two dates.

  5. #5
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    90,307
    If it's only a short period, you're only gonna have a handful of recordings, and it'd be simple to just manually delete them.

  6. #6
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,422
    Quote Originally Posted by sub View Post
    It's probably easier to just execute a one line sql statement when you get back, to delete all the failed recordings between two dates.
    What about sqlite

    update recurring_recording set enabled = 'N'

    assuming NextPVR respects the enabled field.

    Martin

  7. #7
    Join Date
    Jun 2007
    Location
    St. Paul, MN, USA
    Posts
    1,340
    Quote Originally Posted by mvallevand View Post
    What about sqlite

    update recurring_recording set enabled = 'N'

    assuming NextPVR respects the enabled field.
    In the OP's use case, though, when he got back, he'd have to use sqlite again to re-enable the recurring recordings. So, sub's suggestion:

    Quote Originally Posted by sub View Post
    It's probably easier to just execute a one line sql statement when you get back, to delete all the failed recordings between two dates.
    probably fits his case better. Then he doesn't have to do anything with the recurring recordings. And would just need to do one sql command to delete all the failed recordings.

  8. #8
    Join Date
    Jun 2007
    Location
    St. Paul, MN, USA
    Posts
    1,340
    Quote Originally Posted by BrettB View Post
    In the OP's use case, though, when he got back, he'd have to use sqlite again to re-enable the recurring recordings. So, sub's suggestion probably fits his case better. Then he doesn't have to do anything with the recurring recordings. And would just need to do one sql command to delete all the failed recordings.
    Thinking about it a bit more. If he didn't care about ever saving failed recordings, he could probably even put the sql command in the PostStartup script file and just have it automatically clear out any failed recording each time the server was started. (This presumes that the server has already marked all of the missed recordings as failed at startup before PostStartup gets called. If not, maybe add a delay/wait in PostStartup before running the sql.)

  9. #9
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,422
    I agree that sub's suggestion is best I was answering the question. Leaving the service as it will allow some unique id recording possibilities too.

    Martin

  10. #10
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,422
    As someone who loads other database, I think there is another risk of NextPVR creating empty folders in the recording directory before they are marked failed.

    Martin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •