Files
core/homeassistant/components/media_player
Ryan McLean af3ea5a321 Fix: Last Played Media Title persists in plex (#9664)
* 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
2017-10-07 15:31:01 -04:00
..
2017-09-23 17:15:46 +02:00
2017-09-26 21:01:17 +02:00
2017-08-01 22:41:51 -07:00
2017-09-23 17:15:46 +02:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-10-05 21:55:09 +02:00
2017-09-23 17:15:46 +02:00
2017-10-05 21:55:09 +02:00
2017-05-02 09:18:47 -07:00
2017-05-02 09:18:47 -07:00
2017-09-13 23:38:07 -07:00
2017-09-23 17:15:46 +02:00
2017-05-02 09:18:47 -07:00
2017-09-23 17:15:46 +02:00
2017-07-16 21:39:38 +02:00
2017-09-23 17:15:46 +02:00
2017-05-02 09:18:47 -07:00
2017-09-23 17:15:46 +02:00
2017-09-23 17:15:46 +02:00
2017-09-23 17:15:46 +02:00
2017-07-11 22:55:46 +02:00
2017-09-23 17:15:46 +02:00
2017-09-23 17:15:46 +02:00