Spotify Metafy (Spotify playlists as media player entities)

Thx for your work! Works well and nice! Do you have plans to include shows (podcasts) in future? Would be a very nice add-on!

Hi, just tried to set up and get these errors? I’m installing via HACS, can someone point me in the right direction please?

  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 178, in _async_setup_platform
    await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/spotify_metafy/media_player.py", line 63, in setup_platform
    spotify_entity_id = user["spotify_entity_id"]
TypeError: string indices must be integers

Also have this as well?

MediaPlayerDevice is deprecated, modify MetafyMediaPlayer to extend MediaPlayerEntity```

hi!
this looks so good but i cant make it work, its there somewhere some step by step please? Thanks!

If you modify custom_components/spotify_metafy/media_player.py and replace all instances of MediaPlayerDevice with MediaPlayerEntity then you should at least be able to get the plugin working.

I’m currently struggling with getting it to play on my Sonos devices, but I’m working on it… :smiley: