[Slim-Checkins] r11833 - in /trunk/server: HTML/EN/html/docs/cli-api.html Slim/Control/Queries.pm
fred at svn.slimdevices.com
fred at svn.slimdevices.com
Thu Apr 26 15:57:41 PDT 2007
Author: fred
Date: Thu Apr 26 15:57:40 2007
New Revision: 11833
URL: http://svn.slimdevices.com?rev=11833&view=rev
Log:
Bug: N/A
Description: Return artwork_track_id in songinfo as well so that a single identifier can be used for album artwork.
Modified:
trunk/server/HTML/EN/html/docs/cli-api.html
trunk/server/Slim/Control/Queries.pm
Modified: trunk/server/HTML/EN/html/docs/cli-api.html
URL: http://svn.slimdevices.com/trunk/server/HTML/EN/html/docs/cli-api.html?rev=11833&r1=11832&r2=11833&view=diff
==============================================================================
--- trunk/server/HTML/EN/html/docs/cli-api.html (original)
+++ trunk/server/HTML/EN/html/docs/cli-api.html Thu Apr 26 15:57:40 2007
@@ -79,6 +79,15 @@
</li>
<li>
Added a tag to return the artist from the "<a href="#albums">albums</a>" query.
+ </li>
+ <li>
+ Updated queries <a href="#status">status</a>",
+ <a href="#titles">titles</a>",
+ <a href="#playlists tracks">playlists tracks</a>" and
+ <a href="#status">songinfo</a>"
+ to support a new tag J to return the artwork_track_id (as returned by the
+ "<a href="#albums">albums</a>"). This enables clients to cache one
+ image for all songs of the same album.
</li>
<li>
Added the "<a href="#serverstatus">serverstatus</a>" query, to return
@@ -4093,6 +4102,19 @@
</tr>
<tr>
<td>
+ <b>J</b>
+ </td>
+ <td>
+ artwork_track_id
+ </td>
+ <td>
+ Identifier of the album track used by the server to
+ display the album's artwork. Not listed if artwork is not
+ available for this album.
+ </td>
+ </tr>
+ <tr>
+ <td>
<b>n</b>
</td>
<td>
Modified: trunk/server/Slim/Control/Queries.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Control/Queries.pm?rev=11833&r1=11832&r2=11833&view=diff
==============================================================================
--- trunk/server/Slim/Control/Queries.pm (original)
+++ trunk/server/Slim/Control/Queries.pm Thu Apr 26 15:57:40 2007
@@ -2235,6 +2235,7 @@
'l' => ['album', 'album', 'title'], #->album.title
'q' => ['disccount', 'album', 'discc'], #->album.discc
+ 'J' => ["artwork_track_id", 'album', 'artwork'], #->album.artwork
'g' => ['genre', 'genre', 'name'], #->genre_track->genre.name
'p' => ['genre_id', 'genre', 'id'], #->genre_track->genre.id
More information about the checkins
mailing list