Add internet radio (#1384)

This commit is contained in:
Jeff
2025-12-13 21:26:33 -08:00
committed by GitHub
parent f61d34c340
commit 7ed847fecb
46 changed files with 2229 additions and 118 deletions
+31
View File
@@ -30,6 +30,14 @@ export const contract = c.router({
200: ssType._response.createFavorite,
},
},
createInternetRadioStation: {
method: 'GET',
path: 'createInternetRadioStation.view',
query: ssType._parameters.createInternetRadioStation,
responses: {
200: ssType._response.createInternetRadioStation,
},
},
createPlaylist: {
method: 'GET',
path: 'createPlaylist.view',
@@ -38,6 +46,14 @@ export const contract = c.router({
200: ssType._response.createPlaylist,
},
},
deleteInternetRadioStation: {
method: 'GET',
path: 'deleteInternetRadioStation.view',
query: ssType._parameters.deleteInternetRadioStation,
responses: {
200: ssType._response.deleteInternetRadioStation,
},
},
deletePlaylist: {
method: 'GET',
path: 'deletePlaylist.view',
@@ -110,6 +126,13 @@ export const contract = c.router({
200: ssType._response.getIndexes,
},
},
getInternetRadioStations: {
method: 'GET',
path: 'getInternetRadioStations.view',
responses: {
200: ssType._response.getInternetRadioStations,
},
},
getMusicDirectory: {
method: 'GET',
path: 'getMusicDirectory.view',
@@ -281,6 +304,14 @@ export const contract = c.router({
200: ssType._response.setRating,
},
},
updateInternetRadioStation: {
method: 'GET',
path: 'updateInternetRadioStation.view',
query: ssType._parameters.updateInternetRadioStation,
responses: {
200: ssType._response.updateInternetRadioStation,
},
},
updatePlaylist: {
method: 'GET',
path: 'updatePlaylist.view',