-
Notifications
You must be signed in to change notification settings - Fork 15
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
Looping when asked to "play the news" #45
Comments
I have seen this issue also, with everything OCP, not just the news. There are several updates being made to ocp now, and I will update the image with the new version soon. You can try updating it manually and see if that helps. Any feed back would help. Both with ocp, and knowing when to update it in the image |
Here is how the looping starts... Beginning with the answer to the time query. Note the bolded error. In ovos_plugin_common_play/ocp/player.py, in line 287 the available backends array is empty. Apr 9 21:09:12 raspOvos ovos-systemd-skills[729]: Error loading json '/home/ovos/.config/mycroft/skills/skill-caffeinewiz.neongeckocom/settings.json' |
Did you update OCP?
and restart/reboot. That should give a little more details. I am not sure this is a raspbian issue, but rather an OCP issue? Lets see if we can debug a little more before passing the buck. It could be that the RPI3 needs more time to process before deciding that the stream is no good. I know that I have had the looping issue also, and it was suggested to let it wait longer. I am working on shrinking and optimizing this image, so maybe it will have more resources to use with OCP. |
This is still an issue, maybe @JarbasAl has a suggestion on how to fix this |
And I am not sure this is an issue with this image. I just tested on a pi4 and got the same results as a pi3. Not sure its the delay, because OCP shows a high match and is stopping the search early. try's to start playing and goes into the loop. also |
I think this has been fixed, can someone verify? |
Look for an answer by 2/26 or so. Thanks. |
"Play the news" still loops in the manual install. I'm looking into OCP to see if there is some assumed package I don't have. I will also try the image install. Below is what I'm seeing in journalctl: |
I believe someone has solved this in the OCP repository. I will try to implement and let you know. |
I will be switching to ovos-media soon, so maybe leave this open until then? |
Works for me. The additional documentation that closed the issue is now a dead link. Thanks! |
If that is the issue, edit your mycroft.conf and try this
|
Thank you. My first try adding the Audio section had no effect. I'll keep tinkering with it. I also saw this line and wondered if "disable_mpris": True isn't already set. Let me boil this down for a while before you put in any more effort. |
Process to reproduce on Pi 3B+
Boot image https://downloads.openvoiceos.com/images/raspbian/raspbian-ovos-dev.zip
04-Apr-2023 15:42 1327830572.
Start ovos-cli-client - returns message "Connected to Messagebus!"
ask "what time is it" and the system returns and speaks the correct time
ask "play the news" and the system loops:
Apr 7 18:52:41 raspOvos ovos-systemd-audio[721]: 2023-04-07 18:52:41.335 - audio - ovos_plugin_common_play.ocp.player:handle_player_media_update:557 - INFO - MediaState changed: <MediaState.NO_MEDIA: 1>
Apr 7 18:52:46 raspOvos ovos-systemd-audio[721]: 2023-04-07 18:52:46.212 - audio - ovos_plugin_common_play.ocp.media:handle_track_state_change:355 - INFO - TrackState changed: <TrackState.PLAYING_AUDIOSERVICE: 21>
Apr 7 18:52:46 raspOvos ovos-systemd-audio[721]: 2023-04-07 18:52:46.310 - audio - ovos_plugin_common_play.ocp.player:handle_player_media_update:557 - INFO - MediaState changed: <MediaState.LOADED_MEDIA: 3>
Apr 7 18:52:46 raspOvos ovos-systemd-audio[721]: 2023-04-07 18:52:46.391 - audio - ovos_plugin_common_play.ocp.media:handle_track_state_change:355 - INFO - TrackState changed: <TrackState.QUEUED_AUDIOSERVICE: 31>
Apr 7 18:52:46 raspOvos ovos-systemd-audio[721]: 2023-04-07 18:52:46.430 - audio - mycroft.audio.audioservice:_stop:230 - INFO - END Stop
Apr 7 18:52:51 raspOvos ovos-systemd-audio[721]: 2023-04-07 18:52:51.275 - audio - ovos_plugin_common_play.ocp.media:handle_track_state_change:355 - INFO - TrackState changed: <TrackState.PLAYING_AUDIOSERVICE: 21>
Apr 7 18:52:51 raspOvos ovos-systemd-audio[721]: 2023-04-07 18:52:51.360 - audio - ovos_plugin_common_play.ocp.player:handle_player_media_update:557 - INFO - MediaState changed: <MediaState.LOADED_MEDIA: 3>
Apr 7 18:52:51 raspOvos ovos-systemd-audio[721]: 2023-04-07 18:52:51.383 - audio - ovos_plugin_common_play.ocp.media:handle_track_state_change:355 - INFO - TrackState changed: <TrackState.QUEUED_AUDIOSERVICE: 31>
Apr 7 18:52:51 raspOvos ovos-systemd-audio[721]: 2023-04-07 18:52:51.456 - audio - ovos_plugin_common_play.ocp.player:handle_player_media_update:557 - INFO - MediaState changed: <MediaState.NO_MEDIA: 1>
Apr 7 18:52:51 raspOvos ovos-systemd-audio[721]: 2023-04-07 18:52:51.482 - audio - mycroft.audio.audioservice:_stop:230 - INFO - END Stop
The text was updated successfully, but these errors were encountered: