Commit graph

61 commits

Author SHA1 Message Date
epenet
6b157921ea
Use new media player enums [s] (#78064) 2022-09-08 23:05:10 +02:00
epenet
3ec231c911
Improve entity type hints [s] (part 2/2) (#77882) 2022-09-06 13:36:44 +02:00
Franck Nijhof
6e65cb4928
Fix Spotify deviding None value in current progress (#76581) 2022-08-10 21:27:52 -04:00
Franck Nijhof
742877f79b
Revert "Disable Spotify Media Player entity by default (#69372)" (#76250) 2022-08-05 16:28:52 +02:00
Franck Nijhof
964bb63da6
Migrate Spotify to new entity naming style (#74992) 2022-07-11 09:12:56 -07:00
epenet
190ef4ee35
Use EntityFeature enum in components (s** 2/2) (#69441) 2022-04-07 15:06:34 +02:00
Franck Nijhof
9e2198fa47
Disable Spotify Media Player entity by default (#69372) 2022-04-05 14:54:03 -07:00
Marc Mueller
53110f8cb7
Update pylint to 2.13.2 (#68704) 2022-03-27 16:08:24 +02:00
Marc Mueller
911b159281
Cleanup after pylint update (#68657) 2022-03-26 00:34:12 +01:00
Franck Nijhof
ba83648d27
Fix Spotify session token refresh (#66386) 2022-02-12 17:13:32 +01:00
Franck Nijhof
acf2033734
Use DataUpdateCoordinator for Spotify devices (#66314) 2022-02-11 18:04:49 +01:00
Franck Nijhof
57624347e6
Don't requests known Spotify playlist (#66313) 2022-02-11 17:53:25 +01:00
Franck Nijhof
c6f3c5da79
Type Spotify hass data (#66285) 2022-02-10 12:38:33 -08:00
Franck Nijhof
8a09303c98
Extract Spotify media browsing into a module (#66175) 2022-02-09 22:03:15 +01:00
Franck Nijhof
b9f21d4e07
Improve typing of Spotify (#66109)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-08 23:07:13 +01:00
Paulus Schoutsen
d14fbf40c8
Store new spotify client in hass.data (#64984) 2022-01-26 09:00:59 -08:00
Paulus Schoutsen
07c239643a
Some media source things (#64954)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-26 09:49:33 +01:00
Paulus Schoutsen
a371f8f788
Allow browsing the Spotify media player in Sonos (#64921) 2022-01-25 12:43:43 -08:00
Marc Mueller
25f8d4a189
Upgrade pylint to 2.12.1 (#60375) 2021-11-26 00:13:27 +01:00
Ville Skyttä
39691faccc
Use DeviceEntryType in non-typechecked code too (#58646) 2021-11-23 10:04:33 +01:00
Franck Nijhof
93e15ef88c
Add service configuration URL to Spotify (#57701) 2021-10-14 22:42:34 +02:00
Marc Mueller
48bada5a18
Update pylint to 2.11.1 (#56364) 2021-09-18 13:52:59 +02:00
Marc Mueller
0815eede4b
Replace lists with tuples (2) (#53685) 2021-07-30 01:20:03 +02:00
Paulus Schoutsen
d30ed05f30
Expose Spotify as a service (#53063) 2021-07-15 10:27:18 -07:00
Franck Nijhof
17b2678aee
Define media_player entity attributes as class variables (#51192) 2021-05-28 12:32:31 +02:00
Maciej Bieniek
f212049fc2
Add constructor return type in integrations O-S (#50896) 2021-05-20 15:58:17 +02:00
Milan Meulemans
29d72714f3
Replace dict with DeviceInfo (#49950)
* Replace dict with DeviceInfo

* Clean up

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-02 00:37:19 +02:00
Ruslan Sayfutdinov
cbaeec2a4e
Use AddEntitiesCallback type, pt.2 (#49921) 2021-04-30 20:38:59 +02:00
J. Nick Koston
3fa8ffa731
Enable mccabe complexity checks in flake8 (#49616)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-25 12:38:40 +02:00
Philip Allgaier
9043a1f5aa
Raise Spotify exception if no active device found (#48486) 2021-03-30 16:54:33 +02:00
Marc Mueller
a3cd1854f6
Update typing 12 (#48073) 2021-03-18 14:31:38 +01:00
Franck Nijhof
9b7ecddde6
Add reverse repeatmode mapping constant to Spotify (#43968) 2020-12-05 15:05:12 +01:00
Franck Nijhof
db0dee1ab2
Add repeat mode support to Spotify (#43247) 2020-11-21 11:38:40 +01:00
Paulus Schoutsen
1fba245ff1
Catch correct error when Spotify has a request error (#43032) 2020-11-10 09:58:52 +01:00
Kevin Hellemun
e929ae10cd
Fix Spotify scopes evaluation (#42819)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-11-09 00:46:26 +01:00
Bram Kragten
fbf0e69558
Add children media class to children spotify media browser (#39953) 2020-09-12 10:35:51 +02:00
Martin Hjelmare
e96fed20c8
Add children media class (#39902)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-11 13:08:13 +02:00
Bram Kragten
b49e6243d1
Fix spotify media browser category (#39888) 2020-09-10 12:06:18 +02:00
Martin Hjelmare
be04f14a78
Make spotify media class lookup more robust (#39841) 2020-09-09 14:48:28 +02:00
Martin Hjelmare
586d7eaba6
Add media class browse media attribute (#39770) 2020-09-08 16:42:01 +02:00
Paulus Schoutsen
5bcffba53e
Guard for spotify items without type (#39795)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-09-08 15:23:29 +02:00
Martin Hjelmare
c3ee79e4db
Clean up spotify media browser dict access (#39764) 2020-09-07 22:17:10 +02:00
Philip Allgaier
84992da24a
Make Spotify library payload use "BrowseMedia" (#39744) 2020-09-07 17:52:35 +02:00
Bram Kragten
19818d96b7
Spotify browser add more sources (#39296)
Co-authored-by: Tobias Sauerwein <cgtobi@gmail.com>
2020-09-06 22:55:29 +02:00
Paulus Schoutsen
df8daf561e
Browse media class (#39698) 2020-09-06 15:52:59 +02:00
cgtobi
c8d49a8adf
Add Spotify media browser capability (#39240)
Co-authored-by: Tobias Sauerwein <cgtobi@gmail.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-08-27 17:00:36 +02:00
Adam Liddell
c3f63e0739
Fix media_content_id attribute in Spotify integration (#37853)
Previously, the media_content_id field would contain the track name, which
appears was a regression when the Spotify integration was rewritten in
7e4b9adc. The media_content_id now reverts to containing the Spotify
track 'uri' field, which has the form 'spotify:track:...'
2020-07-14 20:37:08 +02:00
rako77
ca6243c18a
Add missing typing to Spotify (#34698) 2020-04-26 21:25:58 +02:00
Erik Montnemery
62bc02fdda
Rename MediaPlayerDevice to MediaPlayerEntity (#34592) 2020-04-25 18:00:57 +02:00
Franck Nijhof
8272c71811
Handle query and anchors in Spotify URI's (#33084)
* Handle query and anchors in Spotify URI's

* Use yarl for cleaning up the URL
2020-03-21 12:24:23 -07:00