Sign up here and you can log into the forum!

Artist, Album, Genre during playback

Discussion, features, plugins--everything about zoster's UMSP UPnP Media Server software

Artist, Album, Genre during playback   

Postby avkiev » Fri Apr 01, 2011 1:56 pm

I've created umsp-item in such manner:
Code: Select all
...
    "dc:title"  => $title,
    "dc:author" => "author",
    "dc:artist" => "artist",
    "dc:album"  => "album",
    "dc:genre"  => "genre",
    "res" => $url,
    "upnp:class" => "object.item.audioitem",
...

But on the screen - those fields are empty (see screenshot)
Image
Is it ok ? How I have to create AudioItem to show extra-tags (Artist, Album, Genre) ?
Can I add to the screen another properties (f.e. - Year) ?
avkiev
Developer
 
Posts: 167
Joined: Tue Apr 27, 2010 5:02 am
Location: Ukraine, Kiev

Re: Artist, Album, Genre during playback   

Postby shunte » Fri Apr 01, 2011 2:28 pm

dc:date supports year etc
there's also duration, episode_ts and a number of others that the WD can take advantage of - or not ;)
documentation for some of the this I believe is in the folder /usr/share/docs
the original posts on UMSP would expose all the attributes possible so take a look at either forum posts or the commented out sections in media-items.php
check vanilla UPnP docs for others
** Edit : almost forgot he Shoutcast and Grooveshark plug-ins may already have the answers you need - I've not looked at the code for a good while so may be off base there
If you like the work I do please feel free to make a donation to the Red Cross
User avatar
shunte
Developer
 
Posts: 420
Joined: Sun Sep 19, 2010 1:43 am
Location: Cambridge, MA U. S. and A.

Re: Artist, Album, Genre during playback   

Postby avkiev » Sat Apr 02, 2011 5:32 am

Thanks. Problem was solved.
Incorrect: "dc:album" => ...
Correct: "upnp:album" => ...
avkiev
Developer
 
Posts: 167
Joined: Tue Apr 27, 2010 5:02 am
Location: Ukraine, Kiev


Return to UMSP Media Server

Who is online

Users browsing this forum: No registered users and 1 guest