mirror of
https://github.com/clangen/musikcube.git
synced 2025-02-11 09:40:26 +00:00
A bit of naming cleanup -- implementation details were leaking into the
API.
This commit is contained in:
parent
1f8f40f0a3
commit
3e3af3c6d2
@ -88,8 +88,10 @@ namespace key {
|
||||
static const std::string album_artist = "album_artist";
|
||||
static const std::string genre = "genre";
|
||||
static const std::string thumbnail_id = "thumbnail_id";
|
||||
static const std::string genre_id = "visual_genre_id";
|
||||
static const std::string artist_id = "visual_artist_id";
|
||||
static const std::string visual_genre_id = "visual_genre_id";
|
||||
static const std::string genre_id = "genre_id";
|
||||
static const std::string visual_artist_id = "visual_artist_id";
|
||||
static const std::string artist_id = "artist_id";
|
||||
static const std::string track_num = "track";
|
||||
static const std::string album_artist_id = "album_artist_id";
|
||||
static const std::string album_id = "album_id";
|
||||
|
@ -1108,9 +1108,9 @@ json WebSocketServer::WebSocketServer::ReadTrackMetadata(ITrack* track) {
|
||||
{ key::album_artist, GetMetadataString(track, key::album_artist) },
|
||||
{ key::album_artist_id, track->GetInt64(key::album_artist_id.c_str()) },
|
||||
{ key::artist, GetMetadataString(track, key::artist) },
|
||||
{ key::artist_id, track->GetInt64(key::artist_id.c_str()) },
|
||||
{ key::artist_id, track->GetInt64(key::visual_artist_id.c_str()) },
|
||||
{ key::genre, GetMetadataString(track, key::genre) },
|
||||
{ key::genre_id, track->GetInt64(key::genre_id.c_str()) },
|
||||
{ key::genre_id, track->GetInt64(key::visual_genre_id.c_str()) },
|
||||
{ key::thumbnail_id, track->GetInt64(key::thumbnail_id.c_str()) },
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user