Valentin271 / DeezerKodi

Deezer client for Kodi
GNU General Public License v3.0
24 stars 4 forks source link

Login doesn't work #32

Open Publish3r opened 12 months ago

Publish3r commented 12 months ago

The subdomain tv.deezer.com don't exist anymore.

marcibrano commented 11 months ago

ok, solution is?

marcibrano commented 11 months ago

for now the app is useless...login doesn't work. Is there any solution?

Computerdude67 commented 11 months ago

Hello, after installation of the Deezer add-on I cannot connect or login to Deezer. I do have a premium account. Attached is the relevant part of the kodi.log file. Any help or workaround appreciated, thanks! Error log Kodi.txt

teutat3s commented 11 months ago

Looks like there's now https://tv2.deezer.com/.

anotherstuart commented 11 months ago

Hi

Just to see if there was a quick fix I updated the urls for tv.deezer.com in the plugin to tv2.deezer.com (not sure if I did it right - I just hacked it in the api.py and api.pyc files in the zip...)

I am now getting something different! but sadly it is 'track unplayable' error for every track, so I think something new is happening, but having no knowledge of the construction of the code or the deezer API (or even how to build kodi plugins) I don't know where to go from here.

The log is below `2023-11-10 10:03:51.445 T:685 info : DeezerKodi: Starting DeezerKodi v2.0.5 2023-11-10 10:03:51.445 T:685 info : DeezerKodi: Initializing router with location /tracks/70266756/play 2023-11-10 10:03:51.445 T:685 debug : DeezerKodi: Getting Api instance ... 2023-11-10 10:03:51.445 T:685 debug : DeezerKodi: Trying to get Api instance from file ... 2023-11-10 10:03:51.445 T:685 debug : DeezerKodi: Getting Api from file /home/osmc/.kodi/temp/deezer-api.pickle 2023-11-10 10:03:51.446 T:685 debug : DeezerKodi: Getting Api instance ... 2023-11-10 10:03:51.446 T:685 info : DeezerKodi: Connection: Requesting streaming for track with id 70266756 ... 2023-11-10 10:03:52.453 T:685 warning : DeezerKodi: Unplayable track 70266756 2023-11-10 10:03:52.456 T:685 debug : DeezerKodi: Getting Api instance ... 2023-11-10 10:03:52.456 T:685 debug : DeezerKodi: Saving Api in '/home/osmc/.kodi/temp/deezer-api.pickle' 2023-11-10 10:03:52.457 T:685 debug : CPythonInvoker(12, /home/osmc/.kodi/addons/plugin.audio.deezer/addon.py): script successfully run 2023-11-10 10:03:52.457 T:685 debug : onExecutionDone(12, /home/osmc/.kodi/addons/plugin.audio.deezer/addon.py) 2023-11-10 10:03:52.460 T:459 debug : ------ Window Deinit (DialogBusy.xml) ------ 2023-11-10 10:03:52.460 T:686 debug : Thread ScriptObs 1347387648 terminating 2023-11-10 10:03:52.460 T:459 error : Playlist Player: skipping unplayable item: 2, path [plugin://plugin.audio.deezer/?path=%2Ftracks%2F70266756%2Fplay] 2023-11-10 10:03:52.461 T:459 debug : CScriptRunner: running add-on script Deezer('plugin://plugin.audio.deezer/', '8', '?path=%2Ftracks%2F669240%2Fplay') 2023-11-10 10:03:52.462 T:687 debug : Thread LanguageInvoker start, auto delete: false 2023-11-10 10:03:52.462 T:687 debug : initializing python engine. 2023-11-10 10:03:52.462 T:687 debug : CPythonInvoker(13, /home/osmc/.kodi/addons/plugin.audio.deezer/addon.py): start processing 2023-11-10 10:03:52.482 T:688 debug : Thread ScriptObs start, auto delete: false 2023-11-10 10:03:52.489 T:685 debug : . 2023-11-10 10:03:52.592 T:685 debug : Python interpreter stopped 2023-11-10 10:03:52.592 T:685 debug : Thread LanguageInvoker 1283555584 terminating 2023-11-10 10:03:52.682 T:459 debug : ------ Window Init (DialogBusy.xml) ------ 2023-11-10 10:03:52.844 T:687 debug : -->Python Interpreter Initialized<-- 2023-11-10 10:03:52.844 T:687 debug :

2023-11-10 10:03:52.844 T:687 debug : CPythonInvoker(13, /home/osmc/.kodi/addons/plugin.audio.deezer/addon.py): the source file to load is "/home/osmc/.kodi/addons/plugin.audio.deezer/addon.py" 2023-11-10 10:03:52.844 T:687 debug : CPythonInvoker(13): full python path: 2023-11-10 10:03:52.844 T:687 debug : CPythonInvoker(13): custom python path: 2023-11-10 10:03:52.844 T:687 debug : CPythonInvoker(13): /home/osmc/.kodi/addons/plugin.audio.deezer 2023-11-10 10:03:52.844 T:687 debug : CPythonInvoker(13): /home/osmc/.kodi/addons/script.module.certifi/lib 2023-11-10 10:03:52.844 T:687 debug : CPythonInvoker(13): /home/osmc/.kodi/addons/script.module.chardet/lib 2023-11-10 10:03:52.845 T:687 debug : CPythonInvoker(13): /home/osmc/.kodi/addons/script.module.idna/lib 2023-11-10 10:03:52.845 T:687 debug : CPythonInvoker(13): /home/osmc/.kodi/addons/script.module.requests/lib 2023-11-10 10:03:52.845 T:687 debug : CPythonInvoker(13): /home/osmc/.kodi/addons/script.module.urllib3/lib 2023-11-10 10:03:52.845 T:687 debug : CPythonInvoker(13): default python path: 2023-11-10 10:03:52.845 T:687 debug : CPythonInvoker(13): /usr/lib/python39.zip 2023-11-10 10:03:52.845 T:687 debug : CPythonInvoker(13): /usr/lib/python3.9 2023-11-10 10:03:52.845 T:687 debug : CPythonInvoker(13): /usr/lib/python3.9/lib-dynload 2023-11-10 10:03:52.845 T:687 debug : CPythonInvoker(13): /usr/local/lib/python3.9/dist-packages 2023-11-10 10:03:52.845 T:687 debug : CPythonInvoker(13): /usr/lib/python3/dist-packages 2023-11-10 10:03:52.845 T:687 debug : CPythonInvoker(13): adding args: 2023-11-10 10:03:52.845 T:687 debug : CPythonInvoker(13): plugin://plugin.audio.deezer/ 2023-11-10 10:03:52.845 T:687 debug : CPythonInvoker(13): 8 2023-11-10 10:03:52.845 T:687 debug : CPythonInvoker(13): ?path=%2Ftracks%2F669240%2Fplay 2023-11-10 10:03:52.845 T:687 debug : CPythonInvoker(13): resume:false 2023-11-10 10:03:52.845 T:687 debug : CPythonInvoker(13, /home/osmc/.kodi/addons/plugin.audio.deezer/addon.py): entering source directory /home/osmc/.kodi/addons/plugin.audio.deezer 2023-11-10 10:03:52.845 T:687 debug : CPythonInvoker(13, /home/osmc/.kodi/addons/plugin.audio.deezer/addon.py): instantiating addon using automatically obtained id of "plugin.audio.deezer" dependent on version 3.0.0 of the xbmc.python api 2023-11-10 10:03:55.961 T:687 info : DeezerKodi: Starting DeezerKodi v2.0.5 2023-11-10 10:03:55.961 T:687 info : DeezerKodi: Initializing router with location /tracks/669240/play 2023-11-10 10:03:55.961 T:687 debug : DeezerKodi: Getting Api instance ... 2023-11-10 10:03:55.961 T:687 debug : DeezerKodi: Trying to get Api instance from file ... 2023-11-10 10:03:55.962 T:687 debug : DeezerKodi: Getting Api from file /home/osmc/.kodi/temp/deezer-api.pickle 2023-11-10 10:03:55.962 T:687 debug : DeezerKodi: Getting Api instance ... 2023-11-10 10:03:55.962 T:687 info : DeezerKodi: Connection: Requesting streaming for track with id 669240 ... 2023-11-10 10:03:56.844 T:687 warning : DeezerKodi: Unplayable track 669240 2023-11-10 10:03:56.847 T:687 debug : DeezerKodi: Getting Api instance ... 2023-11-10 10:03:56.851 T:687 debug : DeezerKodi: Saving Api in '/home/osmc/.kodi/temp/deezer-api.pickle' 2023-11-10 10:03:56.854 T:459 debug : ------ Window Deinit (DialogBusy.xml) ------ 2023-11-10 10:03:56.854 T:688 debug : Thread ScriptObs 1268957440 terminating 2023-11-10 10:03:56.854 T:459 error : Playlist Player: skipping unplayable item: 3, path [plugin://plugin.audio.deezer/?path=%2Ftracks%2F669240%2Fplay] 2023-11-10 10:03:56.854 T:687 debug : CPythonInvoker(13, /home/osmc/.kodi/addons/plugin.audio.deezer/addon.py): script successfully run `

willemg commented 10 months ago

I think the main problem is it now uses OAuth2 to authenticate: https://developers.deezer.com/api/oauth This code uses plain http as base urls so it needs an extra level of authentication.

Tecko71 commented 8 months ago

To bad that this issue is not be updated (fixed) zo I am stuck to Tidal plugin