Kodi Community Forum
Release Experimental Google Music Addon - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Music Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=148)
---- Thread: Release Experimental Google Music Addon (/showthread.php?tid=200640)



RE: Experimental Google Music Addon - jslinnha - 2015-11-05

update : seems it was connected to my Google Apps (for Business) account. I signed in with another account and it works like a charm

So i started to dig into the device setting in Google Apps - and remembered there was a device ID setting in your plugin settings.xml. Hey presto - pasted device ID from managed devices into settings.xml for plugin

ALL WORKING

Great Plugin
Thanks


RE: Experimental Google Music Addon - mwake - 2015-11-08

Hi first of all I think this app is amazing! However, I noticed I'm not able to access my music through the add-on which is on my external drive. I noticed the android app version allows this....Does anybody know if this a limitation of the add-on or is there something wrong with my setup. Apologies if this has been asked before...many thanks!


RE: Experimental Google Music Addon - foreverguest - 2015-11-08

This addon only plays music from Google Music, local files should be played by Kodi directly.


RE: Experimental Google Music Addon - boxrick - 2015-11-22

I tried this last night since I was having a party and needed music.

Install was painless and after a simple login I was up and running. Thanks for the superb simple to use app, much appreciated!


RE: Experimental Google Music Addon - Hustler1337 - 2015-11-22

Hi Guys,

Just wanted to find out before installing, does this addon allow you to add your music stored on Google Music as a source on Kodi and thereby integrate your library locally on your device for scraping?

Thanks Wink


RE: Experimental Google Music Addon - foreverguest - 2015-11-23

(2015-11-22, 19:41)Hustler1337 Wrote: Hi Guys,

Just wanted to find out before installing, does this addon allow you to add your music stored on Google Music as a source on Kodi and thereby integrate your library locally on your device for scraping?

Thanks Wink

No, but I'm working in a way to integrate the Kodi library inside the addon.


RE: Experimental Google Music Addon - DanielBlakey - 2015-11-29

Hi, this works great on my android devices but I can't get it to work on my jailbroken iPad. I think its something to do with the "device_id" field in settings. Is this an issue that could be fixed or is this just a problem with googley things on iOS devices.

kodi.log
Code:
19:45:33 T:155856896  NOTICE: void CAAudioUnitSink::setCoreAudioPreferredSampleRate() requesting hw samplerate 44100.000000
19:45:33 T:155856896  NOTICE: bool CAAudioUnitSink::setupAudio() couldn't set requested samplerate 44100, coreaudio will resample to 48000 instead
19:45:33 T:155856896  NOTICE: void CAAudioUnitSink::setCoreAudioBuffersize() setting buffer duration to 0.023220
19:45:33 T:148049920  NOTICE: Thread JobWorker start, auto delete: true
19:45:33 T:155856896  NOTICE: bool CAAudioUnitSink::setupAudio() setup audio format: [lpcm] Mixable Interleaved 2 Channel 16-bit Signed Integer LE (44100Hz)
19:45:33 T:148582400  NOTICE: Thread LanguageInvoker start, auto delete: false
19:45:34 T:148582400  NOTICE: -->Python Interpreter Initialized<--
19:45:34 T:148582400  NOTICE: [GoogleMusicEXP-1.6]  ARGV: ['plugin://plugin.audio.googlemusic.exp/', '6', '']
19:45:35 T:148582400  NOTICE: [GoogleMusicEXP-1.6] Trying to fetch the device_id
19:45:35 T:148582400  NOTICE: [GoogleMusicEXP-1.6] Logging in
19:45:35 T:148582400  NOTICE: [GoogleMusicEXP-1.6] IntegerTooLarge()
19:45:35 T:148582400  NOTICE: [GoogleMusicEXP-1.6] Login failed
19:45:37 T:148582400   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'pkcs1.exceptions.IntegerTooLarge'>
                                            Traceback (most recent call last):
                                              File "/var/mobile/Library/Preferences/Kodi/addons/plugin.audio.googlemusic.exp/default.py", line 51, in <module>
                                                login.initDevice()
                                              File "/var/mobile/Library/Preferences/Kodi/addons/plugin.audio.googlemusic.exp/GoogleMusicLogin.py", line 49, in initDevice
                                                self.login(True)
                                              File "/var/mobile/Library/Preferences/Kodi/addons/plugin.audio.googlemusic.exp/GoogleMusicLogin.py", line 85, in login
                                                self.gmusicapi.login(username, password, utils.addon.getSetting('device_id'))
                                              File "/var/mobile/Library/Preferences/Kodi/addons/plugin.audio.googlemusic.exp/gmusicapi/clients/mobileclient.py", line 63, in login
                                                if not self.session.login(email, password, android_id):
                                              File "/var/mobile/Library/Preferences/Kodi/addons/plugin.audio.googlemusic.exp/gmusicapi/session.py", line 170, in login
                                                res = gpsoauth.perform_master_login(email, password, android_id)
                                              File "/var/mobile/Library/Preferences/Kodi/addons/plugin.audio.googlemusic.exp/gpsoauth/__init__.py", line 56, in perform_master_login
                                                'EncryptedPasswd': google.signature(email, password, android_key_7_3_29),
                                              File "/var/mobile/Library/Preferences/Kodi/addons/plugin.audio.googlemusic.exp/gpsoauth/google.py", line 54, in signature
                                                encrypted_login = pkcs1.rsaes_oaep.encrypt(key,(email + u'\x00' + password).encode('utf-8'))
                                              File "/var/mobile/Library/Preferences/Kodi/addons/plugin.audio.googlemusic.exp/pkcs1/rsaes_oaep.py", line 40, in encrypt
                                                seed = primitives.i2osp(rnd.getrandbits(h_len*8), h_len)
                                              File "/var/mobile/Library/Preferences/Kodi/addons/plugin.audio.googlemusic.exp/pkcs1/primitives.py", line 78, in i2osp
                                                raise exceptions.IntegerTooLarge
                                            IntegerTooLarge
                                            -->End of Python script error report<--
