2011-07-14, 09:33 PM
sub Wrote:Here is a utility that might help you.Sorry to be a pain Sub, but I need help! I can't get this exe to work. Does it need certain files or to be in a certain place? Is the db3 file location hard-coded in? I've tried putting it in the scripts folder and the same folder as the db3 with no joy. I've also checked .NET 2.0 is working and updated. I also downloaded and copied to the same folder the NUtility dll files. Nothing works! And I tried using the mp4 extension and ts extension. No joy.
Get the title of recording from a filename:
NScriptHelper.exe -title <filename>
Get the subtitle of recording from a filename:
NScriptHelper.exe -subtitle <filename>
Get the description of recording from a filename:
NScriptHelper.exe -description <filename>
Change the filename of a recording the database:
NScriptHelper.exe -rename <original_filename> <new_filename>
This last one only updates the filename in database. Its up to you to rename the file on the filesystem. Probably best to rename the file before calling this.
I get:-
Code:
C:\Documents and Settings\All Users\Application Data\NPVR\Scripts>NScriptHelper
-title "d:\Recordings\American Chopper\American Chopper_20110530_20002100.mp4"
Unhandled Exception: System.IO.FileLoadException: Could not load file or assembl
y 'NUtility, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of it
s dependencies. The located assembly's manifest definition does not match the as
sembly reference. (Exception from HRESULT: 0x80131040)
File name: 'NUtility, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
at NScriptHelper.Program.Main(String[] args)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\M
icrosoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure lo
gging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fus
ion!EnableLog].
C:\Documents and Settings\All Users\Application Data\NPVR\Scripts>