Movie XML Schema

Media Companion

XML Schema
Previous Top Next

Movie XML Schema.
The current movie xml schema is largely defined by XBMC and uses the following format:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<movie>
  <fileinfo>
    <streamdetails>
      <video>
        <width></width>
        <height></height>
        <aspect></aspect>
        <codec></codec>
        <format></format>
        <duration></duration>
        <bitrate></bitrate>
        <container></container>
      </video>
      <audio>
        <language></language>
        <codec></codec>
        <channels></channels>
        <bitrate></bitrate>
      </audio>
    </streamdetails>
  </fileinfo>
  <title></title>
  <alternativetitle></alternativetitle>
  <sorttitle></sorttitle>
  <year></year>
  <rating></rating>
  <votes></votes>
  <top250></top250>
  <outline></outline>
  <plot></plot>
  <tagline></tagline>
  <runtime></runtime>
  <mpaa></mpaa>
  <genre></genre>
  <credits></credits>
  <director></director>
  <studio></studio>
  <trailer></trailer>
  <playcount></playcount>
  <id></id>
  <createdate></createdate>
  <actor>
    <name></name>
    <role></role>
    <thumb></thumb>
  </actor>
  <actor>
    <name></name>
    <role></role>
    <thumb></thumb>
  </actor>
</movie>

There are several tags included that are not used by XBMC. These are:

The <playcount> tag was originally used to mark a movie watched or unwatched within XBMC, support for this tag has been removed from XBMC, but is still used to mark movies using Media Companion.

The <alternativetitle> tag is used by Media Companion and allows users to select from alternative titles when movies are first scraped.

The <createdate> tag is to allow Media Companion to sort movies in order that they are added.