Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

detail which parts of the API are implemented #7

Closed
anarcat opened this issue Nov 22, 2019 · 8 comments
Closed

detail which parts of the API are implemented #7

anarcat opened this issue Nov 22, 2019 · 8 comments

Comments

@anarcat
Copy link

anarcat commented Nov 22, 2019

the "Subsonic API" actually varies with time (different releases) and space (different forks) so it would be quite interesting to see which parts are actually implemented in gonic. the supysonic server has this API implementation status page which details what they implemented and why. for example, shares are not implemented and might never be. it also has a list of revisions to the API which could prove quite useful.

has equivalent work been done on gonic?

thanks for this nice project!

@sentriz
Copy link
Owner

sentriz commented Nov 22, 2019

nope I have not done this, but it would definitely be a good idea. I'll get on it this weekend or so 👍

@MichaelBechHansen
Copy link

Coupled with #18, client apps will be able to provide UI tailored to the exact capabilities of each version.

@thecarlhall
Copy link

I wrote a script to rudimentarily check for implementation details. It works by reading what is posted on the Subsonic API page then searching server/server.go for string matches. This doesn't do any request/response checks for implementation correctness.

x 1.0.0 ( 83.33 %) 
   ✓ download 
   ✓ getCoverArt 
   ✓ getIndexes 
   ✓ getLicense 
   ✓ getMusicDirectory 
   ✓ getMusicFolders 
   x getNowPlaying 
   ✓ getPlaylist 
   ✓ getPlaylists 
   ✓ ping 
   x search 
   ✓ stream 
x 1.1.0 ( 0.0 %) 
   x changePassword 
   x createUser 
x 1.2.0 ( 62.5 %) 
   x addChatMessage 
   ✓ createPlaylist 
   ✓ deletePlaylist 
   ✓ getAlbumList 
   x getChatMessages 
   x getLyrics 
   ✓ getRandomSongs 
   ✓ jukeboxControl 
x 1.3.0 ( 50.0 %) 
   x deleteUser 
   ✓ getUser 
✓ 1.4.0 ( 100.0 %) 
   ✓ search2 
✓ 1.5.0 ( 100.0 %) 
   ✓ scrobble 
x 1.6.0 ( 0.0 %) 
   x createShare 
   x deleteShare 
   x getPodcasts 
   x getShares 
   x setRating 
   x updateShare 
x 1.8.0 ( 46.67 %) 
   ✓ getAlbum 
   ✓ getAlbumList2 
   ✓ getArtist 
   ✓ getArtists 
   x getAvatar 
   ✓ getSong 
   x getStarred 
   x getStarred2 
   x getUsers 
   x getVideos 
   x hls 
   ✓ search3 
   x star 
   x unstar 
   ✓ updatePlaylist 
x 1.9.0 ( 18.18 %) 
   x createBookmark 
   x createPodcastChannel 
   x deleteBookmark 
   x deletePodcastChannel 
   x deletePodcastEpisode 
   x downloadPodcastEpisode 
   x getBookmarks 
   ✓ getGenres 
   x getInternetRadioStations 
   ✓ getSongsByGenre 
   x refreshPodcasts 
x 1.10.1 ( 0.0 %) 
   x updateUser 
x 1.11.0 ( 25.0 %) 
   x getArtistInfo 
   ✓ getArtistInfo2 
   x getSimilarSongs 
   x getSimilarSongs2 
✓ 1.12.0 ( 100.0 %) 
   ✓ getPlayQueue 
   ✓ savePlayQueue 
x 1.13.0 ( 0.0 %) 
   x getNewestPodcasts 
   x getTopSongs 
x 1.14.0 ( 0.0 %) 
   x getAlbumInfo 
   x getAlbumInfo2 
   x getCaptions 
   x getVideoInfo 
✓ 1.15.0 ( 100.0 %) 
   ✓ getScanStatus 
   ✓ startScan 
x 1.16.0 ( 0.0 %) 
   x createInternetRadioStation 
   x deleteInternetRadioStation 
   x updateInternetRadioStation

@sentriz
Copy link
Owner

sentriz commented Jun 6, 2020

@thecarlhall thank you very much for that. very handy

@thecarlhall
Copy link

Here are the scripts I used to generate this: https://gist.github.com/thecarlhall/718de74c702e5d7993260e42d7160507

@Neurrone
Copy link

Neurrone commented Feb 2, 2022

Seconding this. I am looking for a subsonic implementation that supports bookmarks for audiobooks, so it would be great to know which subsonic API version this supports.

@sentriz sentriz added this to the next release milestone Nov 16, 2022
@sentriz
Copy link
Owner

sentriz commented Nov 16, 2022

thanks to @brian-doherty we have many more endpoints implemented so I'll add a wiki page describing them before the next release

@sentriz
Copy link
Owner

sentriz commented Nov 17, 2022

done

https://github.com/sentriz/gonic/wiki/subsonic-api-compatibiliy

thanks!

@sentriz sentriz closed this as completed Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants