volumio-plugins-sources
volumio-plugins-sources copied to clipboard
feat(spotify): add more device icons into settings
Taken from https://github.com/spotify/web-api/issues/687
Do you want to sort it somehow?
Thanks @phts for this. However I am for integrating only choices which make sense (for example tablet or chromecast does not make sense because it will never be used). Would you mind adding only icons which could make sense for our usage scenario?
hi @volumio
Yes, agree to remove cast devices, because spotify app adds unnessesary label "Chomecast" for such type, which is not relevant
But for other icons - Those are just icons. And users can choose any icon which better match to their device (formfactor, use cases, etc). If user created device similar to tablet, then let's allow him to choose icon "tablet" which looks like his device.
Anyways up to you. You can choose what icons you want to keep:
(I would remove only duplicated, however maybe android app has such duplicated icons... )
{
"value": "avr",
"label": "AV Receiver"
},
{
"value": "speaker",
"label": "Speaker"
},
{
"value": "stb",
"label": "Set-Top Box"
},
{
"value": "computer",
"label": "Computer"
},
{
"value": "tablet",
"label": "Tablet"
},
{
"value": "smartphone",
"label": "Smartphone"
},
{
"value": "tv",
"label": "TV"
},
{
"value": "audio_dongle",
"label": "Audio dongle"
},
{
"value": "game_console",
"label": "Game console"
},
{
"value": "automobile",
"label": "Car device"
}