* Fix: Last Played Media Title in plex would stay even when player was idle/off Primary Fix is in the "if self._device" portion. code in "if self._session" is a catch all but i'm not 100% if it is needed. * Fixed lint issues with previous commit * 1st Pass at refactoring plex refresh Moved _media** into clearMedia() which is called in _init_ and at start of refresh. Removed redunant _media_* = None entries Grouped TV Show and Music under single if rather than testing seperately for now. * Fixed invalid name for _clearMedia() Removed another media_* = None entry * Removed print() statements used for debug * Removed unneeded "if" statement * Changes * Updated Requests to 2.18.4 * Updated plexapi to 3.0.3 * Removed function to convert_NA_to_None * Removed function get_thumb_url Type changes * _session.player is now a list players * na_type deprecated and to be removed * plexapi has change na to None Known Issues: * Player controls currently broken * Last location (library) stays while player idle * Username is now Usernames and a list * Fix for broken controls * Removed errant print statement * Removed depecrated na_type * Updated Plex Sensor to use plexapi 3.0.3 Added support for Token to be used in sensor Known Issues: Username and Password broken for Plex Sensor use Token instead for now * removed TODOs * Fixes for private access violations * Removed need for _local_client_fix * Removed unused import and fixed parens |
||
---|---|---|
.. | ||
components | ||
helpers | ||
scripts | ||
util | ||
__init__.py | ||
__main__.py | ||
bootstrap.py | ||
config.py | ||
const.py | ||
core.py | ||
exceptions.py | ||
loader.py | ||
monkey_patch.py | ||
package_constraints.txt | ||
remote.py | ||
setup.py |