node-sonos-http-api
node-sonos-http-api copied to clipboard
How to add Google Music credentials settings.json file
Dear jishi, thank you so much ;)
I would like to know, how i can add Google Music credentials settings.json file? I need it, to give my playlist songs thumb up & downs.
Thank you so much & my donations comes from Jutta (Germany)
like pandora radio: Pandora
Perform a search for one of your Pandora stations and begin playing. Give the currently playing song a thumbs up or thumbs down. Requires a valid Pandora account and credentials.
The following endpoints are available:
/RoomName/pandora/play/{station name} Plays the closest match to the specified station name in your list of Pandora stations /RoomName/pandora/thumbsup Gives the current playing Pandora song a thumbs up /RoomName/pandora/thumbsdown Gives the current playing Pandora song a thumbs down
Your Pandora credentials need to be added to the settings.json file
,
"pandora": {
"username": "your-pandora-account-email-address",
"password": "your-pandora-password"
}
I found here: https://unofficial-google-music-api.readthedocs.io/en/latest/reference/mobileclient.html?highlight=thumb%20down this:
`
Parameters: | songs – a list of song dictionaries or a single song dictionary. required keys: ‘id’ for library songs or ‘nid’ and ‘trackType’ for store songs. rating – set to '0' (no thumb), '1' (down thumb), or '5' (up thumb). |
---|
`
Parameters: | songs – a list of song dictionaries or a single song dictionary. required keys: ‘id’ for library songs or ‘nid’ and ‘trackType’ for store songs. rating – set to '0' (no thumb), '1' (down thumb), or '5' (up thumb). |
---|