Skip to content

Commit

Permalink
fix/legacy_playlist_queue
Browse files Browse the repository at this point in the history
bug: queueing new tracks always replaced old playlist

OpenVoiceOS/ovos-plugin-manager#227
  • Loading branch information
JarbasAl committed May 11, 2024
1 parent 1fe5be2 commit 1dde8a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ovos-utils~=0.0, >=0.0.38
ovos-bus-client~=0.0, >=0.0.8
ovos-config~=0.0,>=0.0.13a7
ovos-plugin-manager~=0.0, >=0.0.26a21
ovos-plugin-manager~=0.0, >=0.0.26a22
4 changes: 2 additions & 2 deletions test/unittests/test_end2end.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def wait_for_n_messages(n):
# confirm all expected messages are sent
expected_messages = [
'mycroft.audio.service.play',
"ovos.common_play.media.state", # LOADED_MEDIA
"ovos.common_play.media.state", # LOADING_MEDIA
"ovos.common_play.track.state", # QUEUED_AUDIOSERVICE
"ovos.common_play.simple.play", # call simple plugin
"ovos.common_play.player.state", # PLAYING
Expand All @@ -72,7 +72,7 @@ def wait_for_n_messages(n):
self.assertEqual(m.msg_type, expected_messages[idx])

state = messages[1]
self.assertEqual(state.data["state"], MediaState.LOADED_MEDIA)
self.assertEqual(state.data["state"], MediaState.LOADING_MEDIA)
state = messages[2]
self.assertEqual(state.data["state"], TrackState.QUEUED_AUDIOSERVICE)
state = messages[4]
Expand Down

0 comments on commit 1dde8a6

Please sign in to comment.