diff --git a/__init__.py b/__init__.py index d4a20e1..32e8a3d 100644 --- a/__init__.py +++ b/__init__.py @@ -43,8 +43,8 @@ class FreeMusicArchiveSkill(OVOSCommonPlaybackSkill): - def __init__(self): - super(FreeMusicArchiveSkill, self).__init__() + def __init__(self, **kwargs): + OVOSCommonPlaybackSkill.__init__(self, **kwargs) self.supported_media = [MediaType.MUSIC, MediaType.AUDIO, MediaType.GENERIC] @@ -132,7 +132,3 @@ def search_fma(self, phrase, media_type=MediaType.GENERIC) -> List[dict]: } for song in songs] LOG.info(f"Returning {len(results)} results with confidence {score}") return results - - -def create_skill(): - return FreeMusicArchiveSkill()