Overriding Metadata
There are times when you wish to override the metadata fetched from the internet with your own versions. Sapphire allows this through XML files. If you wish to override the metadata for a particular file, create an xml file in the same directory, with the same name except for the .xml extension, when Sapphire imports the data, it will also read the xml files, and use it to override all other data. For example, if you wished to override data for “300.avi”, you would create a file named “300.xml”. The format for the xml file is as follows:
<media>
<title>Title</title>
<summary>Summary of Media</summary>
<description>Description of Media</description>
<publisher>Publisher</publisher>
<composer>Composer</composer>
<copyright>Copyright</copyright>
<userStarRating>5</userStarRating>
<rating>TV-PG</rating>
<seriesName>Veronica Mars</seriesName>
<broadcaster>The CW</broadcaster>
<episodeNumber>101</episodeNumber>
<season>1</season>
<episode>1</episode>
<published>2006-01-01</published>
<genres>
<genre primary="true">Mystery</genre>
<genre>Drama</genre>
</genres>
<cast>
<name>Kristen Bell</name>
</cast>
<producers>
<name>Rob Thomas</name>
</producers>
<directors>
<name>Rob Thomas</name>
</directors>
</media>
Thanks to Eric Steil III for this example
Then, simply run the import tool, and Sapphire will read the data from this file.
Note: You do not need to complete every entry in this XML file. The data in this file is combined with data from other sources. If you wish to simply override a certain field, such as Title, make an XML file with only the Title entry, and the other fields will still remain as fetched from the internet.