2.3 KiB
Subsonic API
The API version implemented is 1.16.0 and has been tested on Android using DSub, Subsonic Player, Symfonium, Tempo and Ultrasonic.
Folder navigation commands are supported. However, since LMS does not store information for each folder, it is not possible to star/unstar folders considered as artists. Given the API limitations of folder navigation commands, it is recommended to place all tracks of an album in the same folder and not to mix multiple albums in the same folder.
The Subsonic API is enabled by default.
OpenSubsonic API
OpenSubsonic is an initiative to patch and extend the legacy Subsonic API. You'll find more details in the official documentation
Authentication
LMS supports the newer API Key Authentication. Each user can generate, regenerate, or delete their API key in the settings page.
By default, API keys can also be used as passwords, and the user parameter must match the owner of the API key. This fallback authentication method can be disabled by setting api-subsonic-support-user-password-auth = false; in lms.conf.
Note: the token+salt authentication method is not supported.
Extra fields
The following extra fields are implemented:
Albumresponse:artistsdiscTitles: discs with no subtitle are omitteddisplayArtistgenresisCompilationplayedmediaTypemoodsmusicBrainzIdoriginalReleaseDaterecordLabelsreleaseTypesuserRating
Childresponse:albumArtistsartistsbitDepthchannelCountcommentcontributorsdisplayAlbumArtistdisplayArtistgenresmediaTypemoodsmusicBrainzId: note this is actually the recording MBID when this response refers to a songplayedreplayGainsamplingRate
Artistresponse:mediaTypemusicBrainzIdsortNameroles