Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLNA Player does not update the media title anymore #12

Open
trentjw opened this issue Dec 7, 2020 · 11 comments
Open

DLNA Player does not update the media title anymore #12

trentjw opened this issue Dec 7, 2020 · 11 comments

Comments

@trentjw
Copy link

trentjw commented Dec 7, 2020

this use to update the what input the sony 1040 receiver was on when it was swapped now it only updates when uninstalled and reinstalled and then it is stuck on whatever the receiver is on when reinstalled it no longer queries the reciever

@StevenLooman
Copy link
Owner

Thank you for this issue, @trentjw . This is possibly due to the receiver getting a new IP. Currently, the integration in Home Assistant does not properly handle this. The easiest fix - for now - is to make sure your receiver always has the same IP. You can do this by setting a static IP in the receiver, or let your router always give the same IP to the receiver (note that not all routers support this.)

@trentjw
Copy link
Author

trentjw commented Dec 7, 2020 via email

@trentjw
Copy link
Author

trentjw commented Dec 7, 2020 via email

@StevenLooman
Copy link
Owner

Not that much has changed recently in this component in home assistant: https://github.com/home-assistant/core/commits/dev/homeassistant/components/dlna_dmr

Can you enable logging by adding this to you configuration.yaml file?

logger:
  logs:
    homeassistant.components.dlna_dmr: debug
    async_upnp_client: debug

Please report anything you see with regard to dlna_dmr and/or async_upnp_client.

@trentjw
Copy link
Author

trentjw commented Dec 8, 2020

my configuration straight up does not like your logger not valid

@trentjw
Copy link
Author

trentjw commented Dec 8, 2020

I am running python 3.9 if that makes any difference

@trentjw
Copy link
Author

trentjw commented Dec 8, 2020

the Playing part works it the stuff in the far right window that does not update anymore including the volume no longer updates either

sensor

Now if I unistall and reinstall the DLNA player it will grab all those settings that are current on the player but now it does not update until I uninstall and reinstall the DLNA player

@StevenLooman
Copy link
Owner

StevenLooman commented Dec 8, 2020

@trentjw Perhaps the indenting (the spaces before the lines) wasn't correct in the configuration.yaml file. Please check other parts of the file to see what it should be.

I can't do much without any logging.

Perhaps your receiver does not update like other devices. Normally there is a special "variable" that gets updated reflecting these properties (volume etc.)

@trentjw
Copy link
Author

trentjw commented Dec 9, 2020

@trentjw Perhaps the indenting (the spaces before the lines) wasn't correct in the configuration.yaml file. Please check other parts of the file to see what it should be.

I can't do much without any logging.

Perhaps your receiver does not update like other devices. Normally there is a special "variable" that gets updated reflecting these properties (volume etc.)

I copied your logger directly into my configuration.yaml

yeah you are right must be my receiver that is the issue never mind that it was updating just fine until 118.4 sorry for wasting your time

@StevenLooman
Copy link
Owner

StevenLooman commented Dec 9, 2020

yeah you are right must be my receiver that is the issue never mind that it was updating just fine until 118.4 sorry for wasting your time

I don't mind investigating a bit more! I'm sure there are others who have the same problem and are helped as well when we fix your problem. Although not much has changed since a while (before 118.4), perhaps other parts have change which influence this component.

Can you show any (non-identifying, or change the identifying values) parts of your configuration? For me, indenting with two spaces works, perhaps it is a bit different in your case.

@StevenLooman
Copy link
Owner

You can also mail your configuration.yaml to me, then I can change it for you: [email protected] . Please do remove any usernames/passwords/tokens/secrets before mailing it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants