07-20-2018, 01:43 PM
Currently, the Library is populated from a fixed-structure data array thats generated on the server (Pi) and then loaded into the client Browser. The array has the following structure:
{Genre1: {Artist1: {Album1: [{song1}, {song2}], Album2:...}, Artist2:...}, Genre2:...}
Different tags could be substituted for Artist for example AlbumArtist or Composer., Currently there is a setting on Customize for specifying whether to use Artist or AlbumArtist. Composer could be added as a 3rd option.
Implementing a "roll your own" Library would probably require something other than fixed structure data array for example a set of keyed SQL tables. Either way a substantial effort.
-Tim
{Genre1: {Artist1: {Album1: [{song1}, {song2}], Album2:...}, Artist2:...}, Genre2:...}
Different tags could be substituted for Artist for example AlbumArtist or Composer., Currently there is a setting on Customize for specifying whether to use Artist or AlbumArtist. Composer could be added as a 3rd option.
Implementing a "roll your own" Library would probably require something other than fixed structure data array for example a set of keyed SQL tables. Either way a substantial effort.
-Tim