2017-10-25, 07:27
Note to myself and any addon dev wanting to use the same location for artist art that folder name can be retrived using JSON API Settings.GetSettingValue
The folder name for specifc artists is simply the name with reserved chars removed. However it also adds mbid chars if the artist name is not unique. I think some way for addons to get this from Kodi is needed too, but not sure the best approach.
Code:
{"jsonrpc":"2.0","method":"Settings.GetSettingValue", "params":{"setting":"musiclibrary.artistsfolder"},"id":1}
The folder name for specifc artists is simply the name with reserved chars removed. However it also adds mbid chars if the artist name is not unique. I think some way for addons to get this from Kodi is needed too, but not sure the best approach.