mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 01:39:28 +02:00
Fill info on Composer column in Itunes
The composer column has no data, so i make the changes for the info to appear.
This commit is contained in:
parent
624a2f0717
commit
8ac4314dd1
1 changed files with 4 additions and 0 deletions
|
@ -464,6 +464,9 @@ class Daap_Api
|
|||
case 'daap.songartist':
|
||||
$o .= self::tlv($m, $song->f_artist);
|
||||
break;
|
||||
case 'daap.songcomposer':
|
||||
$o .= self::tlv($m, $song->f_composer);
|
||||
break;
|
||||
case 'daap.songbitrate':
|
||||
$o .= self::tlv($m, intval($song->bitrate / 1000));
|
||||
break;
|
||||
|
@ -684,6 +687,7 @@ class Daap_Api
|
|||
self::add_dict('adbs', 'list', 'daap.databasesongs'); // response to a /databases/id/items
|
||||
self::add_dict('asal', 'string', 'daap.songalbum');
|
||||
self::add_dict('asar', 'string', 'daap.songartist');
|
||||
self::add_dict('ascp', 'string', 'daap.songcomposer');
|
||||
self::add_dict('asbt', 'short', 'daap.songsbeatsperminute');
|
||||
self::add_dict('asbr', 'short', 'daap.songbitrate');
|
||||
self::add_dict('ascm', 'string', 'daap.songcomment');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue