diff --git a/src/renderer/api/navidrome.types.ts b/src/renderer/api/navidrome.types.ts index 6c409742..220bf353 100644 --- a/src/renderer/api/navidrome.types.ts +++ b/src/renderer/api/navidrome.types.ts @@ -199,17 +199,17 @@ export type NDGenreListParams = { NDOrder; export enum NDAlbumListSort { - ALBUM_ARTIST = 'albumArtist', + ALBUM_ARTIST = 'album_artist', ARTIST = 'artist', DURATION = 'duration', NAME = 'name', - PLAY_COUNT = 'playCount', + PLAY_COUNT = 'play_count', PLAY_DATE = 'play_date', RANDOM = 'random', RATING = 'rating', RECENTLY_ADDED = 'recently_added', SONG_COUNT = 'songCount', - STARRED = 'starred', + STARRED = 'starred_at', YEAR = 'max_year', } @@ -261,7 +261,7 @@ export type NDSongListParams = { export enum NDAlbumArtistListSort { ALBUM_COUNT = 'albumCount', - FAVORITED = 'starred', + FAVORITED = 'starred_at', NAME = 'name', PLAY_COUNT = 'playCount', RATING = 'rating',