Angel777d / kodi.plugin.yandex-music

Yandex Music plugin for Kodi
https://angel777d.github.io/kodi.plugin.yandex-music/
GNU Lesser General Public License v3.0
44 stars 3 forks source link

Не работает авторизация #13

Open budro77 opened 1 year ago

budro77 commented 1 year ago

kodi matrix 19.5 после ввода логина и пароля выдает ошибку соединения.

minherc commented 1 year ago

То же:

после ввода токена выскакивает ошибка в логе коди:

**версия плагина:**
2023-10-27 12:02:05.209 T:6784     info <general>: CAddonMgr::ADDON::CAddonMgr::FindAddons: plugin.yandex-music v0.1.6 installed

**код ошибки:**

2023-10-27 12:14:53.332 T:2612  warning <general>: [---] codec: mp3, high_res: False
2023-10-27 12:14:53.332 T:2612  warning <general>: [---] check login token y0_AgAAAAAhA68tAAG8XgAAAA***************************************
2023-10-27 12:14:53.504 T:2612  warning <general>: [---] [Yandex music plugin] authorized: True, mode: None, args: {}
2023-10-27 12:14:53.734 T:2612    error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'AttributeError'>
                                                   Error Contents: 'NoneType' object has no attribute 'uid'
                                                   Traceback (most recent call last):
                                                     File "C:\Users\Me\AppData\Roaming\Kodi\addons\plugin.yandex-music\plugin.py", line 685, in <module>
                                                       main()
                                                     File "C:\Users\Me\AppData\Roaming\Kodi\addons\plugin.yandex-music\plugin.py", line 514, in main
                                                       build_main(authorized, client)
                                                     File "C:\Users\Me\AppData\Roaming\Kodi\addons\plugin.yandex-music\plugin.py", line 222, in build_main
                                                       entry_list += [build_item_playlist(playlist) for playlist in playlists]
                                                     File "C:\Users\Me\AppData\Roaming\Kodi\addons\plugin.yandex-music\plugin.py", line 222, in <listcomp>
                                                       entry_list += [build_item_playlist(playlist) for playlist in playlists]
                                                     File "C:\Users\Me\AppData\Roaming\Kodi\addons\plugin.yandex-music\plugin.py", line 147, in build_item_playlist
                                                       url = build_url({'mode': 'playlist', 'playlist_id': playlist.playlist_id, 'title': playlist.title})
                                                     File "C:\Users\Me\AppData\Roaming\Kodi\addons\plugin.yandex-music\lib/yandex-music-api\yandex_music\playlist\playlist.py", line 172, in playlist_id
                                                       return f'{self.owner.uid}:{self.kind}'
                                                   AttributeError: 'NoneType' object has no attribute 'uid'
                                                   -->End of Python script error report<--

Информация о коди:

image

AxeLGS commented 5 months ago

Почему-то с некоторыми токенами не хочет работать. Из 4 проверенных 2 работают а пишут ошибку.