Media Companion
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Media Companion

Discussion and development board for the program Media Companion.
 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  

 

 Multiple Genre approach to be compliant with XBMC NFO

Go down 
3 posters
AuthorMessage
eggman
Junior Member
Junior Member



Posts : 19
Join date : 2008-11-12

Multiple Genre approach to be compliant with XBMC NFO Empty
PostSubject: Multiple Genre approach to be compliant with XBMC NFO   Multiple Genre approach to be compliant with XBMC NFO Icon_minitimeMon Nov 24, 2008 2:51 am

Right now XBMC Media Companion stores movies with multiple genres as:
Code:
<genre>Sci-Fi / Thriller / Horror</genre>

However that is not necessarily valid XML and not compliant with the XBMC nfo spec. It should be:
Code:

<genre>Sci-Fi</genre>
<genre>Thriller</genre>
<genre>Horror</genre>

Reference this thread here:
http://xbmc.org/forum/showthread.php?t=40885

Could you please change XBMC Media Companion to store the multiple genre information as multiple genre tags?

egg
Back to top Go down
billyad2000
Admin
billyad2000


Posts : 1326
Join date : 2008-09-20

Multiple Genre approach to be compliant with XBMC NFO Empty
PostSubject: Re: Multiple Genre approach to be compliant with XBMC NFO   Multiple Genre approach to be compliant with XBMC NFO Icon_minitimeMon Nov 24, 2008 12:00 pm

I based this on the exported XML XBMC db.

Would you comfirm that having multiple genre tags actually are imported into XBMC.
Back to top Go down
http://billyad2000.co.uk
eggman
Junior Member
Junior Member



Posts : 19
Join date : 2008-11-12

Multiple Genre approach to be compliant with XBMC NFO Empty
PostSubject: Re: Multiple Genre approach to be compliant with XBMC NFO   Multiple Genre approach to be compliant with XBMC NFO Icon_minitimeTue Nov 25, 2008 4:23 am

I will test within the next day or two and report back.

egg
Back to top Go down
DrDDT
Junior Member
Junior Member



Posts : 14
Join date : 2009-03-16

Multiple Genre approach to be compliant with XBMC NFO Empty
PostSubject: Re: Multiple Genre approach to be compliant with XBMC NFO   Multiple Genre approach to be compliant with XBMC NFO Icon_minitimeTue Mar 17, 2009 1:40 pm

Any updates on this?

I tested by manually adding an extra genre tag, and XBMC picks it up.

If the genre is changed to seperate tag/value pairs, will media companion be able to convert old format .nfo files?
Back to top Go down
billyad2000
Admin
billyad2000


Posts : 1326
Join date : 2008-09-20

Multiple Genre approach to be compliant with XBMC NFO Empty
PostSubject: Re: Multiple Genre approach to be compliant with XBMC NFO   Multiple Genre approach to be compliant with XBMC NFO Icon_minitimeTue Mar 17, 2009 2:17 pm

DrDDT wrote:
Any updates on this?

I tested by manually adding an extra genre tag, and XBMC picks it up.

If the genre is changed to seperate tag/value pairs, will media companion be able to convert old format .nfo files?

I looked into this, while XBMC supports the seperate tags, it also supports the tags as MC stores them, I tested it with my own library.
with "<genre>Sci-Fi / Thriller / Horror</genre>", all three genre's are imported into XBMC correctly.

I will change this at some point in the future but it would require a fair bit of work and yet another import method (nfo files created before the change still need to be supported). Basically it is not a priority.

Over the coming weeks I want to add support for local actor thumbs, and then the Music section (Artist/Album).nfo support. I believe both of these will increase the functionality of the program more than changing the way genre information is stored.

On the other hand, if you can persuade me that the current method causes problems in some way then I will re-evaluate.
Back to top Go down
http://billyad2000.co.uk
DrDDT
Junior Member
Junior Member



Posts : 14
Join date : 2009-03-16

Multiple Genre approach to be compliant with XBMC NFO Empty
PostSubject: Re: Multiple Genre approach to be compliant with XBMC NFO   Multiple Genre approach to be compliant with XBMC NFO Icon_minitimeTue Mar 17, 2009 4:11 pm

[quote="billyad2000"]
DrDDT wrote:
Any updates on this?


On the other hand, if you can persuade me that the current method causes problems in some way then I will re-evaluate.

Using seperate tags makes it easier to manipulate existing nfo files. For me it's a nice to have.

For example, I'm (mis)using the genre tag to sort of re-create a folder structure. All movies in 'Directory1' also get a <genre>Directory1</genre> tag.
With the seperate tags, I can use basic XML tool to add/remove the correct genre tags, but with the 'old' format, I also have to parse the value string.
Back to top Go down
billyad2000
Admin
billyad2000


Posts : 1326
Join date : 2008-09-20

Multiple Genre approach to be compliant with XBMC NFO Empty
PostSubject: Re: Multiple Genre approach to be compliant with XBMC NFO   Multiple Genre approach to be compliant with XBMC NFO Icon_minitimeTue Mar 17, 2009 5:36 pm

DrDDT wrote:
Using seperate tags makes it easier to manipulate existing nfo files. For me it's a nice to have.

For example, I'm (mis)using the genre tag to sort of re-create a folder structure. All movies in 'Directory1' also get a <genre>Directory1</genre> tag.
With the seperate tags, I can use basic XML tool to add/remove the correct genre tags, but with the 'old' format, I also have to parse the value string.

I actually like that idea, and it would be easy for me to add this capability to MC, even using the current tag format whch would be my preference, I don't really want to become bogged down rewriting the nfo parsers at the moment.

Let me know.
Back to top Go down
http://billyad2000.co.uk
DrDDT
Junior Member
Junior Member



Posts : 14
Join date : 2009-03-16

Multiple Genre approach to be compliant with XBMC NFO Empty
PostSubject: Re: Multiple Genre approach to be compliant with XBMC NFO   Multiple Genre approach to be compliant with XBMC NFO Icon_minitimeTue Mar 17, 2009 7:03 pm

billyad2000 wrote:
DrDDT wrote:
Using seperate tags makes it easier to manipulate existing nfo files. For me it's a nice to have.

For example, I'm (mis)using the genre tag to sort of re-create a folder structure. All movies in 'Directory1' also get a <genre>Directory1</genre> tag.
With the seperate tags, I can use basic XML tool to add/remove the correct genre tags, but with the 'old' format, I also have to parse the value string.

I actually like that idea, and it would be easy for me to add this capability to MC, even using the current tag format whch would be my preference, I don't really want to become bogged down rewriting the nfo parsers at the moment.

Let me know.

If you could build this in that would be great! Saves me a lot of coding doing it myself.
I wouldn't mind if the 'old' method would be used.
Back to top Go down
Sponsored content





Multiple Genre approach to be compliant with XBMC NFO Empty
PostSubject: Re: Multiple Genre approach to be compliant with XBMC NFO   Multiple Genre approach to be compliant with XBMC NFO Icon_minitime

Back to top Go down
 
Multiple Genre approach to be compliant with XBMC NFO
Back to top 
Page 1 of 1
 Similar topics
-
» BUG: Import XBMC nfo shows only 1 Genre
» Genre by Parentfolder or Genre limitations/Fixed amount
» MC 3.175: TV Shows Locked / UnLocked
» Multiple screenshots
» Custom Genre Filter

Permissions in this forum:You cannot reply to topics in this forum
Media Companion :: Media Companion :: Feature Requests-
Jump to: