api: return covers from soundcloud and youtube

& refactor createProxyTunnels() in stream/manage a little
This commit is contained in:
wukko
2025-06-26 17:36:26 +06:00
parent 4ff4766bda
commit 164ea8aeb9
5 changed files with 42 additions and 10 deletions

View File

@@ -67,6 +67,8 @@ export function createResponse(responseType, responseData) {
copy: responseData?.audioCopy,
format: responseData?.audioFormat,
bitrate: responseData?.audioBitrate,
cover: !!responseData?.cover || undefined,
cropCover: !!responseData?.cropCover || undefined,
},
isHLS: responseData?.isHLS,