Build an open future with us.

Invest in Mycroft and become a community partner.

Internet Radio Skill


#21

Just reinstalled internet radio skill - everything is working fine.
Thanks Norman


#22

I have Internet Radio installed and it works great. Thanks.

Do you know how I can make the skill show up on my Mycroft Home page under skills so that I can change the settings?


#23

I did a fresh install of the skill last night and see what you mean. There must still be a problem in the settings file. I should have it fixed this weekend.


#24

I just checked my settings and the skill now shows. Thanks so much for looking into that. I am working with your skill and trying to add some of me own stations, like twit.tv audio only live feed. I am going to make a fork and upload any changes I’ve made.


#25

Hi
I’ve tried to install this skilles with the command “Hey Mycroft, Install Internet Radio” and it does not install - I can install it via “Custom Install” but it does not work when I give it a "Hey Mycroft, Play Internet Radio "
?
/Mark


#26

Hi there @Mark, great to have you with us.

The Internet Radio Skill has not been updated to the 18.08 branch of mycroft-skills which is why it won’t install using voice commands - only Skills in the current branch can be installed using voice.

Are you able to show us your skills.log and we can see what’s going on? You will find your logs at /var/mycroft/log


#27

Hi KathyReid

Thx :slight_smile:

Here’s what comes in the log when I try and enable it

21:55:46.040 - urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/device/b1821afa-0a18-49d1-826e-278c38b91811/skill HTTP/1.1” 304 0
21:55:46.311 - mycroft.skills.core:wrapper:749 - ERROR - An error occurred while processing a request in Internet Radio Skill
Traceback (most recent call last):
File “/home/pi/mycroft-core/mycroft/skills/core.py”, line 740, in wrapper
handler(message)
File “/opt/mycroft/skills/skill-internet-radio.normandmickey/init.py”, line 316, in handle_intent
self.audioservice.play(self.settings[‘station_url’])
File “/home/pi/mycroft-core/mycroft/skills/settings.py”, line 181, in getitem
return super(SkillSettings, self).getitem(key)
KeyError: ‘station_url’
21:55:46.329 - SKILLS - DEBUG - {“data”: {“utterance”: “An error occurred while processing a request in Internet Radio Skill”, “expect_response”: false}, “type”: “speak”, “context”: {“target”: null, “client_name”: “mycroft_listener”, “ident”: “1543614940.45816641634622335”}}
21:55:46.345 - SKILLS - DEBUG - {“data”: {“name”: “InternetRadioSkill.handle_intent”, “exception”: “KeyError(‘station_url’,)”}, “type”: “mycroft.skill.handler.complete”, “context”: {“target”: null, “client_name”: “mycroft_listener”, “ident”: “1543614940.45816641634622335”}}


#28

I did a fair bit of digging around on this one this afternoon to see if it was an “easy fix” - unfortunately not.

Installing the Skill and validating that I got the same error

I installed this Skill using msm and got a similar error;

18:15:12.084 - mycroft.skills.core:wrapper:749 - ERROR - An error occurred while processing a request in Internet Radio Skill
Traceback (most recent call last):
  File "/home/kathyreid/mycroft-core/mycroft/skills/core.py", line 740, in wrapper
    handler(message)
  File "/opt/mycroft/skills/skill-internet-radio.normandmickey/__init__.py", line 316, in handle_intent
    self.audioservice.play(self.settings['station_url'])
  File "/home/kathyreid/mycroft-core/mycroft/skills/settings.py", line 181, in __getitem__
    return super(SkillSettings, self).__getitem__(key)
KeyError: 'station_url'

Looking through the registered Issues for this Skill, I noticed one by @Jarbas_Ai that flagged that one of the Skill Settings for the Skill was incorrect.

I altered the two occurrences of station_url in the Skill’s __init.py__ to be favorite_station_url and that stopped the error occurring.

However I couldn’t get a lot of the stations to play, I think they’re geoblocked in my region;

19:17:57.240 - urllib3.connectionpool - DEBUG - http://live-radio01.mediahubaustralia.com:80 "HEAD /PBW/mp3/ HTTP/1.1" 502 0

For example, this shows a 502 gateway error from an ABC Australia news mp3 stream.

In summary, this Skill needs a bit of polishing, which we’re happy to help with.