Feature/flavour in subsonic token (#83)

* Add type of subsonic clone to serviceToken so can specialise client for navidrome

* Ability to add bearer token to subsonic credentials for flavours of subsonic
This commit is contained in:
Simon J
2021-12-03 13:17:03 +11:00
committed by GitHub
parent 8a0140b728
commit 075538f029
5 changed files with 110 additions and 21 deletions

View File

@@ -44,6 +44,7 @@ export class InMemoryMusicService implements MusicService {
serviceToken: b64Encode(JSON.stringify({ username, password })),
userId: username,
nickname: username,
type: "in-memory"
});
} else {
return Promise.resolve({ message: `Invalid user:${username}` });