Reply To: xslt to list tunes stored in mt-daapd

#7153
rpedde
Participant

@barnseyboy wrote:

i have written a few chunks of xslt to get out my latest tunes. i have a playlist of ‘recently added’ which i get the xml for using ..

my problem is, i want to get out a little more information in the first list, such as album and artist. i looked through the api and cant find it. and for obvious reasons i dont want to go through every item and get its details as my recently added list may have 1000’s of items in it.

here is the reference for it.

Generally, you can choose what info you get back from that query:

get /databases/1/items/output=xml&meta=dmap.itemid,daap.songalbum,daap.songartist
[/quote]

Would get what you want (except the path).

I could add a non-standard meta code for path, if that’s something you need.

— Ron

1) is there a good way to get more information out from my initial listing (without having to call to get the full details of each track).
2) is there any way of getting the underlying location or filename of the item.

thanks in advance

db[/quote][code]

get /databases/1/items/output=xml&meta=dmap.itemid,daap.songalbum,daap.songartist
[/quote]

Would get what you want (except the path).

I could add a non-standard meta code for path, if that’s something you need.

— Ron

1) is there a good way to get more information out from my initial listing (without having to call to get the full details of each track).
2) is there any way of getting the underlying location or filename of the item.

thanks in advance

db[/quote]