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-23, 07:12   #1
Nicezia
Fan
 
Nicezia's Avatar
 
Join Date: Nov 2006
Location: Montgomery, Alabama
Posts: 300
Nicezia is on a distinguished road
Default Multiple Genre Fields In NFO?

Is it possible to use Multiple Genre Fields in a nfo file?

i.e.
Code:
<movie>Event Horizon</movie>
   ..
   ..
   ..
   <genre>Sci-Fi</genre>
   <genre>Thriller</genre>
   <genre>Horror</genre>
   ..
   ..
</movie>
Nicezia is offline   Reply With Quote
Old 2008-11-23, 10:21   #2
spiff
Grumpy Bastard Developer
 
spiff's Avatar
 
Join Date: Nov 2003
Posts: 7,714
spiff is on a distinguished road
Default

yes. why didnt you just try?
__________________
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-23, 21:55   #3
eggman
Junior Member
 
Join Date: Nov 2008
Posts: 11
eggman is on a distinguished road
Default

Right now I believe multiple Genre fields are handles as this:
Code:
<genre>Sci-Fi / Thriller / Horror</genre>
And that seems to work with XBMC Media Companion.

Although multiple genre fields would be a better solution and more standard XML.

egg
eggman is offline   Reply With Quote
Old 2008-11-23, 23:17   #4
Nicezia
Fan
 
Nicezia's Avatar
 
Join Date: Nov 2006
Location: Montgomery, Alabama
Posts: 300
Nicezia is on a distinguished road
Default Survey Says

Quote:
Originally Posted by spiff View Post
yes. why didnt you just try?
Cause sometimes i can be real stupid!!!

I actualy did try it as soon as i got home, I'm working on a program similar to XBMC Media Companion at the moment which acesses the Video Libraries themselves, updates info from from NFO's & And acts as a middle ground for media managers Like Ant Movie Catalog, eXtreme Movie Manager, and so forth, basically it translates the tags from the XML and ties the data to XBMC tags, uses that information to write the nfo's and from there can either update the database(without launching XBMC - which i find useful forthe fact that i run my XBMC from my server on all my HTPCs in my home, and they use the same video/music databases, in essence updating all 3 libraries at once). I just needed to know hat fact so that i could know if itwas feasible to write out to nfo in that way. Was writing some code to output the XML at work when i asked, didn't have XBMC available. just a case of impatience i guess
Nicezia is offline   Reply With Quote
Old 2008-11-24, 00:33   #5
spiff
Grumpy Bastard Developer
 
spiff's Avatar
 
Join Date: Nov 2003
Posts: 7,714
spiff is on a distinguished road
Default

hehe okay you are forgiven

eggman, then xbmc companion does it wrong. while that works i believe it wont get the movie properly registered in each genre. i might be wrong long time since i wrote that code
__________________
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-24, 01:51   #6
eggman
Junior Member
 
Join Date: Nov 2008
Posts: 11
eggman is on a distinguished road
Default

Cheers spiff. I will contact the XBMC MC author.

egg
eggman is offline   Reply With Quote
Old 2008-11-24, 10:56   #7
billyad2000
Fan
 
billyad2000's Avatar
 
Join Date: Oct 2007
Posts: 660
billyad2000 is on a distinguished road
Send a message via MSN to billyad2000
Default

I will update MC,
When I frst wrote the program I based my nfo files on the exported XML, which output the genre as "<genre>Sci-Fi / Thriller / Horror</genre>"

At least it did when I last used it.
__________________
Homepage for XBMC Media Companion, and XBMC-DB - seperate nfo files http://www.billyad2000.co.uk
Forums for XBMC Media Companion http://billyad2000.darkbb.com/
billyad2000 is offline   Reply With Quote
Old 2008-11-24, 12:19   #8
spiff
Grumpy Bastard Developer
 
spiff's Avatar
 
Join Date: Nov 2003
Posts: 7,714
spiff is on a distinguished road
Default

billy,

possibly it did. however, that is only the internal representation, users might want to change the separator etc (configurable through advancedsettings), so i believe we changed it
__________________
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
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 07:29.


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