Commit Graph

52 Commits (727eccfec4a537e245227bc4c581480c4ec0a145)

Author SHA1 Message Date
epenet 5442d6af01
Improve msg type hint in websocket commands (#80530) 2022-10-18 16:41:17 +02:00
Franck Nijhof 2b27cfdabb
Set system & entity integration types (#79593) 2022-10-04 10:36:42 -04:00
Paulus Schoutsen 697e7b3a20
TTS Cleanup and expose get audio (#79065) 2022-09-25 20:53:20 -04:00
epenet 5c8e8e4860
Use new media player enums (#78264) 2022-09-12 20:06:27 +02:00
epenet 1fc8a570b0
Expose media-source constants in root (#78268) 2022-09-12 18:46:25 +02:00
Franck Nijhof 63d71457aa
Type BrowseMedia children as a covariant (#76869) 2022-08-16 16:31:09 +02:00
Erik Montnemery f76afffd5a
Require passing target player when resolving media (#72593) 2022-05-27 08:40:55 -07:00
Marc Mueller 9b9b553521
Disable no-self-use [pylint] (#70641)
* Disable no-self-use

* Remove disable comments
2022-04-25 07:41:01 -07:00
DDanii 25504b697c
Prevent item appear in media browser if name starts with dot (#69820) 2022-04-13 20:27:59 +02: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 854d7d4936
Fix shutil import for local source (#66286) 2022-02-10 12:23:41 -08:00
Paulus Schoutsen dd48f1e6fc
Allow uploading media to media folder (#66143) 2022-02-10 08:03:14 -08:00
Paulus Schoutsen e90143e5c9
Sort media sources (#66237)
* Sort media sources

* Flatten media sources and sort Cast children

* Only expand if possible
2022-02-10 09:03:29 +01:00
Paulus Schoutsen 3bce870c6d
Add helper for media players to handle HA hosted media (#66120)
* Sonos to sign all HASS urls

* Don't sign if queries in url

* Extract media player hass URL handling to helper
2022-02-09 12:50:33 -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 090e667b64
Add local media browser to VLC (#64655) 2022-01-21 13:49:23 -08:00
Paulus Schoutsen c72c39e9a1
Some tweaks for media source (#64641) 2022-01-21 11:26:06 -08:00
Paulus Schoutsen 63f8e437ed
Add Home Assistant Content user (#64337) 2022-01-21 10:06:39 -08:00
Paulus Schoutsen a3281f9bda
Drop slash from media source directories (#64499) 2022-01-19 22:36:47 -08:00
epenet 946238fb02
Import frontend (#64104)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 10:01:12 +01:00
Erik Montnemery 6eb0447566
Import websocket_api (part 3) (#63907) 2022-01-11 17:26:37 +01:00
Michael 83989d7b40
Use relative imports [L-R] (#61575) 2021-12-13 00:24:46 +01:00
Marc Mueller 84618fa831
Use assignment expressions 30 (#58714) 2021-10-30 16:33:42 +02:00
Allen Porter 31aa168bbb
Fix bug in MediaSource definintion and enable strict type checking (#58321) 2021-10-24 11:39:39 +02:00
Ville Skyttä 939fde0a50
ConfigType and async_setup/setup type hint improvements (#54739) 2021-08-18 13:22:05 +02:00
Maciej Bieniek e06a2a53c4
Add constructor return type in integrations L-N (#50888)
* Add constructor return type in integrations L-N

* Small fix
2021-05-20 13:06:44 +01: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
Martin Hjelmare 7e30ab2fb2
Add missing internal quality scale label (#48947)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-10 12:37:20 +02:00
Erik Montnemery 346af58f27
Extend media source URL expiry to 24h (#48912) 2021-04-09 17:19:23 +02:00
Marc Mueller 25a13d1554
Update typing 10 (#48071) 2021-03-18 13:07:04 +01:00
Franck Nijhof dd8d4471ec
Postponed evaluation of annotations for integrations (#46455) 2021-02-12 18:54:00 +01: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
Jason Hunter 2b1fc90de7
Add Media Source to Xbox Integration (#41833)
* initial implementation of xbox media source

* minor fixes

* fix lint

* add media class map to remove multi-line ternary
2020-10-14 15:02:08 -04: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 e6bc48ab68
Remove media class apps and channels (#39864) 2020-09-09 22:19:52 +02:00
Jason Hunter 9358b5089e
Sort Local Media Source and fix media class (#39858) 2020-09-09 22:19:30 +02:00
Martin Hjelmare 586d7eaba6
Add media class browse media attribute (#39770) 2020-09-08 16:42:01 +02:00
Bram Kragten d0e44893f5
Local media source: return different error if media folder doesnt exist (#39759) 2020-09-07 20:38:06 +02:00
Philip Allgaier dd00cfc7a2
Fix media browser panel title (#39720) 2020-09-06 16:48:07 -04:00
Paulus Schoutsen df8daf561e
Browse media class (#39698) 2020-09-06 15:52:59 +02:00
Jason Hunter 706f1f8a66
Register media browser panel (#39655)
* register media browser panel

* Apply suggestions from code review.

Co-authored-by: Zack Arnett <arnett.zackary@gmail.com>

* Update homeassistant/components/media_source/__init__.py

Co-authored-by: Zack Arnett <arnett.zackary@gmail.com>

Co-authored-by: Zack Arnett <arnett.zackary@gmail.com>
2020-09-05 00:28:53 +02:00