main playlist

This commit is contained in:
mertalev
2026-05-07 14:57:09 -04:00
parent e058ef868d
commit ba2f1b9842
9 changed files with 37 additions and 37 deletions
+4 -4
View File
@@ -4300,10 +4300,10 @@
"x-immich-state": "Stable"
}
},
"/assets/{id}/video/stream/master.m3u8": {
"/assets/{id}/video/stream/main.m3u8": {
"get": {
"description": "Returns an HLS master playlist with all available variants for the asset.",
"operationId": "getMasterPlaylist",
"description": "Returns an HLS main playlist with all available variants for the asset.",
"operationId": "getMainPlaylist",
"parameters": [
{
"name": "id",
@@ -4355,7 +4355,7 @@
"api_key": []
}
],
"summary": "Get HLS master playlist",
"summary": "Get HLS main playlist",
"tags": [
"Assets"
],
+3 -3
View File
@@ -4270,9 +4270,9 @@ export function playAssetVideo({ id, key, slug }: {
}));
}
/**
* Get HLS master playlist
* Get HLS main playlist
*/
export function getMasterPlaylist({ id, key, slug }: {
export function getMainPlaylist({ id, key, slug }: {
id: string;
key?: string;
slug?: string;
@@ -4280,7 +4280,7 @@ export function getMasterPlaylist({ id, key, slug }: {
return oazapfts.ok(oazapfts.fetchBlob<{
status: 200;
data: string;
}>(`/assets/${encodeURIComponent(id)}/video/stream/master.m3u8${QS.query(QS.explode({
}>(`/assets/${encodeURIComponent(id)}/video/stream/main.m3u8${QS.query(QS.explode({
key,
slug
}))}`, {