API Reference - Media.GetArtistName()
Media.GetArtistName()
Media.GetArtistName()
Description | Gets the name of the current artist. |
Response | String The current artist’s name < 255 characters. |
Parameter | Void |
Example
1
2
3
4
5
6
7
//Check the state of the media
if (Media.GetMediaState() === 2) {
// Media currently playing
var artistname = Media.GetArtistName()
}
Appeared in Software version 30.10.10.00