dweymouth / supersonic

A lightweight and full-featured cross-platform desktop client for self-hosted music servers
GNU General Public License v3.0
675 stars 26 forks source link

Add OpenSubsonic release type to album page #273

Closed dweymouth closed 6 months ago

dweymouth commented 7 months ago

Display the release type of an album in the album page header, from the OpenSubsonic ReleaseTypes property. Like this mock-up:

image

The releasetypes property from OpenSubsonic is just a string list, so we may want to sanitize it and just do matching against some well-known values, like Album, EP / Extended Play, Single, Compilation, etc. If the server isn't OpenSubsonic compatible or releasetypes are not available, default to "Album"

  1. Add ReleaseTypes support in the go-subsonic library
  2. Expose it in the mediaprovider.Album Supersonic interface
  3. Display the value in the album page header