- POST requests for feeds
- Export subscriptions
- Replaced xml-js
- Thumbnails for songs in local playlist
- Closes #107
This commit is contained in:
Shiny Nematoda 2023-02-09 11:37:06 +00:00 committed by vrifox
parent e01a6b71dc
commit 35ec1b6a3a
No known key found for this signature in database
GPG key ID: D40098E5B60B2197
14 changed files with 502 additions and 545 deletions

View file

@ -37,7 +37,7 @@ export function useStore() {
export function useMetadata(url, urls, data) {
if ('mediaSession' in navigator) {
const now = urls.filter(u => u.url === url)[0];
const now = urls.find(u => u.url === url);
let artwork = [],
album = undefined;
@ -51,7 +51,7 @@ export function useMetadata(url, urls, data) {
src: t.url,
type: 'image/webp',
}));
} else artwork = [{ src: data.art, type: 'image/webp' }];
} else if (data.art) artwork = [{ src: data.art, type: 'image/webp' }];
console.log(album, artwork);
}