feat: sync play queue for navidrome/subsonic (#1335)

---------

Co-authored-by: jeffvli <jeffvictorli@gmail.com>
This commit is contained in:
Kendall Garner
2025-12-13 05:05:00 +00:00
committed by GitHub
parent 13afd3d9c4
commit ed5d590a6b
31 changed files with 648 additions and 107 deletions
+30
View File
@@ -141,6 +141,20 @@ export const contract = c.router({
200: ssType._response.getPlaylists,
},
},
getPlayQueue: {
method: 'GET',
path: 'getPlayQueue.view',
responses: {
200: ssType._response.playQueue,
},
},
getPlayQueueByIndex: {
method: 'GET',
path: 'getPlayQueueByIndex.view',
responses: {
200: ssType._response.playQueueByIndex,
},
},
getRandomSongList: {
method: 'GET',
path: 'getRandomSongs.view',
@@ -227,6 +241,22 @@ export const contract = c.router({
200: ssType._response.removeFavorite,
},
},
savePlayQueue: {
method: 'GET',
path: 'savePlayQueue.view',
query: ssType._parameters.saveQueue,
responses: {
200: ssType._response.saveQueue,
},
},
savePlayQueueByIndex: {
method: 'GET',
path: 'savePlayQueueByIndex.view',
query: ssType._parameters.savePlayQueueByIndex,
responses: {
200: ssType._response.saveQueue,
},
},
scrobble: {
method: 'GET',
path: 'scrobble.view',