Get the live queue and its metadata
curl --request GET \
--url http://localhost:6063/playlists/{id}import requests
url = "http://localhost:6063/playlists/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:6063/playlists/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "6063",
CURLOPT_URL => "http://localhost:6063/playlists/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:6063/playlists/{id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://localhost:6063/playlists/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:6063/playlists/{id}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"amount": 1,
"index": 0,
"first_index": 0,
"last_insert_pos": 0,
"max_playlist_size": 10000,
"seed": 0,
"last_shuffled_start": 0,
"entries": [
{
"path": "/Users/tsirysandratraina/Music/Cannons - All I Need/1. Cannons - All I Need.m4a",
"title": "All I Need",
"artist": "Cannons",
"album": "All I Need",
"albumartist": "Cannons",
"composer": "",
"genre_string": "",
"tracknum": 1,
"discnum": 1,
"year": 2025,
"year_string": "2025-10-17",
"length": 227073,
"elapsed": 0,
"filesize": 9083647,
"bitrate": 320,
"frequency": 44100,
"id": "cmjhiwtrq002vslny83sh3cpc",
"album_id": "cmjhiwtr6002fslnyzl17c1rn",
"artist_id": "cmjhiwtqz0003slnyk5x8akqo",
"genre_id": "",
"album_art": "b0cf2a54ef92afc1796c506f641f8b68.jpg"
}
]
}Playlist (queue)
Get the live queue and its metadata
GET
/
playlists
/
{id}
Get the live queue and its metadata
curl --request GET \
--url http://localhost:6063/playlists/{id}import requests
url = "http://localhost:6063/playlists/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:6063/playlists/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "6063",
CURLOPT_URL => "http://localhost:6063/playlists/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:6063/playlists/{id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://localhost:6063/playlists/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:6063/playlists/{id}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"amount": 1,
"index": 0,
"first_index": 0,
"last_insert_pos": 0,
"max_playlist_size": 10000,
"seed": 0,
"last_shuffled_start": 0,
"entries": [
{
"path": "/Users/tsirysandratraina/Music/Cannons - All I Need/1. Cannons - All I Need.m4a",
"title": "All I Need",
"artist": "Cannons",
"album": "All I Need",
"albumartist": "Cannons",
"composer": "",
"genre_string": "",
"tracknum": 1,
"discnum": 1,
"year": 2025,
"year_string": "2025-10-17",
"length": 227073,
"elapsed": 0,
"filesize": 9083647,
"bitrate": 320,
"frequency": 44100,
"id": "cmjhiwtrq002vslny83sh3cpc",
"album_id": "cmjhiwtr6002fslnyzl17c1rn",
"artist_id": "cmjhiwtqz0003slnyk5x8akqo",
"genre_id": "",
"album_art": "b0cf2a54ef92afc1796c506f641f8b68.jpg"
}
]
}⌘I