NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 28 29 30 31 32 … 193 Next »
Auto-concatenate on GBPVR recording interruption?

 
  • 0 Vote(s) - 0 Average
Auto-concatenate on GBPVR recording interruption?
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#11
2012-08-18, 02:17 AM
johnsonx42 Wrote:Well yes, one way or another, restarting the recording service while recording is the only way to produce an orphan recording file and a -0 continuation file. So in a perfect world it would never happen. I don't live there.
Quote Murphy (slighly paraphrased) "if it can happen, it will and it will always wait for the worst time to do it (during one of the wife's recordings)..."
Jaggy
Online

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#12
2012-08-18, 02:36 AM
johnsonx42 Wrote:So in a perfect world it would never happen. I don't live there.

I certainly don't live there... even though we in this area are charged one of the highest rates for power in NZ we still have a pile of short, less than 30 second (plus more than our fair share of long) power-cuts & these end up with me having to pass onto the Boss that she will need to goto Videos...etc. etc.

So another +1 from here.
Jakesty
Offline

Member

USA
Posts: 147
Threads: 34
Joined: Apr 2012
#13
2012-08-18, 05:10 AM
Jaggy Wrote:I certainly don't live there... even though we in this area are charged one of the highest rates for power in NZ we still have a pile of short, less than 30 second (plus more than our fair share of long) power-cuts & these end up with me having to pass onto the Boss that she will need to goto Videos...etc. etc.

So another +1 from here.
Need to get yourself at least a low end UPS. I spent some money on mine, (APC BR-1500, about $200US), but mainly to keep the server and network hardware running including the HDHomerun network tuners. My UPS will also do an orderly shutdown of the server after a given number of minutes too. Hopefully so that databases don't get corrupted. This UPS and a whole house spike protection have me a little less worried about power now.

Speaking of the cost of power, my bill was $295 last month. Multiple freezers, several computers (24/7), and the A/C running almost non-stop, that's a killer bill!
Hypervisor Host, Linux Ubuntu VM, recording to QNAP NAS, NXTPVR 7.0.1.241229 

**I've donated, have you?** 2022, 2019, 2016
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,952
Threads: 956
Joined: May 2006
#14
2012-08-18, 04:21 PM
I didn't appreciate that so many people had power and PC problems during a recording. I thought about it more and the logic for the tool isn't tough but originally I was thinking it was something that could be done in ParallelProcessing.bat but it probably makes more sense in PostProcessing.bat if there are power issues. It also seems to only be useful if the recording services restarts and the file is still recording. There is no real hook to show what you might have recorded only the first portion(s) of.

Martin
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,667
Threads: 170
Joined: Jun 2007
#15
2012-08-18, 05:16 PM
Martin,

