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 … 312 313 314 315 316 … 433 Next »
File in use problem

File in use problem
ttfitz
Offline

Senior Member

Posts: 285
Threads: 46
Joined: Sep 2008
#11
2012-03-21, 04:54 PM
mvallevand Wrote:Perhaps you stumbled on the problem that the file that was locked was not the .ts file Consider using

handle %~dpn1

to check for all the files.

Martin

Just wanted to let you know, this didn't work, kinda. In the middle of last night's record cycle, I went to look what was happening, and found about half my programs hadn't done the rename. This was really odd, so I went to look for the logs to find out why - and found there weren't any, ImageGrabLite hadn't run on them. Long story short, when I tried testing out the "handle" program and the setting of ERRORLEVEL, I found that I got an errorlevel of 0 whether a handle was found or not. So this doesn't seem a reliable way to check for the open files.

The reason for my "kinda" above is that, surprisingly, before the night was through, eventually all those files that weren't getting renamed DID, hours after they had finished. I had left things going and apparently at some point the handle program had returned an errorlevel of 1, and the rest of the postprocessing.bat file was run. So while it eventually "worked", there seems no reason for that log a delay, and the errorlevel doesn't seem to be consistent. I found in a google search someone reporting the same problem I had with handle when run on Win7 64-bit, which is what I am running.

So right now I just have a check that comskip has created its files, then wait another 20 seconds to make sure.
ttfitz
Offline

Senior Member

Posts: 285
Threads: 46
Joined: Sep 2008
#12
2012-03-21, 05:09 PM
mvallevand Wrote:Does your batch file match this logic? My example showed 1 is the no locked files 0 means a lock file was found.

Martin

Yep, I had used your example given in this thread, with just the %1 replaced.

When I tested it myself, I had a batch file that I passed a file spec to the handle program, then printed a message if the errorlevel was 1. I tried it with both a file that NPVR was currently being written to, and one that was long finished. In every case, whether handles were returned or not, the errorlevel was not 1.
raceviper13
Offline

Junior Member

UA
Posts: 33
Threads: 4
Joined: Jun 2007
#13
2012-03-22, 11:47 AM
This program might work very well.

http://www.emptyloop.com/unlocker/

It has a command line option. just run unlocker /? to get the CLI options.
« 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
  incorrect frequency in adelaide .ini file spin35 5 3,202 2023-02-01, 05:40 PM
Last Post: sub
  NPVR4 and MPC-HC problem The Solutor 29 7,639 2021-07-27, 03:45 PM
Last Post: The Solutor
  ts file shows length too long? SuttonWillow 2 2,065 2021-03-15, 01:56 PM
Last Post: mvallevand
  Problem locking on to a tuner? time_lord 7 3,375 2021-01-09, 12:06 PM
Last Post: Graham
  EPG XMLTV problem DBHall 8 4,023 2021-01-01, 12:34 PM
Last Post: Graham
  Problem with Intel 4600 graphics driver pol098 1 1,545 2020-12-01, 12:44 PM
Last Post: romdl
  Unhandled Exception: file name too long (idiots at pbs made it super long) jobby99 1 1,510 2020-10-29, 09:40 PM
Last Post: mvallevand
  Problem setting up recording for some programmes LeoL 5 2,206 2020-10-21, 09:34 PM
Last Post: LeoL
  ts file shows length too long SamM 4 2,464 2020-10-06, 02:45 AM
Last Post: Ehrlichia
  Replayed recording problem Tj.2 25 10,119 2020-09-22, 04:51 PM
Last Post: baj1

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

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

Linear Mode
Threaded Mode