Context:
When using Spotify action results like next, back, pause and set volume, the music info is not updated after the action has completed. For example when selecting next track, after the action completes, triggering flow again you still see the old track that was playing.
Changes:
Added API re-query call for normal functions (terms, not expensive ones)
Needed to use wait on skip track API call so the updated music info can be returned, otherwise Spotify's API may not return the info in time.
Added workaround for set volume call to sleep for a certain period, not sure why API is not able to get the updated volume even when set volume call has completed.
Changed SingleResult method to SingleResultInList to be more clearer. Was mistakenly thinking the method would just return a single result.
Added and updated build and publish actions.
Tested:
Correct music info/status is shown by flow after each non-expensive commands
Context: When using Spotify action results like next, back, pause and set volume, the music info is not updated after the action has completed. For example when selecting next track, after the action completes, triggering flow again you still see the old track that was playing.
Changes:
Tested:
PlayNext
,PlayLast
,SetVolume
,Mute
,Shuffle
,Resume/Pause