Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Resume music" crashes server if no Spotify player available #460

Open
gcampax opened this issue Dec 21, 2021 · 1 comment
Open

"Resume music" crashes server if no Spotify player available #460

gcampax opened this issue Dec 21, 2021 · 1 comment
Labels
bug release: main Issues that affect devices in the "main" release

Comments

@gcampax
Copy link
Contributor

gcampax commented Dec 21, 2021

CustomError: No player is available to complete this request
    at AudioController.requestAudio (/opt/almond-cloud/node_modules/genie-toolkit/dist/lib/dialogue-agent/audio/controller.js:197:19)
    at Proxy._negotiatePlay (/srv/thingengine/cache/device-classes/com.spotify/dist/spotify_device/spotify_device.js:193:37)
    at Proxy.do_player_play (/srv/thingengine/cache/device-classes/com.spotify/dist/spotify_device/spotify_device.js:409:14)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async SpotifyDevice.descriptor.value (/srv/thingengine/cache/device-classes/com.spotify/dist/spotify_device/spotify_device_helpers.js:133:24)
    at async ExecWrapper.invokeAction (/opt/almond-cloud/node_modules/genie-toolkit/dist/lib/engine/apps/exec_wrapper.js:243:26)
    at async eval (eval at compile (/opt/almond-cloud/node_modules/thingtalk/dist/compiler/jsir.js:774:46), <anonymous>:16:25)
    at async RuleExecutor._ruleThread (/opt/almond-cloud/node_modules/genie-toolkit/dist/lib/engine/apps/rule_executor.js:61:13) {
  code: 'unsupported'
}
@gcampax gcampax added bug release: main Issues that affect devices in the "main" release labels Dec 21, 2021
@gcampax
Copy link
Contributor Author

gcampax commented Dec 21, 2021

In fact, it's not related to Spotify players, but to AudioController players. Any web use of Spotify will trigger this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug release: main Issues that affect devices in the "main" release
Projects
None yet
Development

No branches or pull requests

1 participant