2012-12-13, 01:15 AM
Whurlston to avoid hijacking a thread like we did to your YouTube post here is a nice annotated copy for movies
You can use xsd to make a class for it.
Here is a full link http://wiki.xbmc.org/index.php?title=Imp...rt_library also note this one-liner is a valid nfo file
http://www.imdb.com/title/tt$#######
Martin
Code:
<movie>
<title></title>
<originaltitle></originaltitle>
<sorttitle></sorttitle>
<rating></rating> <!-- 0 - 10 rating, can be decimal -->
<ratings>
<rating moviedb="imdb"></rating>
<rating moviedb="allocine"></rating>
</ratings>
<year></year>
<top250></top250> <!-- the IMDB top 250 ranking, integer 1 - 250 or empty -->
<votes></votes> <!-- currently unused in YAMJ -->
<outline></outline> <!-- a short plot description -->
<plot></plot> <!-- a longer plot description -->
<tagline></tagline> <!-- The tagline for the movie -->
<runtime></runtime>
<premiered></premiered> <!-- the release date of the movie -->
<thumb></thumb> <!-- url of poster image. use URL formatting, such as http:// for internet resources or file:/// for local resources -->
<fanart></fanart> <!-- url of fanart image. use URL formatting, such as http:// for internet resources or file:/// for local resources -->
<mpaa></mpaa>
<certification></certification> <!-- Used for all certification that isn't MPAA and only used if imdb.getCertificationFromMPAA=false -->
<playcount></playcount> <!-- currently unused in YAMJ -->
<watched></watched> <!-- This will mark the movie watched or unwatched -->
<id></id> <!-- the IMDB id of the movie. includes the leading "tt". Use an id of 0 or -1 to disable further internet plugin scraping. -->
<id moviedb="allocine"></id> <!-- the allocine id of the movie. This should work for other plugins using their PLUGIN_ID as "moviedb" value -->
<id moviedb="filmweb"></id> <!-- the filmweb id of the movie. This should work for other plugins using their PLUGIN_ID as "moviedb" value -->
<filenameandpath></filenameandpath> <!-- currently unused since YAMJ determines path from searching the configured libraries -->
<trailer></trailer> <!-- multiple trailer records may exist -->
<genre></genre> <!-- multiple genre records may exist, including any custom ones -->
<credits>
<writer></writer> <!-- Writer name, one per entry -->
</credits>
<director></director>
<company></company> <!-- The studio company that produced the movie -->
<studio></studio> <!-- Synonym for company tag -->
<country></country> <!-- Country the video was produced in -->
<actor> <!-- Multiple actor records may exist -->
<name></name>
<role></role> <!-- Currently unused in YAMJ -->
</actor>
<sets>
<set>First Set Name</set>
<set order="?">Another Set With An Order</set>
</sets>
<!-- NOTE: All of the following tags will OVERWRITE the derived data -->
<videosource></videosource> <!-- The video source of the file -->
<videooutput></videooutput> <!-- The video output of the file -->
<fps></fps> <!-- The Frames Per Second value for the movie. NOTE: This should be a valid float value (with a ".") -->
<fileinfo>
<container></container> <!-- Container of the video -->
<streamdetails>
<video>
<codec></codec>
<aspect></aspect>
<width></width> <!-- Width of the video file -->
<height></height> <!-- Height of the video file -->
</video>
<audio>
<codec></codec>
<language></language>
<channels></channels>
</audio>
<subtitle>
<language></language>
</subtitle>
</streamdetails>
</fileinfo>
</movie>
You can use xsd to make a class for it.
Here is a full link http://wiki.xbmc.org/index.php?title=Imp...rt_library also note this one-liner is a valid nfo file
http://www.imdb.com/title/tt$#######
Martin