Commit Graph

8 Commits (04315751992a71fd48d35d0b6a7372d6b3774664)

Author SHA1 Message Date
epenet 5c8e8e4860
Use new media player enums (#78264) 2022-09-12 20:06:27 +02:00
Franck Nijhof 63d71457aa
Type BrowseMedia children as a covariant (#76869) 2022-08-16 16:31:09 +02:00
Jan Stienstra 879b415415
Fix incorrect check for media source (#75880)
* Fix incorrect check for media source

* Update homeassistant/components/jellyfin/media_source.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-07-29 10:11:53 -07:00
Jan Stienstra ed54cea3f2
Jellyfin: Add support for movie collections (#73086) 2022-06-06 12:17:21 -07:00
Jan Stienstra 2f25d52f69
Fix Jellyfin erroring on media items without a source (#67697)
* Fix erroring on media items with a source

* code style improvement
2022-03-07 14:13:51 +01:00
Jan Stienstra 4c952f09ac
Allow to skip artist level in media hierarchy (#64160) 2022-01-19 15:13:11 +01:00
Djowie 1d20f5be33
Improved stream url and removed dependency on track numbers (#64079) 2022-01-19 15:02:49 +01:00
j-stienstra 0ae5b9e880
Add Jellyfin integration (#44401)
* 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