NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) SearchWiz & MovieWiz v
« Previous 1 … 6 7 8 9 10 … 16 Next »
new issues WizRenameRecording

 
  • 0 Vote(s) - 0 Average
new issues WizRenameRecording
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#1
2008-10-01, 09:34 PM
Code:
===========================================================
WizRenameRecording - Rename recording files and db entries.
Run on: 10/1/2008 2:31 PM (v0.1.0.5)
===========================================================

Parameters:
  [0]: F:\The King of Queens\The King of Queens_20081001_14001430.mpg
  [1]: {show}{[-]}{episode}

ERROR: Source file does not exist.
Complete: 10/1/2008 2:31 PM
Return code: 2


===========================================================
WizRenameRecording - Rename recording files and db entries.
Run on: 10/1/2008 2:31 PM (v0.1.0.5)
===========================================================

Parameters:
  [0]: F:\Married  With Children\Married  With Children_20081001_14001430.mpg
  [1]: {show}{[-]}{episode}

ERROR: Source file does not exist.
Complete: 10/1/2008 2:31 PM
Return code: 2
Simultaneous recordings fail. Seems recordings that end at the same time just don't work, but I can record 2 (or 3) at a time, and everything works, providing they END at different times.
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#2
2008-10-02, 03:58 AM (This post was last modified: 2008-10-02, 04:18 AM by JavaWiz.)
The error message indicates the source file(s) do not exist. Can you verify that:
F:\The King of Queens\The King of Queens_20081001_14001430.mpg
and
F:\Married With Children\Married With Children_20081001_14001430.mpg

actually exist on disk? Also verify that their create times are BEFORE the rename attempt occurred (ie 2:31pm)

EDIT: Looked at your other post, seems the files should be ok... Could you post your PostProcessing.bat file, and if you have anything in your ParallelProcessing.bat, post that as well.
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#3
2008-10-02, 02:20 PM (This post was last modified: 2008-10-02, 02:25 PM by reboot.)
Yes, they are recorded and play with no errors. The running of comskip generates the comskip log and txt and logo files as well as the .vprj for videoredo.
When the recording ends and the postprocessing.bat starts, is when everything screws up.
Nothing in parallelprocessing any more. Comskip runs thru gbpvr's config, and postprocessing is
Code:
REM the following calls videoredo to edit the file, then renamerecordings.
cscript //nologo "C:\Program Files\VideoReDoPlus\vp.vbs" "%~dpn1.VPrj" "%~dpn1_Cleaned.mpg" /t1 /q
Rem RENAME the old .mpg file and rename the new one to the old name
move "%~dpn1.mpg" "%~dpn1_original.mpg"
move "%~dpn1_cleaned.mpg" "%~dpn1.mpg"
DEL "%~dpn1.vprj"
DEL "%~dpn1.log"
DEL "%~dpn1.txt"

WizRenameRecording.exe "%~f1" "{show}{[-]}{episode}"
This is supposed to leave the renamed recording, and the original recording, intact, with everything else deleted.
Like I said. I can do multiple recordings with no problems, unless they END at the same time (with one minute post padding). That's when both seem to mess up. Wiz doesn't read the database properly, or won't run two of itself at the same time.
If I change one recording to 2 minutes post padding, everything works. I can (via task manager) confirm that comskip is running twice, videoredo is running twice, and wizrename runs twice, simultaneously.
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#4
2008-10-02, 02:36 PM
Does the VideoRedo step run successfully?

The WizRenameRecording indicates that the input file does not exist. Can you run it interactively and see if it will rename successfully?

I don't see anything in the script (or the program) that should cause a problem if there are two instances running.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#5
2008-10-03, 01:20 AM
I've added some additional logging to the program. If you can recreate, try this version, then post the log results...
lstepnio
Offline

Member

Posts: 81
Threads: 7
Joined: Jan 2007
#6
2008-10-06, 04:20 PM
I'm having the same issue with multiple recordings. The partial work-around I'm currently trying-out is introducing a random sleep time into the .bat files. I'll be trying to use "sleep %2m" or "sleep %2s" (%2 = channel number in the GBPVR processing batch files).

Is there code to deal with waiting for a lock in the database if another process has a lock? If I had to guess this is failing due to a failed lock of the database due to another process (other instance of rename) having a lock at the same moment. That being said I haven't looked at the source code or have seen any useful error to indicate this being the problem.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#7
2008-10-06, 07:52 PM
lstepnio Wrote:I'm having the same issue with multiple recordings. The partial work-around I'm currently trying-out is introducing a random sleep time into the .bat files. I'll be trying to use "sleep %2m" or "sleep %2s" (%2 = channel number in the GBPVR processing batch files).

Is there code to deal with waiting for a lock in the database if another process has a lock? If I had to guess this is failing due to a failed lock of the database due to another process (other instance of rename) having a lock at the same moment. That being said I haven't looked at the source code or have seen any useful error to indicate this being the problem.

The prior error:
Code:
Parameters:
  [0]: F:\The King of Queens\The King of Queens_20081001_14001430.mpg
  [1]: {show}{[-]}{episode}

ERROR: Source file does not exist.
Complete: 10/1/2008 2:31 PM
Return code: 2
indicates the source file does not exist. It has not gotten to the code that updates the db at that point. That particular code simple does a File.Exists(fileName) call which returns false (no exception).

I'm kind of stumped. If you can reproduce the error with the version attached in prior post, there are additional logging messages that may give some indication as to what is going on.
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#8
2008-10-06, 09:45 PM
OK, going to do a dual recording now, and let them finish completely, see what happens with the updated version.
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#9
2008-10-06, 10:19 PM
In doing a little more digging on my part, seems my muxer was overdue for an update, so while i was at it, I reloaded gbpvr over top of the existing. All seems well Smile
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Would Somebody Please Help Me With A WizRenameRecording Problem??? skycyclepilot 1 4,946 2010-05-20, 03:01 PM
Last Post: Gedanken
  WizRenameRecording - blank output hakras 21 8,841 2010-02-22, 05:03 AM
Last Post: JavaWiz
  WizRenameRecording issues reboot 6 3,260 2009-03-24, 09:01 PM
Last Post: reboot
  WizRenameRecording v0.1.0.0 JavaWiz 83 25,441 2008-11-24, 04:17 AM
Last Post: JavaWiz
  sluggish response issues windsorl 3 2,252 2008-02-06, 11:52 AM
Last Post: windsorl

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

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

Linear Mode
Threaded Mode