XBMC Community Forum  

Go Back   XBMC Community Forum > Development > Scraper Development

Scraper Development Developers forum for meta data scrapers. Scraper developers only!
Not for posting feature requests, bugs, or end-user support requests!

Reply
 
Thread Tools Search this Thread Display Modes
Old 2008-11-15, 20:18   #1
eggman
Junior Member
 
Join Date: Nov 2008
Posts: 11
eggman is on a distinguished road
Default Differences between XBMC wiki NFO spec and Atlantis Exported xml

Hi Gents,

Congratulations on the Atlantis release - well done!

I am helping test YAMJ (Yet Another Movie Jukebox). This is a project for the Networked Media Tank platform (aka Popcorn Hour) that is implementing the XBMC nfo / xml format for the video library.

I notice there are some differences between the XBMC wiki spec for the NFO files and the actual exported XML from a Video Library export.

The following fields are in the XML export, but not documented on the wiki as being part of the "movie" data type:
Code:
<fanart url="http://www.meligrove.com/">
            <thumb preview="images/posters/movies/thumbnails/tt0411061.jpg">images/posters/movies/jpg/tt0411061.jpg</thumb>
        </fanart>
<playcount>0</playcount>
<file></file>
<path>Z:\Movies\Star Wars The Clone Wars Blu-Ray</path>
<premiered></premiered>
<status></status>
<code></code>
<aired></aired>
<album></album>

Additionally the following field is in the NFO files, but not exported from the video library export:
Code:
<watched></watched>

When an NFO file that contains these additional fields is run through an external tool such as XBMC Media Companion, the additional fields in the library export file are deleted.

What should the spec for "movie" type NFO files be?

I am asking this because one of the objectives of the YAMJ implementation of the XBMC NFO is to maintain interoperability between XBMC and associated tools and YAMJ.

Cheers,
egg
eggman is offline   Reply With Quote
Old 2008-11-16, 12:24   #2
spiff
Grumpy Bastard Developer
 
spiff's Avatar
 
Join Date: Nov 2003
Posts: 7,715
spiff is on a distinguished road
Default

i can really only point you to the source code. but in any case i can comment on the fields you mention;

fanart is for fanart - they should be there. they are url's for fanart/backdrops.
playcount replaced watched. you now have a playcount, playcount > 0 is the same as watched=true before..
file and path you can ignore, they are not needed on an import. just exported for ease in the code.
status, code, aired, album is not relevant for movies.
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
spiff is offline   Reply With Quote
Old 2008-11-19, 03:49   #3
eggman
Junior Member
 
Join Date: Nov 2008
Posts: 11
eggman is on a distinguished road
Default

Thanks very much for the reply!

The YAMJ implementation of the XBMC NFO "standard" is coming along

egg
eggman is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:42.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project