View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Apr 12, 2006 11:57 am 
Offline
Joined: Sun Mar 26, 2006 10:12 pm
Posts: 16
Location: Courtenay, BC Canada
I'm trying to burn a DVD in R5B7, however the title of the TV shows being burned is causing XML errors. Have a look:

Code:
/myth/mythburn/temp/tempdvdauthor2.xml:13: parser error : Comment not terminated
<!-- Survivor: Panama
<!-- Survivor: Panama -- Exile Island An Emerging Plan  -->
                      ^
ERR:  Error in parsing XML
***********************************
MythTV BurnDVD stopped due to error
***********************************
Sent UDP/XML packet to IP 255.255.255.255 and port: 6948


(I'm burning it for a friend, honest :))

Check out the double "--" within the quote.

Is there any way to modify the title so this error doesn't happen?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 12, 2006 6:16 pm 
Offline
Joined: Sat Feb 04, 2006 2:53 pm
Posts: 32
I think you'll have to alter the record in the mysql database.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 17, 2006 8:06 am 
Offline
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location: SF East Bay, CA
I haven't come across that one exactly.. but I just worked out the same kinds of problem with the "&". The program that I'm working with is "Penn & Teller.xml" (This is no BS! :lol: ) .. and dvdauthor gives up on the "&" charcter when trying to parse it.

Here's the solution that I worked out...

<vob file="Penn &amp; Teller.mpg" />

yeah, some other special characters have a simular fate! I used Google with the following search string to give me some hints.. "xml represent "&" character".

Here's a clip from http://en.wikipedia.org/wiki/Xml

"An entity reference is a placeholder that represents that entity. It consists of the entity's name preceded by an ampersand ("&") and followed by a semicolon (";"). XML has five predeclared entities: "

&amp; (&)
&lt; (<)
&gt; (>)
&apos; (')
&quot; (")

"Numeric character references look like entities, but instead of a name, they contain the "#" character followed by a number. The number (in decimal or "x"-prefixed hexadecimal) represents a Unicode code point, and is typically used to represent characters that are not easily encodable, such as an Arabic character in a document produced on a European computer. The ampersand in the "AT&T" example could also be escaped like this (decimal 38 and hexadecimal 26 both represent the Unicode value for the "&" character): "

<company-name>AT&T</company-name>
<company-name>AT&#x26;T</company-name>


Good Luck!

// Brian

_________________
// Brian - Hardware:
ASUS P5P800 - P4 3Ghz, 500 GB PATA HD
ASUS P5K-V - P4 Core2 Duo, 500 GB SATA HD
Hauppauge PVR-350, IR Blaster, Comcast Digital Cable
http://tech.groups.yahoo.com/group/KnoppMyth/
KnoppMyth R5F27 >> R5.5


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 30, 2006 10:15 pm 
Offline
Joined: Mon Feb 27, 2006 9:31 pm
Posts: 2
I'm having the same problem with trying to record an episode of Survivor to DVD (for my mom ;) ) as well. What ended up being the best work around for you? I'm not super keen on changing the database record, I'd rather make a change to the script so any Survior episodes I need to burn later don't have this problem. I'm not much of a coder, but I can find my way around vi ok if someone would be kind enough to point me in the right direction.

Cheers,
Jamie


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu