Files
core/homeassistant/components/sensor
Ryan McLean 41fa8cc8f2 Plex refactor Part 1 - Update plexapi to 3.0.3 (#9988)
* 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
2017-10-25 11:42:13 +02:00
..
2017-10-17 10:02:03 +02:00
2017-09-19 10:04:11 +02:00
2017-05-12 20:30:07 -07:00
2017-06-29 11:03:52 +02:00
2017-10-14 14:45:32 -04:00
2017-10-04 10:20:08 +02:00
2017-07-31 20:41:45 -07:00
2017-09-23 17:15:46 +02:00
2017-10-23 09:20:45 +02:00
2017-05-15 14:25:46 +02:00
2017-09-24 08:12:38 +02:00
2017-10-20 20:28:34 +02:00
2017-10-23 13:12:14 +02:00
2017-06-29 11:03:52 +02:00
2017-07-18 16:23:39 +02:00
2017-10-02 17:17:08 +02:00
2017-10-14 14:45:32 -04:00
2017-06-05 08:39:31 -07:00
2017-08-06 10:08:45 +02:00
2017-09-25 22:34:48 +02:00
2017-09-23 17:15:46 +02:00
2017-09-12 19:50:28 -07:00
2017-10-07 00:22:40 +02:00
2017-09-29 12:05:02 +02:00
2017-07-16 21:39:38 +02:00
2017-06-13 07:22:46 +02:00
2017-08-29 16:18:36 +02:00
2017-10-18 11:20:19 +02:00
2017-08-30 22:23:28 +02:00
2017-10-08 20:14:39 +02:00
2017-10-07 09:47:52 +02:00
2017-10-19 10:56:25 +02:00
2017-10-09 14:38:00 +03:00
2017-10-04 10:31:42 +02:00
2017-10-24 18:36:08 +02:00
2017-09-17 13:40:58 +02:00
2017-06-18 21:32:39 -07:00
2017-09-27 10:44:32 -07:00
2017-10-23 14:38:16 -04:00
2017-09-24 08:28:11 +02:00
2017-06-26 22:30:25 +02:00
2017-08-12 08:52:56 +02:00
2017-07-07 07:55:58 -07:00
2017-10-24 09:34:06 +02:00
2017-05-13 14:09:00 -04:00
2017-07-04 10:07:06 +02:00
2017-08-06 15:20:51 +02:00
2017-10-15 21:41:16 -07:00