Trouble playing Plex media from service call

The Plex integration uses 3.3.0 today, which is the latest official release of plexapi. The custom integration uses a slightly newer commit that seems to conflict.

yes, indeed, but you told :

Since HA only allows dependencies to use published releases, we need to wait for a newer release to come out as 3.3.0 is the latest. I’ve already requested this and hopefully we’ll have it soon.

what have you requested? a newer version on plexapi github ?

The releases must be published on pypi: https://pypi.org/project/PlexAPI/. Version 3.3.0 was released there but not on the github project.

hey

i am back testign with 3.3.0 , no other one loaded

but i see this in my logs, i see it when i start playing my script, but also not always
no idea where its comin g from


2020-04-02 09:17:59 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.plex_synology fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 476, in async_device_update
    await self.hass.async_add_executor_job(self.update)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/plex/sensor.py", line 107, in update
    user = sess.usernames[0]
IndexError: list index out of range

edit: created issue here: