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

non-compliant device : DENON/Marantz streamers #43

Open
fredele opened this issue Aug 19, 2023 · 0 comments
Open

non-compliant device : DENON/Marantz streamers #43

fredele opened this issue Aug 19, 2023 · 0 comments

Comments

@fredele
Copy link

fredele commented Aug 19, 2023

Well, no a real issue, but it took me some time to figure out how to use this library with
a DENON streamer ...

In order to use this Library in python 3,

I have encoutered this issue:

non-comploant device

which I have rapidly corrected with a hack ...

I also had to replace in :
upnpclient/soap.py

on line 99
"SOAPAction": '"%s#%s"' % (self.service_type, action_name)
to :
"SOAPAction": '"{}#{}"'.format(self.service_type, action_name)

on line 101
"Content-Type": "text/xml",
to :
"Content-Type": "text/xml; charset=utf-8",

Now, it works fine ... maybe can it help someone ?...

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

1 participant