mozilla-extensions / firefox-voice

Firefox Voice is an experiment in a voice-controlled web user agent
Mozilla Public License 2.0
285 stars 122 forks source link

"Play [query] in Youtube" and "Play [query] in Spotify" commands affect future Spotify "Play" commands if made together #566

Open alexandra-martin opened 4 years ago

alexandra-martin commented 4 years ago

Prerequisites:

Mic permissions and autoplay are enabled. A Spotify sign in is made.

STR:

  1. Use the shortcut or click on the mic icon from the browser toolbar.
  2. Say or write a Spotify "Play" command, e.g. "Play Green Day in Youtube".
  3. Close the Spotify tab and select the mic icon again.
  4. Make another Spotify "Play" command, e.g. "Play Green Day in Spotify".
  5. Close the Spotify tab and select the mic icon again.
  6. Make another Spotify "Play" command, e.g. "Play Foo".

Expected result:

In the opened Spotify tab, audio related to Foo starts playing.

Actual result:

The previous Green Day related audio continues playing, like in #404.

Notes:

Reproduced on Mac 10.14.6 and Win10x64 with Firefox Nightly 72.0a1 (64-bit). It seems the bug is reproduced only when the "Play [query] in youtube" and "Play [query] in Spotify" commands are made together. (2nd and 3rd gif) Not reproduced when the "Play [query] in Spotify" and "Play [query] in youtube" commands display the #557 error in the "Doorhanger". (4th gif)

16

14

15

17

vandnakapoor19 commented 4 years ago

@ianb I'd like to work on this issue.