core/homeassistant/components/media_player
Ryan McLean 3fa45375d9 Plex refactor (#11235)
* Cleaned up '_clear_media()'

* Moved media Type to new method

* renamed "clear_media()' to ' clear_media_details()'
reset 'app_name' (Library Name) in clear_media_details
moved thumbs to '_set_media_image()'

* Moved playback info into setmedia type as it was just used for the next anyway

* Moved library name & image download to only happen if session and player active as else no point anyway

* Fixed Linting issue

* Some tweaks to clean up unintended complexity

* Removed redundant declarations

* Fixed whitespace

* Revert "Fixed whitespace"

This reverts commit 0985445c47.

* Revert "Removed redundant declarations"

This reverts commit 6f9d5a85b0.
2017-12-24 11:18:31 -05:00
..
__init__.py Optimize concurrent access to media player image cache (#10345) 2017-11-13 09:03:12 -08:00
anthemav.py Fix pylint 1.7.2 no-else-return issues (#8361) 2017-07-05 23:30:01 -07:00
apple_tv.py Bump pyatv to 0.3.5 (#9586) 2017-09-26 21:01:17 +02:00
aquostv.py Remove globally disabled pylint issues (#8005) 2017-06-13 11:10:32 +02:00
bluesound.py Use constants for HTTP headers (#10313) 2017-11-04 12:04:05 -07:00
braviatv.py Refactored to new global json saving and loading (#10677) 2017-11-19 19:47:55 -08:00
cast.py Revert pychromecast update (#10989) 2017-12-05 22:08:09 -08:00
clementine.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
cmus.py Do not call update() in constructor (#8878) 2017-08-08 20:21:33 +02:00
demo.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
denon.py Updated denon component to play nice with the 3808CI that doesn't support NSFRN command (#10157) 2017-10-27 14:22:23 +02:00
denonavr.py Don't repeat getting receiver name on each update / pushed to denonavr 0.5.5 (#10915) 2017-12-03 21:51:32 +01:00
directv.py Update directpy to 0.2 (#9948) 2017-10-18 19:04:01 +02:00
dunehd.py fixed duplicate words (#9705) 2017-10-05 21:55:09 +02:00
emby.py Cleanup and simplitfy the async state update (#9390) 2017-09-12 10:01:03 +02:00
firetv.py media_player.firetv - Adding support for https. (#8022) 2017-06-15 22:23:10 -07:00
frontier_silicon.py Upgrade netdisco to 1.0.0rc2 (#7008) 2017-04-11 20:10:02 -07:00
gpmdp.py Refactored to new global json saving and loading (#10677) 2017-11-19 19:47:55 -08:00
gstreamer.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
hdmi_cec.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
itunes.py Fix pylint 1.7.2 no-else-return issues (#8361) 2017-07-05 23:30:01 -07:00
kodi.py Cleanup and simplitfy the async state update (#9390) 2017-09-12 10:01:03 +02:00
lg_netcast.py Do not call update() in constructor (#8878) 2017-08-08 20:21:33 +02:00
liveboxplaytv.py Add media position properties (#10076) 2017-12-13 10:58:49 +01:00
monoprice.py Functinality to save/restore snapshots for monoprice platform (#10296) 2017-12-22 10:26:34 +01:00
mpchc.py Do not call update() in constructor (#8878) 2017-08-08 20:21:33 +02:00
mpd.py MPD now uses the filename if song doesn't have metadata (#10085) 2017-10-27 11:21:47 +02:00
nad.py Do not call update() in constructor (#8878) 2017-08-08 20:21:33 +02:00
nadtcp.py Do not call update() in constructor (#8878) 2017-08-08 20:21:33 +02:00
onkyo.py Upgrade onkyo-eiscp to 1.2.4 (fixes #8995) (#9068) 2017-08-21 11:25:34 +02:00
openhome.py Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
panasonic_viera.py Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
pandora.py Fix pylint 1.7.2 no-else-return issues (#8361) 2017-07-05 23:30:01 -07:00
philips_js.py Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
pioneer.py Supress exception if host is not available (fixes #8684) (#8732) 2017-07-31 08:58:13 -07:00
plex.py Plex refactor (#11235) 2017-12-24 11:18:31 -05:00
roku.py Persistent notification import (#8507) 2017-07-16 21:39:38 +02:00
russound_rio.py Fix russound_rio for python 3.4 (#9428) 2017-09-15 11:40:40 +02:00
russound_rnet.py Update the Russound RNET component to use enhanced Russound.py (#9739) 2017-10-21 14:56:37 -04:00
samsungtv.py Handle OSError when forcibly turning off media_player.samsungtv (#10997) 2017-12-07 16:30:51 +00:00
services.yaml Functinality to save/restore snapshots for monoprice platform (#10296) 2017-12-22 10:26:34 +01:00
snapcast.py Snapcast: bump version and enable reconnect. (#10626) 2017-11-16 20:32:26 -05:00
sonos.py Revbump to SoCo 0.13 and add support for Night Sound and Speech Enhancement. (#10765) 2017-12-17 13:08:35 +01:00
soundtouch.py Add Soundtouch support for playing an HTTP url (#8370) 2017-07-06 22:28:09 -07:00
spotify.py Handle spotify failing to refresh access_token (#9295) 2017-09-04 20:47:40 +02:00
squeezebox.py async_query returns False if connection to server failed, handle this properly (#9070) 2017-08-22 07:09:11 +02:00
ue_smart_radio.py Add support for Logitech UE Smart Radios. (#10077) 2017-12-09 20:01:23 +01:00
universal.py Use a template for the Universal media player state (#10395) 2017-11-14 11:41:19 +01:00
vizio.py Update requests requirement (#9876) 2017-10-19 19:24:49 -07:00
vlc.py Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00
volumio.py Fix pylint 1.7.2 no-else-return issues (#8361) 2017-07-05 23:30:01 -07:00
webostv.py Fix webostv select source (#11227) 2017-12-22 18:38:00 +01:00
yamaha.py Clarify yamaha play_media parameters (#10228) 2017-10-30 21:38:52 +01:00
yamaha_musiccast.py Bump pymusiccast to version 0.1.6 (#11091) 2017-12-11 22:29:52 +01:00
ziggo_mediabox_xl.py Add Ziggo Mediabox XL media_player (#10514) 2017-12-05 14:22:27 +01:00