1
3rd Party Plugins - (fb2k) / Re: UPnP: How does the Media Library Tree work?
Last post by SimBun -For example, what's the difference between object.container.album.musicAlbum and object.container.genre.musicGenre. Obviously, one has to do with Albums and the other has to do with Genres, but I can't tell what they're specific functions are. Also, which object.container do I use for single tracks? I saw something about object.item, is that a thing?
Before you dig in too deep, are you sure you want to start using a component that hasn't been updated in 9 years and only works with foobar x86 (and only runs on Windows)?
From the UPnP Content Directory specification:
Quote
A class is used to assign a type to an object. It also identifies the minimum required set of properties that shall be included in the object’s metadata and the allowed properties that may be included. Classes are organized in a hierarchy with certain classes being derived from others as in a typical object-oriented system.
If you want to create other indexes you should be able to use 'object.container'. e.g.
Code: [Select]
<spec type="object.container">%releasetype%</spec>
<spec type="object.container.album.musicAlbum">%album%</spec>
Music tracks are <upnp:class>object.item.audioItem.musicTrack</upnp:class> but the component will populate those for you as part of the musicAlbum class definition.