First of all, thx for the great work on this addon.
Second, i can't get it to work on my openelec-box, neither on xbmc on my pc.
I have two-step auth, but i generated a password (as i did for irule, gsyncit, i know my way a little bit around that
)
OPENELEC ISSUE
21:26:35 T:140231632094976 NOTICE: Thread XBPyThread start, auto delete: false
21:26:35 T:140231632094976 NOTICE: -->Python Interpreter Initialized<--
21:26:35 T:140231632094976 NOTICE: GoogleMusicEXP-1.1 ARGV: ['plugin://plugin.audio.googlemusic.exp/', '32', '']
21:26:35 T:140233195554624 ERROR: Control 50 in window 10502 has been asked to focus, but it can't
21:26:36 T:140231632094976 NOTICE: [GoogleMusicEXP-1.1] Loading auth from cache
21:26:36 T:140231665665792 NOTICE: Thread BackgroundLoader start, auto delete: false
21:26:38 T:140231632094976 NOTICE: Thread XBPyThread start, auto delete: false
21:26:38 T:140231632094976 NOTICE: -->Python Interpreter Initialized<--
21:26:38 T:140231632094976 NOTICE: GoogleMusicEXP-1.1 ARGV: ['plugin://plugin.audio.googlemusic.exp/', '33', '?path=library']
21:26:38 T:140231665665792 NOTICE: Thread BackgroundLoader start, auto delete: false
21:26:39 T:140231632094976 NOTICE: Thread XBPyThread start, auto delete: false
21:26:39 T:140231632094976 NOTICE: -->Python Interpreter Initialized<--
21:26:40 T:140231632094976 NOTICE: GoogleMusicEXP-1.1 ARGV: ['plugin://plugin.audio.googlemusic.exp/', '34', '?criteria=album&path=filter']
21:26:40 T:140231665665792 NOTICE: Thread BackgroundLoader start, auto delete: false
21:26:41 T:140231632094976 NOTICE: Thread XBPyThread start, auto delete: false
21:26:41 T:140231632094976 NOTICE: -->Python Interpreter Initialized<--
21:26:41 T:140231632094976 NOTICE: GoogleMusicEXP-1.1 ARGV: ['plugin://plugin.audio.googlemusic.exp/', '35', '?path=library']
21:26:41 T:140231665665792 NOTICE: Thread BackgroundLoader start, auto delete: false
21:26:53 T:140231665665792 NOTICE: Thread XBPyThread start, auto delete: false
21:26:53 T:140231665665792 NOTICE: -->Python Interpreter Initialized<--
21:26:53 T:140231665665792 NOTICE: GoogleMusicEXP-1.1 ARGV: ['plugin://plugin.audio.googlemusic.exp/', '36', '']
21:26:54 T:140231665665792 NOTICE: [GoogleMusicEXP-1.1] Loading auth from cache
21:26:54 T:140231632094976 NOTICE: Thread BackgroundLoader start, auto delete: false
21:26:57 T:140231648880384 ERROR: Unable to find plugin
21:26:57 T:140233195554624 ERROR: GetDirectory - Error getting plugin://
21:26:57 T:140233195554624 ERROR: CGUIMediaWindow::GetDirectory(plugin://) failed
21:26:57 T:140231665665792 NOTICE: Thread BackgroundLoader start, auto delete: false
21:27:01 T:140233195554624 WARNING: GetLabel - Unknown nodetype requested 0
21:27:01 T:140231665665792 WARNING: Previous line repeats 1 times.
21:27:01 T:140231665665792 NOTICE: Thread BackgroundLoader start, auto delete: false
21:27:03 T:140231665665792 NOTICE: Thread XBPyThread start, auto delete: false
21:27:03 T:140231665665792 NOTICE: -->Python Interpreter Initialized<--
21:27:03 T:140231665665792 NOTICE: GoogleMusicEXP-1.1 ARGV: ['plugin://plugin.audio.googlemusic.exp/', '37', '']
21:27:04 T:140231665665792 NOTICE: [GoogleMusicEXP-1.1] Loading auth from cache
21:27:04 T:140231632094976 NOTICE: Thread BackgroundLoader start, auto delete: false
21:27:07 T:140233195554624 WARNING: GetLabel - Unknown nodetype requested 0
21:27:07 T:140231665665792 WARNING: Previous line repeats 1 times.
21:27:07 T:140231665665792 NOTICE: Thread BackgroundLoader start, auto delete: false
21:27:22 T:140231632094976 NOTICE: Previous line repeats 2 times.
21:27:22 T:140231632094976 NOTICE: Thread XBPyThread start, auto delete: false
21:27:22 T:140231632094976 NOTICE: -->Python Interpreter Initialized<--
21:27:22 T:140231632094976 NOTICE: GoogleMusicEXP-1.1 ARGV: ['plugin://plugin.audio.googlemusic.exp/', '-1', '?action=clear_cookie']
21:27:22 T:140231632094976 NOTICE: [GoogleMusicEXP-1.1] Loading auth from cache
21:27:28 T:140231632094976 NOTICE: Thread XBPyThread start, auto delete: false
21:27:28 T:140231632094976 NOTICE: -->Python Interpreter Initialized<--
21:27:28 T:140231632094976 NOTICE: GoogleMusicEXP-1.1 ARGV: ['plugin://plugin.audio.googlemusic.exp/', '-1', '?action=clear_cache']
21:27:29 T:140231632094976 NOTICE: [GoogleMusicEXP-1.1] Loading auth from cache
21:27:38 T:140231632094976 NOTICE: Thread BackgroundLoader start, auto delete: false
21:27:50 T:140231665665792 NOTICE: Previous line repeats 1 times.
21:27:50 T:140231665665792 NOTICE: Thread XBPyThread start, auto delete: false
21:27:50 T:140231665665792 NOTICE: -->Python Interpreter Initialized<--
21:27:50 T:140231665665792 NOTICE: GoogleMusicEXP-1.1 ARGV: ['plugin://plugin.audio.googlemusic.exp/', '38', '']
21:27:50 T:140233195554624 ERROR: Control 50 in window 10502 has been asked to focus, but it can't
21:27:51 T:140231665665792 NOTICE: [GoogleMusicEXP-1.1] Loading library
21:27:51 T:140231665665792 NOTICE: [GoogleMusicEXP-1.1] Loading auth from cache
21:27:54 T:140231665665792 NOTICE: [GoogleMusicEXP-1.1] Library Size: 2486
21:27:55 T:140231665665792 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: ('genre',)
Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.audio.googlemusic.exp/default.py", line 77, in <module>
navigation.api.loadLibrary()
File "/storage/.xbmc/addons/plugin.audio.googlemusic.exp/GoogleMusicApi.py", line 70, in loadLibrary
self.storage.storeApiSongs(api_songs, 'all_songs')
File "/storage/.xbmc/addons/plugin.audio.googlemusic.exp/GoogleMusicStorage.py", line 162, in storeApiSongs
self.storeInAllSongs(api_songs)
File "/storage/.xbmc/addons/plugin.audio.googlemusic.exp/GoogleMusicStorage.py", line 202, in storeInAllSongs
":url, :total_discs, :duration, :album_art_url, :display_name, NULL)", songs())
File "/storage/.xbmc/addons/plugin.audio.googlemusic.exp/GoogleMusicStorage.py", line 187, in songs
'genre': api_song["genre"] if api_song["genre"] else '-Unknown-',
KeyError: ('genre',)
-->End of Python script error report<--
21:27:55 T:140233195554624 ERROR: GetDirectory - Error getting plugin://plugin.audio.googlemusic.exp
21:27:55 T:140233195554624 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.googlemusic.exp) failed
21:27:55 T:140233195554624 ERROR: Control 50 in window 10502 has been asked to focus, but it can't
WINDOWS ISSUE
21:44:43 T:6440 NOTICE: GoogleMusicEXP-1.1 ARGV: ['plugin://plugin.audio.googlemusic.exp/', '1', '']
21:44:44 T:6440 NOTICE: [GoogleMusicEXP-1.1] Trying to fetch the device_id
21:44:44 T:6440 NOTICE: [GoogleMusicEXP-1.1] Logging in
21:44:46 T:6440 NOTICE: [GoogleMusicEXP-1.1] Login succeeded
21:44:47 T:6440 NOTICE: [GoogleMusicEXP-1.1] <<<list of all my devices>>>, can be sent on request if needed
21:44:47 T:6440 NOTICE: [GoogleMusicEXP-1.1] Found device_id: 317f321713dcfdd4
21:44:47 T:6440 NOTICE: [GoogleMusicEXP-1.1] Loading library
21:44:47 T:6440 NOTICE: [GoogleMusicEXP-1.1] Loading auth from cache
21:44:48 T:6440 NOTICE: [GoogleMusicEXP-1.1] Library Size: 2486
21:44:48 T:6440 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: ('genre',)
Traceback (most recent call last):
File "C:\Users\Bruno\AppData\Roaming\XBMC\addons\plugin.audio.googlemusic.exp\default.py", line 77, in <module>
navigation.api.loadLibrary()
File "C:\Users\Bruno\AppData\Roaming\XBMC\addons\plugin.audio.googlemusic.exp\GoogleMusicApi.py", line 70, in loadLibrary
self.storage.storeApiSongs(api_songs, 'all_songs')
File "C:\Users\Bruno\AppData\Roaming\XBMC\addons\plugin.audio.googlemusic.exp\GoogleMusicStorage.py", line 162, in storeApiSongs
self.storeInAllSongs(api_songs)
File "C:\Users\Bruno\AppData\Roaming\XBMC\addons\plugin.audio.googlemusic.exp\GoogleMusicStorage.py", line 202, in storeInAllSongs
":url, :total_discs, :duration, :album_art_url, :display_name, NULL)", songs())
File "C:\Users\Bruno\AppData\Roaming\XBMC\addons\plugin.audio.googlemusic.exp\GoogleMusicStorage.py", line 187, in songs
'genre': api_song["genre"] if api_song["genre"] else '-Unknown-',
KeyError: ('genre',)
-->End of Python script error report<--
21:44:48 T:4540 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.audio.googlemusic.exp/
21:44:48 T:4540 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.googlemusic.exp/) failed
thx a lot, it would make the WAF* for google play music much higher
(WAF=http://goo.gl/kxPnge
)