If you're thinking about adding some functionality to imageGrabLite to "help" with the situation where a recording ends up with multiple file pieces, I'll add a few more thoughts:

  1. I wouldn't want it to just "join" the files (either by concatination or some fancier fix to help with any timelline issues, etc.) becuase then in the reocrdings listing, it would appear as if the recording was fine and complete. And even beginning to play the file wouldn't give any indication that part of it was missing unless the watcher happened to look at the ending length of the timeline OSD.
  2. So, having multiple recording listings for each file part with some sort of idication (i.e. "Segment 1", "Segment 2", etc.) would at least give some indication of a "problem" with the recording.
  3. Often, shows that I record (especially cable network serieses) are repeated multiple times in the week. IF I happen to notice that there was a problem with a recording in time, I can often go in and schedule it to record the next time it is airing and then get a complete recording and delete the partial recordings.
  4. I have often thought that it would be nice if NPVR had a method of notifying me (for instance via email) if there is any sort of problem detected with a recording. (Multiple parts, no tuner available, tuned but no data in the .ts file, etc.), so that I would know about it in a timely manner and could take appropriate action (i.e. scheduling it to record the next time it airs, reboot/reconnect the DCR-2650, reseat the Avermedia card or a USB tuner so that it shows up in the devices list again, etc.). I thought that it might be possible to do something like this in the PostProcessing.bat file. (But, I don't think that would get run if there wasn't a tuner available. I'm not sure about the case where it is tuned, but the .ts file is 0 bytes...)
  5. What would be really cool would be if that problem detection tool would also automatically check the EPG to see if there was another airing of the same show (I guess this functionality might only work if the guide data included the unique id), and would schedule the next airing to record.

Just a few ideas to ponder...

- Brett
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#16
2012-08-18, 05:38 PM
mvallevand Wrote:I didn't appreciate that so many people had power and PC problems during a recording. I thought about it more and the logic for the tool isn't tough but originally I was thinking it was something that could be done in ParallelProcessing.bat but it probably makes more sense in PostProcessing.bat if there are power issues. It also seems to only be useful if the recording services restarts and the file is still recording. There is no real hook to show what you might have recorded only the first portion(s) of.

Martin
PostProcessing.bat sounds good to me. If the filename passed has a "-n" suffix, then there's probably one (or more) orphans with the same base filename. Adding each of these to the DB would be one way to go. It's a pity the suffix sequence starts with "-0" otherwise part one of the file could be renamed with suffix "-0" - then all the elements would sort to the correct order. obviously it all depends on normal service being restored while the program is still being broadcast.

Alex
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,952
Threads: 956
Joined: May 2006
#17
2012-08-18, 06:16 PM
Brett, I was going to add this to the program I use to schedule by unique id anyway so it is easy in North America to re-schedule I will flag these all these as errors and the Red warning order will tell you segment it is. I suppose I can do a reschedule on zero-byte files too.

Alex, when I add the records I will update the recorded start and end times with the file created and modified times, for the date sort.. Then name sort is meaningless because the name to NextPVR is simply the series name.

Since PostProcessing only runs on successful completes so it isn't very useful for error or watchdog style trapping.

Martin
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,723
Threads: 767
Joined: Nov 2003
#18
2012-08-18, 06:52 PM
See if this helps.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,667
Threads: 170
Joined: Jun 2007
#19
2012-08-18, 07:01 PM
mvallevand Wrote:I suppose I can do a reschedule on zero-byte files too.

Since PostProcessing only runs on successful completes so it isn't very useful for error or watchdog style trapping.

Martin

Martin,

Thanks! The zero-byte files option would be very helpful for me. I'm still occasionally having problems with the DCR-2650 where it just "disappears" from Windows. If I unplug and re-plug the USB cable, then it will come back and work fine. I think that it is some problem with the Hauppauge drivers, but they haven't been able to track it down.

Might you also be able to exit with a different return status so that the batch file could take some action such as sending an email message?

So this solution doesn't cover every possibility, but it is an improvement!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,952
Threads: 956
Joined: May 2006
#20
2012-08-19, 06:21 PM
BrettB do you still need the ability to automatically rerecord a 0 byte file after sub's change. You can can get your email if you add something like this to your post processing

Code:
@echo off
setLocal EnableDelayedExpansion
echo processing %1
for /f "tokens=* delims= " %%a in ('dir/b %1') do (
if %%~Za neq 0 goto notzero
echo email me
:notzero
echo all done
)

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  auto close popup channel list davy 3 520 2025-01-01, 11:14 PM
Last Post: sub
  Overwrite oldest recording with lock feature djenson 0 563 2023-09-28, 10:37 AM
Last Post: djenson
  Recording status displayed when finished coreymichael 6 1,081 2023-08-31, 05:32 PM
Last Post: sub
  Recording scheduling mzanetti 2 924 2023-07-28, 05:24 PM
Last Post: sub
  Feature Request: EIT Support, plus Stop and Save Recording. Chris4877 8 1,724 2022-09-12, 12:58 AM
Last Post: mvallevand
  Add manual recording - default time markn62 0 926 2022-02-14, 12:46 AM
Last Post: markn62
  Sorting Options for Recurring Recording List pkscout 1 930 2021-11-23, 07:51 PM
Last Post: sub
  Remove failed recurring recording artmetz 0 763 2021-11-17, 07:55 PM
Last Post: artmetz
  Edit recurring recording oliroe 8 2,267 2020-12-17, 08:15 PM
Last Post: oliroe
  Cleaning up recordings in order of recording date TheRealRoland 11 3,871 2020-12-09, 05:49 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