diff --git a/__init__.py b/__init__.py index e6d1b04..805c11e 100644 --- a/__init__.py +++ b/__init__.py @@ -28,7 +28,7 @@ from adapt.intent import IntentBuilder from mycroft.audio import wait_while_speaking from mycroft.messagebus.message import Message -from mycroft.skills.core import intent_handler, intent_file_handler +from mycroft.skills.core import MycroftSkill, intent_handler from mycroft.skills.common_play_skill import CommonPlaySkill, CPSMatchLevel from mycroft.util import get_cache_directory, LOG from mycroft.util.parse import fuzzy_match @@ -119,6 +119,8 @@ def gbp(): 'WDR': ('WDR', 'https://www1.wdr.de/mediathek/audio/' 'wdr-aktuell-news/wdr-aktuell-152.podcast', image_path('WDR')), + 'HRI': ('hr Info', 'https://podcast.hr-online.de/der_tag_in_hessen/podcast.xml', + None), 'YLE': ('YLE', 'https://feeds.yle.fi/areena/v1/series/1-1440981.rss', image_path('Yle.png')), "GBP": ("Georgia Public Radio", gbp, None), @@ -324,7 +326,7 @@ def get_media_url(self, station_url): media_url = media_url.split('?')[0] return media_url - @intent_file_handler("PlayTheNews.intent") + @intent_handler("PlayTheNews.intent") def handle_latest_news_alt(self, message): # Capture some alternative ways of requesting the news via Padatious utt = message.data["utterance"] diff --git a/dialog/de-de/alt.feed.name.value b/dialog/de-de/alt.feed.name.value index d3267c9..88334e9 100644 --- a/dialog/de-de/alt.feed.name.value +++ b/dialog/de-de/alt.feed.name.value @@ -1,2 +1,3 @@ zugehörige Presse,AP Ö3 Nachrichten,OE3 +Hessenschau,HRI