progress on subsonic api

This commit is contained in:
jeffvli
2025-07-21 00:08:58 -07:00
parent 96221c8fa7
commit 98e8bda45d
94 changed files with 3083 additions and 798 deletions
@@ -4,7 +4,7 @@ import { useQuery } from '@tanstack/react-query';
import { api } from '/@/renderer/api';
import { queryKeys } from '/@/renderer/api/query-keys';
import { getServerById } from '/@/renderer/store';
import { useServerById } from '/@/renderer/store';
import { PlaylistListQuery } from '/@/shared/types/domain/playlist-domain-types';
export const usePlaylistList = (args: {
@@ -13,7 +13,7 @@ export const usePlaylistList = (args: {
serverId?: string;
}) => {
const { options, query, serverId } = args;
const server = getServerById(serverId);
const server = useServerById(serverId);
return useQuery({
cacheTime: 1000 * 60 * 60,