2009-08-28, 00:16
Code:
<sets>
<set>Alien Collection</set>
<set>Predator Collection</set>
<set order="4">Another Set</set>
</sets>
Okay, I just submitted a pair of patches to implement set support using the above format. The only difference is that you must include the "order" attribute. (Really, I didn't test what would happen if you left it out. It will probably just sort alphabetically, but I would think you would want it in there anyway). One patch does the database and .nfo stuff, the other adds a "Sets" group to the movie overview screen.
How I would like to see this work eventually is to have an option to view sets instead of the constituent movies listed in the "Titles" view. So, for example, instead of this:
Code:
Good Will Hunting
The Green Mile
Gross Anatomy
Harry Potter and the Sorcerer's Stone
Harry Potter and the Chamber of Secrets
Harry Potter and the Prisoner of Azkaban
Harry Potter and the Goblet of Fire
Heat
The Holiday
Hoot
you would have this:
Code:
Good Will Hunting
The Green Mile
Gross Anatomy
Harry Potter (Set)
Heat
The Holiday
Hoot
and clicking on "Harry Potter (Set)" would take you to a listing with:
Code:
Harry Potter and the Sorcerer's Stone
Harry Potter and the Chamber of Secrets
Harry Potter and the Prisoner of Azkaban
Harry Potter and the Goblet of Fire
I am open to other suggestions for this. It will not be easy to implement with the way the views currently work. So don't expect this to be done quickly unless a dev with greater knowledge than me knows a simple way to do it and wants to.
Anyway, the patches can be found here: http://trac.xbmc.org/ticket/7106, for those brave enough to try it out. And if you do, please report any bugs in the trac ticket.
Thanks,
Joel