This plugin still works for me - the IFTTT may have come to an end, but I can still trigger useful things otherwise very difficult to achieve.
I found a bug in the “isorin/plex_assistant” fork loaded by HACS - is anyone still working on this? There doesn’t seem to be any issue reporting available in GitHub.
I created a playlist object in plexapi/pychromecast and indeed there is no ‘playQueueType’ attribute. I couldn’t find anything in the object to determine the media type either, which makes it a little tough to fix, haven’t got that far yet.
For those interested - asking it to play an audio playlist was failing, which I traced back to an issue with the playQueue object type. The logs show that the errors occurs in /config/custom_components/plex_assistant/__init__.py - line 146, error being “AttributeError: ‘PlayQueue’ object has no attribute ‘playQueueType’”
The change I made to get audio playlists working:
payload = '%s{"playqueue_id": %s, "type": "%s", "plex_server": "%s"}' % (
"plex://" if device["device_type"] in ["cast", "sonos"] else "",
media.playQueueID,
# media.playQueueType,
"audio", # added this directly for a successful test
server._server.friendlyName,
)