Volumio2 icon indicating copy to clipboard operation
Volumio2 copied to clipboard

inconsistent plugin behaviour with rest api, maybe should enforce some rules to follow?

Open Joni-Salminen opened this issue 4 years ago • 0 comments

Hey!

i have found couple of things which propably should be consistent, across the plugins/services.

  1. Not all elements flagged as "type : song" does carry the artist name. (ie. spotify -> "my top tracks")

rest api data model should contain artist field allready, so it should be matter of packing it to the response, no changes required anywhere else.

  1. Type of element in higher hierarchy of navigation(ie. service/plugin "root") feels like a mess currently
  • "streaming-category"
  • "spotify-category"
  • "playlist"
  • "folder"
  • "item-no-menu"

are all these really needed for something(this is just from spotify and tidal, the list is huge with everything)? or should there be X amount of predefined types, which every plugin should follow.

Joni-Salminen avatar Dec 05 '20 08:12 Joni-Salminen