42 Commits

Author SHA1 Message Date
Eleftherios Chamakiotis
6174c1754b Fix for iTunes media player not updating artwork (#12089)
* Added timestamp at the end of the iTunes API URL from where HA retrieves the artwork, so that it's not cached, as the URL exposed by the API never changes

* Rearranged imports according to pylint

* Added content_id in media file URL instead of timestamp, according to Paulus' suggestion
2018-02-09 14:09:34 -08:00
Eleftherios Chamakiotis
87c0fd98c7 Add support for "off" function to iTunes (#12109)
fixes #7614
2018-02-02 14:54:47 +00:00
Paulus Schoutsen
46e030662d Fix pylint 1.7.2 no-else-return issues (#8361)
* Fix pylint 1.7.2 no-else-return issues

* Update tomato.py
2017-07-05 23:30:01 -07:00
Fabian Affolter
a4f1f6e724 Update docstrings (#7374)
* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstring

* Update docstrings

* Update docstrings

* Fix lint issues

* Update docstrings

* Revert changes in dict
2017-05-02 09:18:47 -07:00
Fabian Affolter
cfc023e128 Don't use len(SEQUENCE) as condition value (#7249)
* Don't use len(SEQUENCE) as condition value

* Update volvooncall.py
2017-04-23 20:41:09 -07:00
Adam Mills
ecfe8e0a9a Formalize supported_features as entity property (#5794)
* Formalize supported_features as entity property

* Remove extra emulated_hue conditions

* Generate log message in executor
2017-02-07 20:42:45 -08:00
Pascal Vizeli
eefb603f17 Cleanup media_player universal platform / blocking platform. (#5671)
* Cleanup media_player universal platform / blocking platform.

* fix comments

* fix unittest

* fix lint

* fix unittest lint

* fix coro

* fix test

* fix tests part 2
2017-02-01 21:45:19 -08:00
Adam Mills
469472914b Add SUPPORT_PLAY flag (#5181)
* Add SUPPORT_PLAY flag

* Add SUPPPORT_PLAY to existing media players

* Leave usage of new flag to device devs
2017-01-09 01:09:30 +01:00
Paulus Schoutsen
ee5f228309 Make services yield (#4187)
* Make services yield

* Disable pylint abstract-method check

* add input_select

* add input_slider

* change to async vers.

* fix lint

* yield on add_entities as other components does
2016-11-03 18:32:14 -07:00
Fabian Affolter
be272ac64a Disable too-many-* (#4107)
* Disable too-many-* and too-few-public-methods

* Remove globally disabled pylint warnings
2016-10-30 22:18:53 +01:00
Fabian Affolter
4791b5679e Use voluptuous for iTunes (#3344)
* Migrate to voluptuous

* Add support for SSL/TLS
2016-09-13 23:01:51 -07:00
Alexander Fortin
a4409da700 Add add_uri_to_queue support to (sonos) media player (#1946)
Sonos (SoCo) supports add_uri_to_queue capability, making it possible
to stream media available via HTTP for example. This patch extends
media_player component and sonos platform to support this feature
2016-05-19 23:30:19 -07:00
Fabian Affolter
cf7c2c492a Fix PEP257 issues 2016-03-08 10:34:33 +01:00
Paulus Schoutsen
e80309c03c Fix imports (using isort) 2016-02-18 21:27:50 -08:00
Jon Maddox
a3b8122707 not using these 2016-01-21 17:54:26 -05:00
Jon Maddox
682e3460e0 use custom material icons to represent speaker state 2016-01-21 17:45:30 -05:00
Jon Maddox
71dbd10b39 let port be optional 2016-01-21 17:18:52 -05:00
Paulus Schoutsen
7ba9fb90f1 More PyLint fixes 2015-11-29 14:04:44 -08:00
Fabian Affolter
97f9f8aa49 Update link to docs (Jekyll 3 update) 2015-11-09 13:12:18 +01:00
Fabian Affolter
44b08a06e7 Remove configuration details 2015-10-23 18:26:36 +02:00
Jon Maddox
ffbaf0cd5a simpler 2015-10-07 02:13:13 -04:00
Jon Maddox
3b58e8628d style 2015-10-07 02:02:25 -04:00
Jon Maddox
c2fe977778 style 2015-10-07 01:55:15 -04:00
Jon Maddox
85338887b4 wrap it 2015-10-07 01:42:50 -04:00
Jon Maddox
9a3c76c263 these are required 2015-10-07 01:41:57 -04:00
Jon Maddox
bdb42bf4a2 support play_media 2015-10-06 23:12:48 -04:00
Jon Maddox
1b22f71a19 implement play_media 2015-10-06 23:12:41 -04:00
Jon Maddox
e84ddb036f return what playlist is playing 2015-10-06 23:12:30 -04:00
Jon Maddox
4be33bb15b add a way to play a playlist with the client 2015-10-06 23:12:20 -04:00
Jon Maddox
61685ea13d tag on " AirTunes Speaker" instead 2015-09-15 21:40:39 -04:00
Jon Maddox
77b9a12687 Tags the name of the device to the end of the name
This helps the media player be more explicit about itself and what it
is. It also namespaces it self a little better in the system. Rather
than be `media_player.family_room` it is
`media_player.family_room_apple_tv`. This helps for cases when there’s
another actual media player like Kodi or Chromecast in there.
2015-09-15 21:07:49 -04:00
Jon Maddox
e8c3eaab33 style tweaks 2015-09-14 17:39:43 -04:00
Jon Maddox
fcbeddeb57 describe airplay part 2015-09-14 17:34:57 -04:00
Jon Maddox
50b23e1969 adds airplay speakers as media_players 2015-09-14 17:27:00 -04:00
Jon Maddox
395dbe8804 drop the try 2015-09-12 00:50:40 -04:00
Jon Maddox
f41786d893 STYLE!!!! 2015-09-12 00:49:34 -04:00
Jon Maddox
34dee0c134 style and docs 2015-09-12 00:42:11 -04:00
Jon Maddox
705238eb78 dat slash 2015-09-12 00:23:12 -04:00
Jon Maddox
2b6e0da405 add docstring 2015-09-12 00:23:04 -04:00
Jon Maddox
9d750368ff moar style fixes 2015-09-12 00:16:51 -04:00
Jon Maddox
b9f5ec9e2c style fixes 2015-09-11 23:49:43 -04:00
Jon Maddox
cb3f14a862 add iTunes component 2015-09-11 23:06:03 -04:00