1
mirror of https://github.com/home-assistant/core synced 2024-10-01 05:30:36 +02:00
Go to file
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
.devcontainer VSCode switch to terminal.integrated.profiles (#54301) 2021-08-21 21:46:24 +02:00
.github Bump actions/checkout from 2.3.5 to 2.4.0 (#58978) 2021-11-03 08:27:59 +01:00
.vscode Add vscode task code coverage (#53783) 2021-08-05 11:46:21 +02:00
docs Drop unused ruamel (#55672) 2021-09-03 22:17:10 -07:00
homeassistant Add Jellyfin integration (#44401) 2021-11-12 14:57:40 +01:00
machine Add Khadas VIM3 (#53616) 2021-07-28 14:19:21 +02:00
pylint/plugins Pylint plugin to check that relative imports are used (#50937) 2021-05-22 09:15:30 +01:00
rootfs Shutdown the container on abnormal signals (#55660) 2021-09-06 14:37:33 +02:00
script Fix issue with ranges in requirements with hassfest (#59470) 2021-11-12 09:39:30 +01:00
tests Add Jellyfin integration (#44401) 2021-11-12 14:57:40 +01:00
.coveragerc Add Jellyfin integration (#44401) 2021-11-12 14:57:40 +01:00
.dockerignore Integrate dockerbuild (#33168) 2020-03-23 00:39:37 +01:00
.gitattributes highlight Dockerfile.dev as Dockerfile in github ui (#36933) 2020-06-22 14:45:57 +02:00
.gitignore Ignore config directory symlink in development (#56639) 2021-09-25 12:53:41 +02:00
.hadolint.yaml Add hadolint to CI (#34758) 2020-04-27 12:09:31 +02:00
.ignore
.pre-commit-config.yaml Upgrade pyupgrade to v2.29.0 (#59499) 2021-11-10 22:21:43 -08:00
.prettierignore Rename translations dir for integrations (#34494) 2020-04-21 16:11:05 -07:00
.readthedocs.yml Drop remaining Python < 3.8 support (#44743) 2021-01-04 11:47:29 +01:00
.strict-typing Add Jellyfin integration (#44401) 2021-11-12 14:57:40 +01:00
.yamllint Add yamllint (in pre-commit and CI) (#33676) 2020-04-05 10:33:45 +02:00
build.json Update docker base image to 2021.09.0 (#56191) 2021-09-13 21:11:10 +02:00
CLA.md Update LICENSE.md and CLA.md to reflect the new Apache 2.0 license 2017-01-28 12:12:34 -08:00
CODE_OF_CONDUCT.md Update Code of Conduct to 2.0 (#36142) 2020-05-25 19:40:40 -04:00
codecov.yml Update Codecov.io configuration (#33783) 2020-04-07 09:01:01 -07:00
CODEOWNERS Add Jellyfin integration (#44401) 2021-11-12 14:57:40 +01:00
CONTRIBUTING.md Use core GitHub URL in contributing guidelines (#41083) 2020-10-02 20:42:33 +02:00
Dockerfile Downgrade sqlite-libs on docker image (#55591) 2021-09-02 18:09:30 +02:00
Dockerfile.dev Add bluez to the devcontainer (#55469) 2021-09-04 12:16:06 +02:00
LICENSE.md Update license to official GitHub template (#16470) 2018-09-07 10:11:51 +02:00
MANIFEST.in Consolidate frontend (#9915) 2017-10-24 19:36:27 -07:00
mypy.ini Add Jellyfin integration (#44401) 2021-11-12 14:57:40 +01:00
pyproject.toml Update pylint to 2.11.1 (#56364) 2021-09-18 13:52:59 +02:00
README.rst Update README.rst to avoid redirects (#44519) 2020-12-26 10:05:41 +01:00
requirements_all.txt Add Jellyfin integration (#44401) 2021-11-12 14:57:40 +01:00
requirements_docs.txt Refactor API documentation (#33217) 2020-03-25 13:21:04 -07:00
requirements_test_all.txt Add Jellyfin integration (#44401) 2021-11-12 14:57:40 +01:00
requirements_test_pre_commit.txt Upgrade pyupgrade to v2.29.0 (#59499) 2021-11-10 22:21:43 -08:00
requirements_test.txt Upgrade coverage to 6.1.2 (#59530) 2021-11-12 02:31:00 +01:00
requirements.txt Bump async_timeout to 4.0.1 (#59565) 2021-11-11 21:13:15 -08:00
setup.cfg Don't ignore mypy errors by default (#49270) 2021-04-26 14:23:21 +02:00
setup.py Bump async_timeout to 4.0.1 (#59565) 2021-11-11 21:13:15 -08:00
tox.ini Run tests with -X dev and -bb (#58079) 2021-10-20 15:43:04 -07:00

Home Assistant |Chat Status|
=================================================================================

Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server.

Check out `home-assistant.io <https://home-assistant.io>`__ for `a
demo <https://home-assistant.io/demo/>`__, `installation instructions <https://home-assistant.io/getting-started/>`__,
`tutorials <https://home-assistant.io/getting-started/automation/>`__ and `documentation <https://home-assistant.io/docs/>`__.

|screenshot-states|

Featured integrations
---------------------

|screenshot-components|

The system is built using a modular approach so support for other devices or actions can be implemented easily. See also the `section on architecture <https://developers.home-assistant.io/docs/architecture_index/>`__ and the `section on creating your own
components <https://developers.home-assistant.io/docs/creating_component_index/>`__.

If you run into issues while using Home Assistant or during development
of a component, check the `Home Assistant help section <https://home-assistant.io/help/>`__ of our website for further help and information.

.. |Chat Status| image:: https://img.shields.io/discord/330944238910963714.svg
   :target: https://discord.gg/c5DvZ4e
.. |screenshot-states| image:: https://raw.github.com/home-assistant/home-assistant/master/docs/screenshots.png
   :target: https://home-assistant.io/demo/
.. |screenshot-components| image:: https://raw.github.com/home-assistant/home-assistant/dev/docs/screenshot-components.png
   :target: https://home-assistant.io/integrations/