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 »
WizRenameRecording v0.1.0.0

 
  • 0 Vote(s) - 0 Average
WizRenameRecording v0.1.0.0
linfor
Offline

Member

Posts: 157
Threads: 42
Joined: Jun 2005
#41
2008-07-14, 08:46 PM
When I open the exe there are no recordings showing for me to use for the test. How do I tell it where to look for the database?
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#42
2008-07-15, 03:05 AM
linfor Wrote:When I open the exe there are no recordings showing for me to use for the test. How do I tell it where to look for the database?
It determines the name by querying the registry as to the location of GBPVR, then constructing the connection string. It should find your gbpvr.db3 database in the gbpvr directory.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#43
2008-07-15, 03:34 AM
4zm4r3d02 Wrote:Thanks for the file, but it didn't help. Neither did disabling UAC. I guess WizRename just doesn't work on Vista.Sad

The good news, for me, is that it turns out that addepisode does work on Vista...so far!Smile
I recompiled with an option that may allow it to run under Vista. If you have some time, could you download and try this version?
4zm4r3d02
Offline

Senior Member

USA
Posts: 356
Threads: 90
Joined: May 2005
#44
2008-07-17, 12:13 AM
JavaWiz Wrote:I recompiled with an option that may allow it to run under Vista. If you have some time, could you download and try this version?
Sorry, this version doesn't work, either. Just get this message box
[ATTACHMENT NOT FOUND]
Followed by this one
[ATTACHMENT NOT FOUND]
So far, Windows hasn't notified me about any solutions.Rolleyes
Intel Core i7-4790 / 32GB RAM / Windows 10 Pro 64 bit / HDHomeRun CONNECT DUO Model: HDHR5-2US
lstepnio
Offline

Member

Posts: 81
Threads: 7
Joined: Jan 2007
#45
2008-08-10, 09:42 PM
I have a bit of loss of functionality over addepisode. I was hoping I could add this as feature request.

Code:
addepisode %1 "{show}-{yearshort}{month}{day}{[-]}{episode}">tmp/addepisode_%2_%RPPID%.tmp

for /f "tokens=*" %%i in (tmp/addepisode_%2_%RPPID%.tmp) do set new=%%i
"C:\Program Files\UnxUtils\usr\local\wbin\sleep.exe" "30s"
REM del /Q /F tmp\addepisode_%2_%RPPID%.tmp

This allows me to set the renamed recording full path to the "%new%" variable to use in the remainder of the script. This isn't working with WizRenameRecording unless I'm missing something. Thanks.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#46
2008-08-11, 05:23 AM
lstepnio Wrote:I have a bit of loss of functionality over addepisode. I was hoping I could add this as feature request.

Code:
addepisode %1 "{show}-{yearshort}{month}{day}{[-]}{episode}">tmp/addepisode_%2_%RPPID%.tmp

for /f "tokens=*" %%i in (tmp/addepisode_%2_%RPPID%.tmp) do set new=%%i
"C:\Program Files\UnxUtils\usr\local\wbin\sleep.exe" "30s"
REM del /Q /F tmp\addepisode_%2_%RPPID%.tmp

This allows me to set the renamed recording full path to the "%new%" variable to use in the remainder of the script. This isn't working with WizRenameRecording unless I'm missing something. Thanks.
Ok, you're going to have to help me out here, so I understand your script.

Code:
addepisode %1 "{show}-{yearshort}{month}{day}{[-]}{episode}">tmp/addepisode_%2_%RPPID%.tmp
That redirects the console output of the program to a file in the tmp directory called addepisode_(something)_(something else).tmp
Code:
for /f "tokens=*" %%i in (tmp/addepisode_%2_%RPPID%.tmp) do set new=%%i
This one I'm not so sure about. It reads the file just created, and sets the variable %new% to the LAST line in the file.
It then sleeps 30 seconds before continuing.

I guess for the FOR statement to work, the last line in the tmp file needs to be the full filename (drive:directory/file.ext).

Is this correct?

If so, I guess what you are asking is to have WizRenameRecording list the renamed file as the last console output line?
cato
Offline

Junior Member

Posts: 4
Threads: 0
Joined: Aug 2008
#47
2008-08-23, 02:06 AM
JavaWiz Wrote:I recompiled with an option that may allow it to run under Vista. If you have some time, could you download and try this version?

I'm having the same problem, but under XP SP3 (just did a fresh install last week). The recompiled version doesn't help.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#48
2008-08-23, 05:17 AM
cato Wrote:I'm having the same problem, but under XP SP3 (just did a fresh install last week). The recompiled version doesn't help.
Ok, now that I know this occurs not only on Vista, but also on XP, then that rules out the problem I was trying to solve with the prior version. I've actually tried running on a W2K machine and it also aborts.

I don't have access to my development machine for a couple weeks, so will be unable to work on this, but I have a few ideas. Could you check your evenvwr and see if you have a message similar to the following?

Code:
[SIZE=1][SIZE=2]EventType clr20r3, P1 wizrenamerecording.exe, P2 0.1.0.3, P3 48630c7f, [/SIZE][/SIZE]
[SIZE=1][SIZE=2]P4 wizrenamerecording, P5 0.1.0.3, P6 48630c7f, P7 23, P8 1, [/SIZE][/SIZE]
[SIZE=1][SIZE=2]P9 system.typeinitialization, P10 NIL.[/SIZE] [/SIZE]
lstepnio
Offline

Member

Posts: 81
Threads: 7
Joined: Jan 2007
#49
2008-09-03, 02:29 PM
I'm sorry for the delayed reply. I forgot to subscribe to the thread.

You are correct that what I'm asking for is for WizRename to output to console the renamed file as you desribed. This was the only way I could figure out to get the renamed filename back into a running ParallelProcessing.bat.

Just to clarify which I should of done in the first place the %RPPID% is just a random value to assist in making the .tmp file with the renamed file unique (set RPPID=%RANDOM%).

Thanks! Let me know if you have any other questions and I appreciate the tool you have written.


JavaWiz Wrote:Ok, you're going to have to help me out here, so I understand your script.

Code:
addepisode %1 "{show}-{yearshort}{month}{day}{[-]}{episode}">tmp/addepisode_%2_%RPPID%.tmp
That redirects the console output of the program to a file in the tmp directory called addepisode_(something)_(something else).tmp
Code:
for /f "tokens=*" %%i in (tmp/addepisode_%2_%RPPID%.tmp) do set new=%%i
This one I'm not so sure about. It reads the file just created, and sets the variable %new% to the LAST line in the file.
It then sleeps 30 seconds before continuing.

I guess for the FOR statement to work, the last line in the tmp file needs to be the full filename (drive:directory/file.ext).

Is this correct?

If so, I guess what you are asking is to have WizRenameRecording list the renamed file as the last console output line?
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#50
2008-09-04, 12:55 AM
lstepnio Wrote:You are correct that what I'm asking for is for WizRename to output to console the renamed file as you desribed. This was the only way I could figure out to get the renamed filename back into a running ParallelProcessing.bat.
WizRenameRecording v1.0.5.0 now outputs the renamed filename as the last line in the log. I think this should allow your batch file to work as before.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (9): « Previous 1 … 3 4 5 6 7 … 9 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Would Somebody Please Help Me With A WizRenameRecording Problem??? skycyclepilot 1 5,026 2010-05-20, 03:01 PM
Last Post: Gedanken
  WizRenameRecording - blank output hakras 21 9,116 2010-02-22, 05:03 AM
Last Post: JavaWiz
  WizRenameRecording issues reboot 6 3,433 2009-03-24, 09:01 PM
Last Post: reboot
  new issues WizRenameRecording reboot 8 3,899 2008-10-06, 10:19 PM
Last Post: reboot

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

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

Linear Mode
Threaded Mode