pub struct GetTrackResponse {
pub song_name: String,
pub artist_name: String,
pub album_name: String,
pub track_token: String,
pub music_id: String,
pub music_token: String,
pub optional: HashMap<String, Value>,
}
Expand description
Get extended information for a track as returned by a playlist.
See https://github.com/pithos/pithos/issues/351 for additional information [music.getTrack()](
| Name | Type | Description | | artistName | String | | | albumName | String | | | songName | String | | | trackToken | String | | | musicId | String | | | musicToken | String | |
{
"stat": "ok",
"result": {
'albumName': 'Lukas Graham',
'trackToken': 'S5264080',
'artistName': 'Lukas Graham',
'albumArtUrl':
'http://mediaserver-cont-dc6-2-v4v6.pandora.com/images/public/gracenote/albumart/9/6/6/9/800079669_500W_500H.jpg',
'score': '',
'songName': '7 Years',
'musicId': 'S5264080',
'songDetailUrl':
'http://www.pandora.com/lukas-graham/lukas-graham/7-years',
'musicToken': '2b0dc86c994aa1e9425ba2910f7abf8b'
}
}
Fields§
§song_name: String
The name of the song for the provided token.
artist_name: String
The name of the artist for the provided token.
album_name: String
The name of the album for the provided token.
track_token: String
The track token that is unique to the playlist is was provided with.
music_id: String
The unique id (token) for the song. Artist tokens start with ‘R’, composers with ‘C’, songs with ‘S’, and genres with ‘G’.
music_token: String
A unique token for a song/track.
optional: HashMap<String, Value>
Additional optional or undocumented fields of a GetTrack response.
Trait Implementations§
Source§impl Clone for GetTrackResponse
impl Clone for GetTrackResponse
Source§fn clone(&self) -> GetTrackResponse
fn clone(&self) -> GetTrackResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more