Commit graph

13 commits

Author SHA1 Message Date
Paulus Schoutsen
e90143e5c9
Sort media sources ()
* Sort media sources

* Flatten media sources and sort Cast children

* Only expand if possible
2022-02-10 09:03:29 +01:00
Paulus Schoutsen
07c239643a
Some media source things ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-26 09:49:33 +01:00
Marc Mueller
84618fa831
Use assignment expressions 30 () 2021-10-30 16:33:42 +02:00
Allen Porter
31aa168bbb
Fix bug in MediaSource definintion and enable strict type checking () 2021-10-24 11:39:39 +02:00
Maciej Bieniek
e06a2a53c4
Add constructor return type in integrations L-N ()
* Add constructor return type in integrations L-N

* Small fix
2021-05-20 13:06:44 +01:00
Marc Mueller
25a13d1554
Update typing 10 () 2021-03-18 13:07:04 +01:00
Franck Nijhof
dd8d4471ec
Postponed evaluation of annotations for integrations () 2021-02-12 18:54:00 +01:00
Martin Hjelmare
e96fed20c8
Add children media class ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-11 13:08:13 +02:00
Martin Hjelmare
e6bc48ab68
Remove media class apps and channels () 2020-09-09 22:19:52 +02:00
Martin Hjelmare
586d7eaba6
Add media class browse media attribute () 2020-09-08 16:42:01 +02:00
Paulus Schoutsen
df8daf561e
Browse media class () 2020-09-06 15:52:59 +02:00
cgtobi
84944cfc24
Add Netatmo media browser support () 2020-09-04 20:21:42 +02:00
Jason Hunter
f2b3e63ff6
Media Source implementation for Chromecast ()
* Implement local media finder and integrate into cast

* update to media source as a platform

* Tweak media source design

* fix websocket and local source

* fix websocket schema

* fix playing media

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Add resolve_media websocket

* Register that shit

* Square brackets

* Sign path

* add support for multiple media sources and address PR review

* fix lint

* fix tests from auto whitelisting config/media

* allow specifying a name on the media source

* add tests

* fix for python 3.7

* Apply suggestions from code review

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* add http back to cast and remove guess_type from executor as there is no i/o

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-04 11:16:29 -04:00