Add OpenSubsonic /getInternetRadioStations endpoint

/getInternetRadioStations endpoint has been implemented and memory leak
tested. It also has been added to the memory testing build. Sorry if
there are any bugs, as I have not written memory heavy code in C in a
while.
This commit is contained in:
2026-01-22 19:22:23 +10:00
parent 4a9e1fc845
commit 9f96c574e9
7 changed files with 171 additions and 0 deletions
+3
View File
@@ -24,6 +24,7 @@ add_executable(ossp MACOSX_BUNDLE
main.c
configHandler.c
discordrpc.c
localRadioDBHandler.c
gui/gui_entry.cpp
player/player.c
player/playQueue.cpp
@@ -44,6 +45,7 @@ add_executable(ossp MACOSX_BUNDLE
libopensubsonic/endpoint_getStarred.c
libopensubsonic/endpoint_ping.c
libopensubsonic/endpoint_scrobble.c
libopensubsonic/endpoint_getInternetRadioStations.c
external/cJSON.c
external/cJSON_Utils.c
external/libcurl_uriescape.c
@@ -55,6 +57,7 @@ add_executable(ossp MACOSX_BUNDLE
external/imgui/imgui_demo.cpp
external/imgui/backends/imgui_impl_sdl2.cpp
external/imgui/backends/imgui_impl_opengl2.cpp
external/sqlite3/sqlite3.c
)
set_target_properties(ossp PROPERTIES