Webportal v1

embedded apps

API Reference - Media.GetAlbumName()

Media.GetAlbumName()

Type Method
Min Privacy Full
wave 2
wave 3
wave 4

Media.GetAlbumName()

Description Gets the name of the current album.
Response String The current album’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 albumname = Media.GetAlbumName()
}

Appeared in Software version 30.10.10.00