-
Notifications
You must be signed in to change notification settings - Fork 8
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
Inconsistent results when getting the news. Plays an AP News segment .mp3 from 2020 #57
Comments
Performed some additional testing. Using the command "mycroft, play NPR news" the Mark II did process the command and eventually played the news. During past attempts I stopped Mycroft due to what looked like a hang. Letting it continue did end up playing the current and correct news but it took Mycroft ~22 minutes from command to sound output. I replicated this twice with the same results and have included the log from the second attempt. Here are the actions with relative min/sec between steps: 00:00 - Command 'mycroft, play npr news', Mycroft acknowledges, lights indicate processing request Steps I took to attempt fixing the original issue: I looked at the source code for the skill and found that the existing NPR URI for the hourly news stream did resolve, but involved a redirect by the NPR server. I replaced the string in
I added two I commented out the string split given that the new URI does not contain GET variables, the original URL that was being used would fail because removing the GET variable
The logs show the following errors each time when attempting to play the news:
Having been able to confirm that the Skill works with the proper updated station information, the issue now looks to be something within the local process itself. Logged events for the most recent attempt are viewable here. |
Describe the bug:
Inconsistent results when attempting to get the news. When I received my Mark II the news did not work and would cause Mycroft to hang until giving a "stop" command. Setting the news source to AP News in the web UI did not solve the problem.
Attempted to get the news and it plays an .mp3 file from an API for Spreaker. The news contains references to events and people from early 2020. This behavior is static and does not change with the hour.
To Reproduce:
Say "Mycroft, play the news" to Mycroft Mk II
Expected Behavior:
The current news for this hour is played from the selected station
Log Files:
Gist of log entries
Log contains entries from initial news command to completion of the news .mp3 playing. Log contents are from
journalctl
, there is no directory/file located at/var/log/mycroft/
Environment:
Additional Context:
/home/mycroft/skills/news.mark2/settings.json
are{"station": "AP", "custom_url": ""}
This bug has been reposted here from this issue which was posted to the wrong repository.
The text was updated successfully, but these errors were encountered: