Commit Graph

24 Commits (3840cbd012485e7cdae16421930b906f7e673791)

Author SHA1 Message Date
epenet 41d2ac3943
Cleanup MediaClass and MediaType in tests (#78817)
Cleanup MediaClass/MediaType in tests
2022-09-20 17:55:13 +02:00
Erik Montnemery 47d0cc9b09
Update integrations to pass target player when resolving media (#72597) 2022-05-27 09:05:06 -07:00
Erik Montnemery f76afffd5a
Require passing target player when resolving media (#72593) 2022-05-27 08:40:55 -07:00
Paulus Schoutsen 0a6c8f8e6c
Improve not shown handling (#67247) 2022-02-25 11:52:14 -08:00
Paulus Schoutsen 6fd9e71b8f
Adjust serializing resolved media (#67240) 2022-02-25 10:00:03 -08:00
Paulus Schoutsen a5383e40eb
Media source to verify domain to avoid KeyError (#67137) 2022-02-23 16:22:39 -08:00
Paulus Schoutsen 459e6c273b
Track hidden items in media source (#67096) 2022-02-23 09:51:01 +01:00
Paulus Schoutsen fda3877852
Improved local media ID handling (#67083) 2022-02-23 08:39:54 +01:00
Paulus Schoutsen 8080aab98e
Allow deleting files from media source (#66975) 2022-02-21 19:14:42 +01:00
Paulus Schoutsen 707f112f51
Improve raised exception consistency for media source (#66497) 2022-02-14 15:41:53 +01:00
Paulus Schoutsen dd48f1e6fc
Allow uploading media to media folder (#66143) 2022-02-10 08:03:14 -08:00
Paulus Schoutsen c72c39e9a1
Some tweaks for media source (#64641) 2022-01-21 11:26:06 -08:00
Paulus Schoutsen a3281f9bda
Drop slash from media source directories (#64499) 2022-01-19 22:36:47 -08:00
Ville Skyttä 77120a5137
Use http.HTTPStatus in components/m* (#58251) 2021-10-22 23:54:36 +02:00
Erik Montnemery f5545badac
Quote media_source paths (#49054)
* Quote path in async_sign_path

* Address review comments, add tests

* Update tests/testing_config/media/Epic Sax Guy 10 Hours.mp4

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-04-12 18:32:12 +02:00
DeadEnd 7b280bdbe7
Fix Local Media in Media Browser (#45987)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-02-04 17:02:56 +01:00
Joakim Sørensen b1c2cde40b
Changes to filename and path validation (#45529)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-01-26 15:53:21 +01:00
Franck Nijhof 65cf2fcb6f
Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
Franck Nijhof f83f3c927a
Fix local media browser source conflicting with local www folder (#40151) 2020-09-16 21:38:40 +02:00
Franck Nijhof ff0562ad1e
Add media dirs core configuration (#40071)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-16 15:28:25 +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
Martin Hjelmare 586d7eaba6
Add media class browse media attribute (#39770) 2020-09-08 16:42:01 +02:00
Paulus Schoutsen df8daf561e
Browse media class (#39698) 2020-09-06 15:52:59 +02:00
Jason Hunter f2b3e63ff6
Media Source implementation for Chromecast (#39305)
* 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