Scott Reston
74c249e57d
Fix retrieval of track URL into medi_content_id ( #13333 )
...
'current.item' was returning blank.
2018-03-21 10:44:53 -07:00
Tom Matheussen
67828cb7a2
Handle spotify failing to refresh access_token ( #9295 )
...
* Handle spotify failing to refresh access_token
* Remove whitespace
2017-09-04 20:47:40 +02:00
Tom Matheussen
427d7ee1fc
Check if album image(s) exist in spotify ( #9024 )
...
* Check if album image(s) exist in spotify
* Actually set the image to None
* Simplified using ternary operator
2017-08-17 22:39:20 +02:00
Adam Mills
19d1d748d4
Add support for Automatic OAuth2 authentication ( #8962 )
...
* Add support for Automatic OAuth2 authentication
* Fix async conversion of configurator
* Rename method for async
* Use hass.components to get configurator component
* Fix typo
* Move session data to hidden directory
* Make configurator callback optional
2017-08-13 22:37:50 -07:00
Tom Matheussen
233920f22c
Sets spotify media_type to music ( #8387 )
...
* Sets spotify media_type to music
* Removed whitespace
* Update spotify.py
2017-07-07 07:52:11 -07:00
Paulus Schoutsen
5779d64e98
Fix some issues for PyLint 1.7.2 ( #8356 )
...
* Fix some issues for PyLint 1.7.2
* More fixes
* Revert position change for cover
2017-07-05 20:02:16 -07:00
Tom Matheussen
bf2fe60cb5
Take in account Spotify account permissions ( #8012 )
...
* only show Spotify actions when Premium account is used
* Fix indentation, stupid autoformat
2017-06-14 00:45:00 +02:00
Sören Oldag
03f916ed10
Fixed bug in spotify component. ( #7976 )
2017-06-11 22:24:01 -07:00
David-Leon Pohl
2b70b1881a
Quickfix Bug #7384 ( #7582 )
...
* Quickfix Bug #7384
* Fix devices not available runtime bug
2017-06-02 00:05:07 -07:00
Teagan Glenn
cefacf9ce4
Spotify aliases ( #7702 )
...
* Alias support for spotify devices
* Fix log
* Formatting/Fixes
* Remove default arg
* Add default keyword
* None check
2017-06-01 23:53:23 -07:00
Paulus Schoutsen
e68bd0457c
Fix more deprecation warnings ( #7778 )
...
* Remove setting up an hbmqtt broker
* Don't pass loop to web.Application in tests
* Use .query instead of deprecated .GET for aiohttp requests
* Fix closing file resource
* Do not use asyncio mark
* Notify.html5 - PyJWT: Use options to disable verify
* Yamaha: Test was still using deprecated ip
* Remove pytest-asyncio
2017-05-26 13:12:17 -07:00
Josh Anderson
b34c58386c
Correct retrieval of spotify shuffle state ( #7505 )
...
Returned on the current playback response itself, not the device
2017-05-09 17:35:30 +02:00
abmantis
5cb3382425
new source only forces "play" if the current state is "playing" ( #7506 )
2017-05-09 17:34:17 +02: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
abmantis
c085f06df5
Add support for shuffle toggling on Spotify component. ( #7339 )
...
* add support for shuffle toggling on Spotify component.
this also required adding support for shuffle on the
media_player component.
* lint
* Use ATTR_MEDIA_SHUFFLING for service handler param
* Line too long fix
* fix tests
* add shuffle set to demo mediaplayer
* rename shuffle attribute
2017-04-30 12:41:21 -07:00
happyleavesaoc
e020d5114a
spotify media player ( #6980 )
...
* spotify media player
* fix refresh token
* spotify improvements
* add checks for idle
* import STATE_IDLE
* support more media_ids, limit updates
* move spotify device update
* Remove schedule_update_ha_state because should_poll is true
2017-04-19 22:45:12 -07:00