I sent you the wrong file. Not sure were the original XML went. So, I am not going to worry about it. Maybe I am mistaken and NPVR never generated one.
I doubled check. VAP is saying 138T2. I'll go ahead and re-replace the files using your method and VAPexe.138T3.
On a separate question, its been forever since I tried to write anything in Visual Basic. Im trying to eventually build a simple VB.net writer app that will load in and fix some of the older btvxml files in my library. I've completely forgotten how to build the <Project Name=> attribute from VB. I wrote this as a sample test script to write an XML that matches your older .btv format. Here is a script sample.
Dim XmlWrt As XmlWriter = XmlWriter.Create("C:\Users\Jamest\Desktop\Visual basic\MyName.xml", settings)
With XmlWrt
' Write the Xml declaration.
.WriteStartDocument()
' Write the root element.
.WriteStartElement("episode-properties")
' The Show nodes.
.WriteStartElement("title")
.WriteString(txtTitle.Text.ToString())
.WriteEndElement()
.WriteStartElement("Episodetitle")
.WriteString(txtEPTitle.Text.ToString())
.WriteEndElement()
OK some kind of mix up here with the VAP executable you're running. Two indications are:
1. When I run with exactly the same input xml for your "burden of proof …" example, I get the uid and recordingFileName elements in the output
2. In my output the season and episode numbers are 2-digits whereas they are single digits in your output.
So either one of two things has happened:
1. I provided the wrong executable in VAPexe138T2.zip
(or)
2. You didn't get the new executable installed in the runtime folder. Before any further changes, run VAP and see what version is displayed at the top.
Windows can make it tricky to replace files in the Program Files (86) folder tree. To be absolutely sure I usually force delete the .exe being replaced, which will require admin permission. Then copy in the new .exe.
Since I can't absolutely rule out that I provided a bogus .exe, I have placed a new one, Ver. 1.38T3, at this download link:
https://vap.videoredo.net/VAPexe138T3.zip
1. When I run with exactly the same input xml for your "burden of proof …" example, I get the uid and recordingFileName elements in the output
2. In my output the season and episode numbers are 2-digits whereas they are single digits in your output.
So either one of two things has happened:
1. I provided the wrong executable in VAPexe138T2.zip
(or)
2. You didn't get the new executable installed in the runtime folder. Before any further changes, run VAP and see what version is displayed at the top.
Windows can make it tricky to replace files in the Program Files (86) folder tree. To be absolutely sure I usually force delete the .exe being replaced, which will require admin permission. Then copy in the new .exe.
Since I can't absolutely rule out that I provided a bogus .exe, I have placed a new one, Ver. 1.38T3, at this download link:
https://vap.videoredo.net/VAPexe138T3.zip
On a separate question, its been forever since I tried to write anything in Visual Basic. Im trying to eventually build a simple VB.net writer app that will load in and fix some of the older btvxml files in my library. I've completely forgotten how to build the <Project Name=> attribute from VB. I wrote this as a sample test script to write an XML that matches your older .btv format. Here is a script sample.
Dim XmlWrt As XmlWriter = XmlWriter.Create("C:\Users\Jamest\Desktop\Visual basic\MyName.xml", settings)
With XmlWrt
' Write the Xml declaration.
.WriteStartDocument()
' Write the root element.
.WriteStartElement("episode-properties")
' The Show nodes.
.WriteStartElement("title")
.WriteString(txtTitle.Text.ToString())
.WriteEndElement()
.WriteStartElement("Episodetitle")
.WriteString(txtEPTitle.Text.ToString())
.WriteEndElement()
Last edited: