-
-
Notifications
You must be signed in to change notification settings - Fork 57
Plex Assistant control commands not working #162
Description
Using control commands with and without keyword replacements through IFTTT runs into an error. Webhook gets sent to Home Assistant however does not run on Plex Assistant. Any insight here please?
Error executing service: <ServiceCall plex_assistant.command (c:5c408d90a04edce61f06496a11ec1e60): command=next episode> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1652, in catch_exceptions await coro_or_task File "/usr/src/homeassistant/homeassistant/core.py", line 1677, in _execute_service await self._hass.async_add_executor_job( File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/plex_assistant/__init__.py", line 128, in handle_input remote_control(hass, zeroconf, command["control"], device, jump_amount) File "/config/custom_components/plex_assistant/helpers.py", line 127, in remote_control cast_next_prev(hass, zeroconf, plex_c, device, "next") File "/config/custom_components/plex_assistant/helpers.py", line 109, in cast_next_prev uuids=[uuid.UUID(entity._cast_info.uuid)], zeroconf_instance=zeroconf File "/usr/local/lib/python3.9/uuid.py", line 174, in __init__ hex = hex.replace('urn:', '').replace('uuid:', '') AttributeError: 'UUID' object has no attribute 'replace'
Using IFTTT
Installed using HACS
Raspberry Pi 3B+ Server
Plex assistant plays media fine, but does not skip, or go previous.
Have tried with and without keyword replacements, keyword replacement below
"next episode":"next", "previous episode":"previous"