API: getplaylist

Back to API reference

Get current playlist contents.

Request

GET /api/info/getplaylist/StationID?key=APIKey

Example request

https://c1.radioboss.fm/api/getplaylist/92?key=A1B2C3

Example of returned data (JSON)

{
    "TRACK": [
        {
            "STARTTIME": "6:56:10 PM",
            "CASTTITLE": "Kosheen - Catch Radio Edit",
            "DURATION": "03:23",
            "FILENAME": "\\01-kosheen-catch__radio_edit-snd.mp3",
            "RATING": "0",
            "PLAYCOUNT": "309",
            "INTRO": "00:00",
            "OUTRO": "00:00",
            "BPM": "",
            "PLAYLISTINDEX": "0",
            "INDEX": "1",
            "FT_IDX": "-1",
            "ITEMTYPE": "TRACK_PLAYED",
            "PQUEUE": "0",
            "ARTIST": "Kosheen",
            "TITLE": "Catch Radio Edit",
            "ALBUM": "Catch CDM",
            "YEAR": "2001",
            "GENRE": "Trance",
            "COMMENT": "",
            "LASTPLAYED": "2021-07-22 18:56:10",
            "LANGUAGE": "",
            "F1": "",
            "F2": "",
            "F3": "",
            "F4": "",
            "F5": ""
        },
        {
            "STARTTIME": "3:56:19 PM",
            "CASTTITLE": "01 - 01",
            "DURATION": "06:27",
            "FILENAME": "\\01-Track.mp3",
            "RATING": "0",
            "PLAYCOUNT": "257",
            "INTRO": "00:00",
            "OUTRO": "00:00",
            "BPM": "",
            "PLAYLISTINDEX": "1",
            "INDEX": "2",
            "FT_IDX": "-1",
            "ITEMTYPE": "TRACK_PLAYED",
            "PQUEUE": "0",
            "ARTIST": "01",
            "TITLE": "01",
            "ALBUM": "New",
            "YEAR": "2008",
            "GENRE": "test",
            "COMMENT": "",
            "LASTPLAYED": "2021-07-22 15:56:19",
            "LANGUAGE": "",
            "F1": "",
            "F2": "",
            "F3": "",
            "F4": "",
            "F5": ""
        }
    ]
}