Commit graph

12 commits

Author SHA1 Message Date
epenet
74d4a26f97
Add missing mock in jellyfin config flow tests () 2023-03-10 10:06:53 -05:00
Chris Talkington
2e1f6cad96
Detect newly connected clients in jellyfin () 2023-03-05 15:00:16 +01:00
epenet
ea29cdfe83
Add type hints to integration tests (part 12) () 2023-02-13 13:03:51 +01:00
epenet
a79be493e5
Adjust hass_client type hint in integration tests ()
* Adjust hass_client type hint in integration tests

* Adjust hass_client_no_auth

* Fix rebase
2023-02-02 16:29:57 -05:00
Ongy
3759be09df
Add media_player platform to Jellyfin () 2022-10-24 21:45:01 -05:00
Chris Talkington
245c13e6ed
Add diagnostics to jellyfin () 2022-10-20 20:02:40 -05:00
Chris Talkington
46794f7a5d
Add sensor platform to Jellyfin () 2022-10-12 00:20:32 -05:00
Chris Talkington
7fae85ee85
Add tests for Jellyfin init () 2022-10-10 00:29:37 -05:00
Chris Talkington
84acb416b8
Use server name as entry title in Jellyfin () 2022-10-09 23:50:05 -05:00
Chris Talkington
5b0a37a447
Use persistent device id for jellyfin requests () 2022-10-08 21:12:30 -05:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum () 2022-07-07 19:57:36 +03:00
j-stienstra
0ae5b9e880
Add Jellyfin integration ()
* Initial commit after scaffold setup

* Add initial config flow

* Create initial entity

* Ready for testing

* Can browse, no result yet

* Further improvements. Browsing is working.
Now need to work on proper stream URL

* Two valid URLs. Do not play in HA

* First working version for music

* Add thumbnail

* Includes Artist->Album hierarchy

* Add sorting of artists, albums and tracks

* Remove code for video libraries

* Improved code styling

* Optimize configuration flow

* Fix unit tests for config flow

* Fix import order

* Conform to style requirements

* Use empty string as media type for non playables

* 100% code coverage config_flow

* Type async_get_media_source

* Final docsctring fix after rebase

* Add __init__ and media_source files to .coveragerc

* Fix testing issues after rebase

* Fix string format issues and relative const import

* Remove unused manifest entries

* Raise ConfigEntry exceptions, not log errors

* Upgrade dependency to avoid WARNING on startup

* Change to builtin tuple and list (deprecation)

* Log broad exceptions

* Add strict typing

* Further type fixes after rebase

* Retry when cannot connect, otherwise fail setup

* Remove unused CONFIG_SCHEMA

* Enable strict typing checks

* FlowResultDict -> FlowResult

* Code quality improvements

* Resolve mypy.ini merge conflict

* Use unique userid generated by Jellyfin

* Update homeassistant/components/jellyfin/config_flow.py

Remove connection class from config flow

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>

* Minor changes for additional checks after rebase

* Remove title from string and translations

* Changes wrt review

* Fixes based on rebase and review suggestions

* Move client initialization to separate file

* Remove persistent_notification, add test const.py

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>
2021-11-12 14:57:40 +01:00