add navidrome version check for smart playlists

This commit is contained in:
Kendall Garner
2024-02-03 22:47:57 -08:00
parent 46cc1a635f
commit aba7cb302f
11 changed files with 201 additions and 212 deletions
+1 -19
View File
@@ -54,25 +54,7 @@ export enum Platform {
WINDOWS = 'windows',
}
export enum ServerType {
JELLYFIN = 'jellyfin',
NAVIDROME = 'navidrome',
SUBSONIC = 'subsonic',
}
export type ServerListItem = {
credential: string;
features?: Record<string, number[]>;
id: string;
name: string;
ndCredential?: string;
savePassword?: boolean;
type: ServerType;
url: string;
userId: string | null;
username: string;
version?: string;
};
export { ServerType, ServerListItem } from '/@/renderer/api/types';
export enum PlayerStatus {
PAUSED = 'paused',