Commit Graph

52 Commits (d4bd9a0f7eb714a291aa082b734d869b8e100712)

Author SHA1 Message Date
epenet 5442d6af01
Improve msg type hint in websocket commands () 2022-10-18 16:41:17 +02:00
Franck Nijhof 2b27cfdabb
Set system & entity integration types () 2022-10-04 10:36:42 -04:00
Paulus Schoutsen 697e7b3a20
TTS Cleanup and expose get audio () 2022-09-25 20:53:20 -04:00
epenet 5c8e8e4860
Use new media player enums () 2022-09-12 20:06:27 +02:00
epenet 1fc8a570b0
Expose media-source constants in root () 2022-09-12 18:46:25 +02:00
Franck Nijhof 63d71457aa
Type BrowseMedia children as a covariant () 2022-08-16 16:31:09 +02:00
Erik Montnemery f76afffd5a
Require passing target player when resolving media () 2022-05-27 08:40:55 -07:00
Marc Mueller 9b9b553521
Disable no-self-use [pylint] ()
* 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 () 2022-04-13 20:27:59 +02:00
Paulus Schoutsen 0a6c8f8e6c
Improve not shown handling () 2022-02-25 11:52:14 -08:00
Paulus Schoutsen 6fd9e71b8f
Adjust serializing resolved media () 2022-02-25 10:00:03 -08:00
Paulus Schoutsen a5383e40eb
Media source to verify domain to avoid KeyError () 2022-02-23 16:22:39 -08:00
Paulus Schoutsen 459e6c273b
Track hidden items in media source () 2022-02-23 09:51:01 +01:00
Paulus Schoutsen fda3877852
Improved local media ID handling () 2022-02-23 08:39:54 +01:00
Paulus Schoutsen 8080aab98e
Allow deleting files from media source () 2022-02-21 19:14:42 +01:00
Paulus Schoutsen 707f112f51
Improve raised exception consistency for media source () 2022-02-14 15:41:53 +01:00
Paulus Schoutsen 854d7d4936
Fix shutil import for local source () 2022-02-10 12:23:41 -08:00
Paulus Schoutsen dd48f1e6fc
Allow uploading media to media folder () 2022-02-10 08:03:14 -08:00
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 3bce870c6d
Add helper for media players to handle HA hosted media ()
* 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 ()
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 () 2022-01-21 13:49:23 -08:00
Paulus Schoutsen c72c39e9a1
Some tweaks for media source () 2022-01-21 11:26:06 -08:00
Paulus Schoutsen 63f8e437ed
Add Home Assistant Content user () 2022-01-21 10:06:39 -08:00
Paulus Schoutsen a3281f9bda
Drop slash from media source directories () 2022-01-19 22:36:47 -08:00
epenet 946238fb02
Import frontend ()
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) () 2022-01-11 17:26:37 +01:00
Michael 83989d7b40
Use relative imports [L-R] () 2021-12-13 00:24:46 +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
Ville Skyttä 939fde0a50
ConfigType and async_setup/setup type hint improvements () 2021-08-18 13:22:05 +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
Erik Montnemery f5545badac
Quote media_source paths ()
* 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 ()
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 () 2021-04-09 17:19:23 +02: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
DeadEnd 7b280bdbe7
Fix Local Media in Media Browser ()
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 ()
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 ()
* 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 () 2020-09-16 21:38:40 +02:00
Franck Nijhof ff0562ad1e
Add media dirs core configuration ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-16 15:28:25 +02: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
Jason Hunter 9358b5089e
Sort Local Media Source and fix media class () 2020-09-09 22:19:30 +02:00
Martin Hjelmare 586d7eaba6
Add media class browse media attribute () 2020-09-08 16:42:01 +02:00
Bram Kragten d0e44893f5
Local media source: return different error if media folder doesnt exist () 2020-09-07 20:38:06 +02:00
Philip Allgaier dd00cfc7a2
Fix media browser panel title () 2020-09-06 16:48:07 -04:00
Paulus Schoutsen df8daf561e
Browse media class () 2020-09-06 15:52:59 +02:00
Jason Hunter 706f1f8a66
Register media browser panel ()
* 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