mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 18:13:31 +00:00
Tag filter support
- Jellyfin: Uses `/items/filters` to get list of boolean tags. Notably, does not use this same filter for genres. Separate filter for song/album - Navidrome: Uses `/api/tags`, which appears to be album-level as multiple independent selects. Same filter for song/album
This commit is contained in:
parent
b0d86ee5c9
commit
e1aa8d74f3
17 changed files with 360 additions and 16 deletions
|
|
@ -529,7 +529,6 @@ export const SubsonicController: ControllerEndpoint = {
|
|||
}
|
||||
|
||||
let artists = (res.body.artists?.index || []).flatMap((index) => index.artist);
|
||||
console.log(artists.length);
|
||||
if (query.role) {
|
||||
artists = artists.filter(
|
||||
(artist) => !artist.roles || artist.roles.includes(query.role!),
|
||||
|
|
@ -811,7 +810,7 @@ export const SubsonicController: ControllerEndpoint = {
|
|||
}
|
||||
|
||||
if (subsonicFeatures[SubsonicExtensions.SONG_LYRICS]) {
|
||||
features.lyricsMultipleStructured = true;
|
||||
features.lyricsMultipleStructured = [1];
|
||||
}
|
||||
|
||||
return { features, id: apiClientProps.server?.id, version: ping.body.serverVersion };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue