Commit graph

21 commits

Author SHA1 Message Date
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
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
a3281f9bda
Drop slash from media source directories (#64499) 2022-01-19 22:36:47 -08:00
Michael
83989d7b40
Use relative imports [L-R] (#61575) 2021-12-13 00:24:46 +01:00
Allen Porter
31aa168bbb
Fix bug in MediaSource definintion and enable strict type checking (#58321) 2021-10-24 11:39:39 +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
Marc Mueller
25a13d1554
Update typing 10 (#48071) 2021-03-18 13:07:04 +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
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
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
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