I know that there is an official integration for Emby and one for Jellyfin, but there are some issues related to them. That’s why I made my own with the following features:
Nice Media Source with filters by Actor/Genre/Letter/Year with transcoding
Real time updated media players and sensors (local push)
Customize your library sensors by item type, user and library
Send messages or commands to remote sessions
Restart your server or rescan your libraries using buttons
Search media to be played
Respond to various events
View latest media
Supports multiple servers
Configurable in UI
This is my first component and my first python code, so please be kind.
There is a 5 seconds default timeout while connecting, I suppose that this is more than enough in a local network. My supposition is that the address is not correct. I changed config_flow.py a little bit to show more details about the error in the event log. If you are kind enough please update your files and let me know what the error log is showing after the timeout. Thank you.
Solved, it’s a recorder integration error, it does not accept unique ids in the database longer than 26 characters since HA 2023.04.2. The same issue appears also for other integrations like philips hue.
Yes that solved that issue, thanks. I have added a couple more issues I have had in my logs.
Also, I shutdown my server on a night, on restart all the media player entities are lost until I re-open each of the apps, is this to be expected ?
When the server is shutdown, I get connection errors every minute, maybe this could be throttled after say 10 attempts as the log was filled with 699 errors overnight.
The main drawback so far is that if the emby server goes down the integration is unable to reconnect by itself whem emby server is back online but it’s a problem with quite a lot of integrations