Quote:
Mmm.. I wonder if one/both of those two values should instead indicate the number of entries actually returned (possibly limited by a &COUNT=nn directive) ?

The count of <item>s can be had by the stylesheet, it's easy to count child elements in XSL.

One thing I had in my output format that you do not is the current running order number - the position of the track in the current playlist. This is difficult to calculate if you allow negative offsets, since you would not know if the offset is valid or not. For example:

I have a playlist of 20 items, I am currently playing track 3, but my view is set up to show the last 5 songs and the next 10 songs. I specify count=15&offset=-5 but because there is no track -1, what is returned is track 1-15.

Can you specify negative offsets?

Could you also output a flag on an item to indicate the currently playing track? This would save a round-trip to notify to get the currently playing track. Example of both:

<item number="3" playing="yes">

You could omit the playing attribute if it is not playing:

<item number="4">
_________________________
Mark Cushman