minetype fix jellyfin musicplayer
This commit is contained in:
parent
9acd8a1b58
commit
be3b82fe27
@ -134,7 +134,7 @@ export async function getMusicUrlsFromJellyfin(serverUrl, userId, token, artistI
|
||||
const source = track.MediaSources?.[0];
|
||||
if (!source) return null;
|
||||
|
||||
const streamUrl = `${serverUrl}/Audio/${track.Id}/stream.${source.Container || 'mp3'}?api_key=${token}&static=true`;
|
||||
const streamUrl = `${serverUrl}/Audio/${track.Id}/stream?api_key=${token}&static=true`;
|
||||
const coverUrl = album.ImageTags?.Primary ? `${serverUrl}/Items/${album.Id}/Images/Primary?tag=${album.ImageTags.Primary}` : 'img/no-poster.png';
|
||||
|
||||
return {
|
||||
|
Loading…
x
Reference in New Issue
Block a user