19:45:38 T:153665536   ERROR: GetDirectory - Error getting plugin://plugin.audio.googlemusic.exp/
19:45:38 T:153665536   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.googlemusic.exp/) failed
19:45:38 T:148582400  NOTICE: Thread BackgroundLoader start, auto delete: false

Settings.xml
Code:
<settings>
    <setting id="authtoken-mobile" value="" />
    <setting id="auto_export" value="false" />
    <setting id="clear_cache" value="" />
    <setting id="clear_cookie" value="" />
    <setting id="debug" value="true" />
    <setting id="device_id" value="" />
    <setting id="encpassword" value="************************" />
    <setting id="export_path" value="" />
    <setting id="fetched_all_songs" value="0" />
    <setting id="logged_in-mobile" value="" />
    <setting id="overrideview" value="true" />
    <setting id="password" value="**encoded**" />
    <setting id="prefetch" value="false" />
    <setting id="quality" value="0" />
    <setting id="sqlite_db" value="googlemusic.db" />
    <setting id="updatelib" value="1" />
    <setting id="username" value="*****************@gmail.com" />
    <setting id="version" value="1.6" />
    <setting id="youtube.video.quality" value="2" />
</settings>


Thanks :)


RE: Experimental Google Music Addon - moyn - 2015-12-03

(2015-11-04, 22:41)foreverguest Wrote: Please test new version:

plugin.audio.googlemusic.exp-1.6
- added option 'Add to queue' for albums and playlists
- added option 'Export' to playlists, exporting to a M3U file
- show your Genres library organized by albums
- fix problem with huge library failing to load on a Raspberry Pi

@jslinnha, please search log with this version for any error

Hi... I've just installed the add on and great, but some wierdness. It's kodi 6.0 on a R-Pi. When I look at library by Genre, I get a folder called *all songs, and then album art for any albums in that genre. BUT, no songs under the album art, and only some of the songs under *all songs. Doesn't matter what genre. At the same time, searching by Album or Artist seems to show the songs under the album art!

I have a very big library on google music -- maybe 15,000 songs. Any chance I'm hitting some sort of timeout or library limits?

Having said all that, when I can find a song, plays great. Cheers, D.


RE: Experimental Google Music Addon - foreverguest - 2015-12-04

You have just hit a bug. Please check if file below fix it:
plugin.audio.googlemusic.exp-1.6.1


RE: Experimental Google Music Addon - hoschilo - 2015-12-04

21:59:57 T:3968 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: ('subcategories',)
Traceback (most recent call last):
File "C:\Users\hoschis nuc\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\default.py", line 23, in <module>
GoogleMusicNavigation.GoogleMusicNavigation().listMenu(params)
File "C:\Users\hoschis nuc\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\GoogleMusicNavigation.py", line 131, in listMenu
listItems = self.browseStations(get('category'))
File "C:\Users\hoschis nuc\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\GoogleMusicNavigation.py", line 276, in browseStations
items = items[int(index)]['subcategories']
KeyError: ('subcategories',)
-->End of Python script error report<-


RE: Experimental Google Music Addon - jslinnha - 2015-12-07

Is it possible to have the background use one of the artwork scrapers ? Sorry if terminology is incorrect. Currently i just have the default background when browsing music. it would be good to see the background change with the selection.

many thanks


RE: Experimental Google Music Addon - Soulbind - 2015-12-07

Quick question (sorry if it`s been answered before , looked into the first 6-7 pages but didn`t find the answer), does this plugin also support playback of songs you uploaded via GPlay Music ? You know, those 50.000 songs Google lets you upload from your personal library? I`m in the process of doing it right now, but it`s going to take some time, so i was curious to know if it works before i can test out by myself. Thanks a lot.


RE: Experimental Google Music Addon - michael.gisiger - 2015-12-08

Yes, it does. I'm only playing my uploaded library.


RE: Experimental Google Music Addon - moyn - 2015-12-10

(2015-12-04, 15:33)foreverguest Wrote: You have just hit a bug. Please check if file below fix it:
plugin.audio.googlemusic.exp-1.6.1

Just tried it, fantastic, fixed the problem. Great! Cheers, D.


RE: Experimental Google Music Addon - moyn - 2015-12-10

(2015-12-10, 22:17)moyn Wrote:
(2015-12-04, 15:33)foreverguest Wrote: You have just hit a bug. Please check if file below fix it:
plugin.audio.googlemusic.exp-1.6.1

Just tried it, fantastic, fixed the problem. Great! Cheers, D.

Oops... now as I explore, I see that not all my songs show up. I'm looking at one particular album and, on kodi, 2 songs show. On google music on my laptop, I see 10. I've only checked a couple of spots, but does seem to be across the library. Apologies if this has been discussed in the forum, I've scanned the thread but it's big at 37 screens and maybe I've missed it Smile Again, thanks for the add on -- the design and experience feels great, just want to make sure it's all there. Cheers.


This forum uses Lukasz Tkacz MyBB addons.