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 … 20 21 22 23 24 … 433 Next »
Any way to temporarily suspend scheduled recordings?

Any way to temporarily suspend scheduled recordings?
tinstaafl
Offline

Member

Posts: 63
Threads: 12
Joined: Jan 2016
#1
2019-06-16, 06:07 PM
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 5.2.x, KODI 19.3 Matrix, Intel Core i5-3570K 3.40-3.80 GHz, 16GB 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, Avast Free
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,699
Threads: 767
Joined: Nov 2003
#2
2019-06-16, 06:10 PM
Sorry, no there isn't.
tinstaafl
Offline

Member

Posts: 63
Threads: 12
Joined: Jan 2016
#3
2019-06-16, 06:23 PM
sub Wrote: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 5.2.x, KODI 19.3 Matrix, Intel Core i5-3570K 3.40-3.80 GHz, 16GB 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, Avast Free
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,699
Threads: 767
Joined: Nov 2003
#4
2019-06-16, 06:29 PM
tinstaafl Wrote: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.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,699
Threads: 767
Joined: Nov 2003
#5
2019-06-16, 06:30 PM
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.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,919
Threads: 956
Joined: May 2006
#6
2019-06-16, 07:56 PM
sub Wrote: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
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,666
Threads: 170
Joined: Jun 2007
#7
2019-06-16, 08:03 PM
mvallevand Wrote: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:

sub Wrote: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.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,666
Threads: 170
Joined: Jun 2007
#8
2019-06-16, 08:08 PM
BrettB Wrote: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.)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,919
Threads: 956
Joined: May 2006
#9
2019-06-16, 08:26 PM
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
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,919
Threads: 956
Joined: May 2006
#10
2019-06-16, 08:45 PM
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
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Failed recordings won't delete Spid4567 3 2,422 2023-07-14, 10:13 PM
Last Post: ZeDoZ
  All my recordings start 90 sec early ncsercs 2 1,338 2022-03-19, 03:28 AM
Last Post: sub
  Auto Update EPG not running as scheduled? BairStrokes 2 1,714 2021-03-26, 12:02 PM
Last Post: NumberFive
  Automation EPG Updates not being scheduled NumberFive 4 2,111 2021-03-22, 02:27 PM
Last Post: NumberFive
  Wake - Sleep Interaction -> Failed Recordings mikeh49 48 14,342 2021-03-21, 11:21 PM
Last Post: careads
  Most recordings are zero bytes virtualpaul 4 2,014 2021-01-29, 12:55 PM
Last Post: virtualpaul
  Recording service stopped or not running at scheduled time MattInetroit 3 1,877 2021-01-08, 12:03 AM
Last Post: mvallevand
  Recordings with Next PVR 4.2.5 (CL0116) have background music but no voice in record DavidF 4 2,050 2021-01-07, 08:47 AM
Last Post: sub
  Auto Update EPG not running as scheduled Bobbybear 10 3,574 2020-10-24, 09:24 AM
Last Post: Bobbybear
  Recordings not playing in browser FamilyGuyFan 1 1,414 2020-10-22, 10:18 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode