Unable to open .vprj file that has ampersand

JavaWiz

New member
I am running VideoRedo version 3.10.3.629 - Nov 9 2011.

The program will not open a .vprj file that has an ampersand (&) in the filename. This does not work via a batch command call, the open project dialog in the program, or by dropping the file on a running version of the program. However, it should be noted, I can open a .ts video file, just not a .vprj project file.

For example, I cannot open the below files via batch, program (project open dialog) or drag-and-drop:
D:\PVR\Recordings\TVShows\Secrets and Lies\Secrets & Lies.S04E67.The Affair.VPrj
D:\PVR\Recordings\TVShows\Secrets and Lies\Secrets & Lies.S04E74.The Sister.VPrj
D:\PVR\Recordings\TVShows\Secrets and Lies\Secrets & Lies.S04E81.The Jacket.VPrj
D:\PVR\Recordings\TVShows\State of Affairs\State of Affairs.S01E02.Secrets & Lies.VPrj

Again, note it does however open a .ts video file with the ampersand in the filename.

As I have scripted the process of marking and removing commercials, I need to be able to trigger this via a .cmd file.

It appears this issue was fixed in a prior version of the program (Version 2-5-3-500, Release date: November 10, 2006) according the the release notes:

Fix: Batch: Ampersand "&" in the filename would cause file name problems in batch.

Any suggestions?
 

phd

Super Moderator
It works OK here. I tried all 3 methods.

Is this a recent issue or are you a new user?

Try a fresh download and uninstall/reinstall.
 

JavaWiz

New member
I've been using the software for several years. Has there been a fix since version 3.10.3.629 - Nov 9 2011?

Did you use Open Project from the file menu?
Did your filename have an ampersand (not the directory name)?
 

phd

Super Moderator
I renamed my file to yours:

Secrets & Lies.S04E81.The Jacket.mpg

I created a VPrj file and loaded it:

Secrets & Lies.S04E81.The Jacket.Vprj
 

JavaWiz

New member
Very weird. Are there any verbose logging settings that can be turned on? When I look in the VideoReDo.log there do not seem to be any messages related to my attempt to open the project file...

Attached is the .vprj file and associated log file (with added messages before and after file open attempt).
 

Attachments

Dan203

Ex-Senior Developer
Was that project generated by comskip? or maybe kmttg? The & needs to be escaped. So in the project XML it needs to be replaced with & VideoReDo does this automatically when it saves a project, so I'm guessing this project came form some 3rd party software.
 

JavaWiz

New member
Was that project generated by comskip? or maybe kmttg? The & needs to be escaped. So in the project XML it needs to be replaced with & VideoReDo does this automatically when it saves a project, so I'm guessing this project came form some 3rd party software.
Exactly right, I use comskip to mark the commercial skips when recording, then I remove all the commercials via VideoRedo via a batch script so I can manually preview and adjust markers prior to removing... I'll let the author of Comskip know this so he can add it to his program when generating the .vprj files.

Thanks for your help!!
 

SnoopyDog

Member
Was that project generated by comskip? or maybe kmttg? The & needs to be escaped. So in the project XML it needs to be replaced with & VideoReDo does this automatically when it saves a project, so I'm guessing this project came form some 3rd party software.
Would not the easiest solution be copy/paste the special XML char escape routine from the V4 Batchmanager code into V5 instead? V4 definitely escapes the ampersand just fine when loading a comskip Vprj. Please do not complicate things even further. Its bad enough you guys have not followed through on unicoding your software yet. Its best i shut my mouth now cuz i have no pleasant words left for you.
 
Top Bottom