• 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 81
Release Experimental Google Music Addon
#61
@foreverguest

I install the new alpha plugin and still only have 517 in my Highly Rated list. I also deleted the goolgemusic.db and reinstalled. Still a no go.
Reply
#62
Do you have All Access? Browsing your library: My Library -> Artist -> Album -> Song, can you find the missing songs?
Reply
#63
yep. works.

kinda love you OP
Reply
#64
The invalid credential error pops up whene 2-step authentication is enabled on user account. A text field to provide the additional security code could be implemented. The YouTube addon does that, it's a one-time thing only.
Reply
#65
... or you could create an app specific password
Reply
#66
No, it seems that it cannot be done if one has 2-step authentication active on its account. This is what I read if I click on the link about secure applications
Reply
#67
Have you tried creating one on this page?

https://security.google.com/settings/sec...ppasswords
Reply
#68
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 Wink)

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 Smile


(WAF=http://goo.gl/kxPnge Wink)
Reply
#69
please try version from post #50
Reply
#70
Hi

doesn't work with the account with 2 steps authentication ?

I have errore "login failed"

thx
Antec Fusion - A6 5400k / Ati HD7540 - Kodi Isengard
ASRock Beebox n3150 - Kodi Jarvis
Oled 55E6V - Onkyo nr809 - B&W 5.1 - Harmony One
Reply
#71
Try creating an application specific password.

https://security.google.com/settings/sec...ppasswords
Reply
#72
thank you, solved

Sorry for ot
I have the same problem with youtube addon, I created a new password but the problem remains.

Any suggestion?
Antec Fusion - A6 5400k / Ati HD7540 - Kodi Isengard
ASRock Beebox n3150 - Kodi Jarvis
Oled 55E6V - Onkyo nr809 - B&W 5.1 - Harmony One
Reply
#73
Awesome add-on so far. I've been using Cast to UPnP, but have had to stay on an older version of Play Music to use it. My only questions regarding this add-on involve using Yatse to control it. Most everything works well, only when it comes to searching I can't actually see what I'm typing on my phone unless I'm looking at the screen with XBMC on it. You have to hit search, then pull up the virtual keyboard in Yatse to type your query. Also, is there a way to thumbs up/down the track that's currently playing (also would be awesome to be able to do in Yatse). I do see a heart icon if i long press on a song, but I don't know exactly what it does. Again, I realize this is still experimental, but I wanted to add my two cents. Thanks in advance.
Reply
#74
2 FOREVERGUEST:

Hello. Thank you very much for your plugin. It is very important addon to XBMC for me. I am using it every day. I am All Access subscriber.

I have some tips for future improvements.

Current addon tree for Google Music library browsing is very different from official Google Play Music application. Many people have several thousands tracks in his library. Current library browsing structure in your plugin is slightly chaotic in this situations. Especially using [track artist] instead [album artist] is very confusing in situations where tracks in one album have different artists It would be fine to implement following library tree:

[Tracks]
[Albums][Tracks]
[Album Artists][Albums][Tracks]
[Genres][Albums][Tracks]
[Composers][Albums][Tracks]
[Track Artist][Tracks]

I am ready to help you as quick alpha tester (not only with this functionality). I am also ready to make donation for your project.
Reply
#75
Hi klapaciuss,

I'm fine doing this tree:
Songs -> [Tracks]
Albums -> [Albums][Tracks]
Artists -> [Album Artists][Albums][Tracks]
Genres -> [Genres][Albums][Tracks]

These should better mimic Google tree.

But I'm not sure the last two are used/needed.
Reply
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 81

Logout Mark Read Team Forum Stats Members Help
Experimental Google Music Addon17