That’s awesome, @Roboro! Long term I think we need to just have one News Skill, and then the URL for the news would be configurable by the end user, rather than multiple News Skills.
@Roboro - the skill was written before we had the tools in place to push settings up to home.mycroft.ai. Now that we do it would be fantastic to make use of it. Would you be willing to implement the dynamic setting?
Hey @J_Montgomery_Mycroft
Sure. I need to get a bit more familiar with the API and start playing around with the programming, but I could take a look at forking and modifying this to work a bit better. I need to find some time to do it, though. This post will, at least, help folks until that is done.
I have just submitted a pull request for this… see: https://github.com/goroboro/skill-news
Hope the improvements work well. I might add some more feeds at some stage, but they are fairly easy to add or configure yourself now.
If you use my fork, you could probably override locally in your config by doing:
Agreed that the way this is implemented is not great, since the radio names seem hard coded and limited to a particular number, but I’ve found it workable for the radio that I want to listen to. At some point it would be nice to work out how we can edit the home.mycroft.ai skills page so that you can provide a modifiable list or dictionary. I.e. something like a modifiable table of fields:
item1|blah (delete)
item2|bleh (delete)
item3|wibble (delete)
(add a new entry)
That should render as something like:
fields: [
{ ‘field1’: ‘item1’, ‘field2’: ‘blah’ },
{ ‘field1’: ‘item2’, ‘field2’: ‘bleh’ },
{ ‘field1’: ‘item3’, ‘field2’: ‘wibble’ }
]
i changed the internet radio to read station form csv files, i generate the stations at runtime
so i have a file named metal
metal detector, https://somafm.something
death fm, https://death.fm/player.whatevr
“hey mycroft, play X radio” , fuzzy matches the requested station to both the filename (metal radio) and selects a random station or station name (death fm radio) and plays the requested station
im just waiting for the remote skill settings to support adding and deleting things to lists/dicts to update and PR