List tracks currently in the queue
curl --request GET \
--url http://localhost:6063/playlists/{id}/tracksimport requests
url = "http://localhost:6063/playlists/{id}/tracks"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:6063/playlists/{id}/tracks', 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}/tracks",
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}/tracks"
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}/tracks")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:6063/playlists/{id}/tracks")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"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": null,
"album_id": null,
"artist_id": null,
"genre_id": null,
"album_art": null
}
]Playlist (queue)
List tracks currently in the queue
GET
/
playlists
/
{id}
/
tracks
List tracks currently in the queue
curl --request GET \
--url http://localhost:6063/playlists/{id}/tracksimport requests
url = "http://localhost:6063/playlists/{id}/tracks"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:6063/playlists/{id}/tracks', 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}/tracks",
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}/tracks"
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}/tracks")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:6063/playlists/{id}/tracks")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"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": null,
"album_id": null,
"artist_id": null,
"genre_id": null,
"album_art": null
}
]Path Parameters
Response
200 - application/json
Mp3Entry list
Duration in milliseconds
Current position in milliseconds
⌘I