Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonJarbas authored Jan 11, 2024
1 parent 9ce6231 commit cfbe521
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -59,7 +57,3 @@ def search_tunein(self, phrase, media_type):
"author": "TuneIn",
"length": 0
}


def create_skill():
return TuneInSkill()

0 comments on commit cfbe521

Please sign in to comment.