This project has moved. For the latest updates, please go here.

Multiple Matches - Specifying in SeriesList.xml

Sep 1, 2011 at 6:51 PM

Just a quick post to document something that caught me out.

I had a series that was returning multiple matches from TVDB. I added to the serieslist.xml as instructed by the documentation. However, my series ("Thomas & Friends") had an ampersand (&) in it. Because the configuration is XML - you need to escape it as follows:

 

<Series>
	<seriesid>78949</seriesid>
	<SeriesName>Thomas &amp; Friends</SeriesName>
</Series>

 

Instead of:

<Series>
	<seriesid>78949</seriesid>
	<SeriesName>Thomas & Friends</SeriesName>
</Series>

Here's a list of all characters that need to be escaped in XML: 

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

Cheers