taschenb / mopidy-qobuz

Mopidy extension for playing music from Qobuz
Apache License 2.0
3 stars 5 forks source link

"Invalid or missing app_id parameter" #2

Open LorenAmelang opened 4 years ago

LorenAmelang commented 4 years ago

I'm totally new to mopidy, but seem to have installed and configured it on my Antergos/Arch Linux machine. When I try to run it in terminal, I get:

File "/usr/lib/python3.8/site-packages/requests/models.py", line 940, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://www.qobuz.com/api.json/0.2/user/login?app_id=285473059&device_manufacturer_id=921262b2-3cdb-4513-8353-c276f6e29716&password=86bf7be7a81ba8a7d89f0ca2be957fb1&username=loren%40pacific.net ERROR 2020-02-09 12:57:41,068 [23166:MainThread] mopidy.commands Actor died: QobuzBackend (urn:uuid:1811a573-3359-4ea4-b222-eef3e99a3c95) stopped before handling the message

Sending that request directly to Qobuz in a browser gets:

{"status":"error","code":400,"message":"Invalid or missing app_id parameter"}

It seems to have sent exactly what is defined at https://github.com/taschenb/mopidy-qobuz/blob/master/mopidy_qobuz/backend.py

`def on_start(self): self._actor_proxy = self.actor_ref.proxy()

    # Kodi
    app_id = "285473059"

`How can I fix this? It would be so great to have Qobuz on the same system as all my other media!

interdif commented 4 years ago

Hi,

First I'm not sure that this extension is compatible with the fresh new mopidy 3.x since it use python 3.7+ only and this extension wasn't updated recently....

Anyway it won't work, qobuz canceled all apy keys.... they only accept big existing project I think now. They removed the api book from github too and don't respond to email...

If you find a way to contact them and get them to respond plz tell us.

Goog luck.

Thomas

Le dim. 9 févr. 2020 à 22:30, LorenAmelang notifications@github.com a écrit :

I'm totally new to mopidy, but seem to have installed and configured it on my Antergos/Arch Linux machine. When I try to run it in terminal, I get:

File "/usr/lib/python3.8/site-packages/requests/models.py", line 940, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://www.qobuz.com/api.json/0.2/user/login?app_id=285473059&device_manufacturer_id=921262b2-3cdb-4513-8353-c276f6e29716&password=86bf7be7a81ba8a7d89f0ca2be957fb1&username=loren%40pacific.net ERROR 2020-02-09 12:57:41,068 [23166:MainThread] mopidy.commands Actor died: QobuzBackend (urn:uuid:1811a573-3359-4ea4-b222-eef3e99a3c95) stopped before handling the message

Sending that request directly to Qobuz in a browser gets:

{"status":"error","code":400,"message":"Invalid or missing app_id parameter"}

It seems to have sent exactly what is defined at

https://github.com/taschenb/mopidy-qobuz/blob/master/mopidy_qobuz/backend.py

`def on_start(self): self._actor_proxy = self.actor_ref.proxy()

# Kodi
app_id = "285473059"

`How can I fix this? It would be so great to have Qobuz on the same system as all my other media!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/taschenb/mopidy-qobuz/issues/2?email_source=notifications&email_token=AMY5JIKQJCYNSWD5LNEVFI3RCBYWDA5CNFSM4KSEQHEKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IMDEUSQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMY5JILVIUHNA6OV45MDKH3RCBYWDANCNFSM4KSEQHEA .

LorenAmelang commented 4 years ago

Thomas,

No help, but Qobuz did reply to my questions:

Unfortunately, we do not guarantee the ecosystem of our partners but only our apps. We had to close KODI / XBMC for legal and piracy constraints. Alternatives exist at the end of this page: https://help.qobuz.com/hc/fr/articles/360028821471-Mon-mat%C3%A9riel-Hi-Fi-n-est-pas-int%C3%A9gr % C3% A9-or-compatible with-Qobuz-

If you actually want to see that page, use:
https://help.qobuz.com/hc/fr/articles/360028821471-Mon-matériel-Hi-Fi-n-est-pas-intégré-or-compatible with-Qobuz-

Sounds like maybe Roon could connect Linux somehow, but I gather it requires a non-Linux server, and Roon membership costs more than my Qobuz subscription!

I found one post saying they had the Windows version of Qobuz Desktop Player running in Wine, but it wants .NET 4.5-1 and I'm getting hundreds of lines of errors trying to install that.

I did verify the Qobuz Web Player sounds lousy even in Linux. The quest continues...