From cfbe521b44bfe7a25988304c1f7c72186977307f Mon Sep 17 00:00:00 2001 From: NeonJarbas <59943014+NeonJarbas@users.noreply.github.com> Date: Thu, 11 Jan 2024 21:04:05 +0000 Subject: [PATCH] Update __init__.py --- __init__.py | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/__init__.py b/__init__.py index 8287a05..0114f16 100644 --- a/__init__.py +++ b/__init__.py @@ -6,12 +6,10 @@ class TuneInSkill(OVOSCommonPlaybackSkill): - def __init__(self): - super().__init__("TuneIn") - self.supported_media = [MediaType.GENERIC, - MediaType.MUSIC, - MediaType.RADIO] - self.skill_icon = join(dirname(__file__), "ui", "tunein.png") + def __init__(self, *args, **kwargs): + self.supported_media = [MediaType.RADIO] + self.skill_icon = join(dirname(__file__), "res", "tunein.png") + super().__init__(*args, **kwargs) @ocp_featured_media() def featured_media(self): @@ -59,7 +57,3 @@ def search_tunein(self, phrase, media_type): "author": "TuneIn", "length": 0 } - - -def create_skill(): - return TuneInSkill()