This project has moved and is read-only. For the latest updates, please go here.

NPVR Rename .. encode .. and replace in Database.

Nov 30, 2014 at 7:49 PM
Edited Apr 5, 2015 at 10:36 PM
It is very simple to transcode or rename NEXTPVR files and update the NEXTPVR database. NEXTPVR already supplies the tool to update the DB all you need is a Post command.

make sure in the NEXTPVR config.xml you have <StoreSeparateMetadataXml>true</StoreSeparateMetadataXml> set to true.

PostCustomCommandPath=C:\MCEBuddySage\NPVRTOOLS\nsctripthelpertest.bat
PostCustomCommandParameters=""%sourcefile%" "%convertedfile%""
PostCustomCommandHangPeriod=300
PostCustomCommandCritical=true
PostCustomCommandUISession=false
PostCustomCommandShowWindow=false


nsctripthelpertest.bat

"C:\Program Files (x86)\NPVR\NScriptHelper.exe" -Rename "%~f1" "%~f2"
del "%~f1"
exit 0

If you do not feel comfortable deleting the original you can always have MCEBUDDY move it to an archive fiolder.

NScriptHelper.exe Does NOT move/rename the actual file, only updates the database.

***** this only works when it is setup locally on NEXTPPVR server ****
Marked as answer by rboy1 on 12/2/2014 at 10:09 PM