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 - Abbaskip - 2018-10-20 (2018-10-16, 23:20)foreverguest Wrote: For those with problems logging in, try using this option https://accounts.google.com/b/0/DisplayUnlockCaptcha.Still not working for me I've followed that link and enabled account access. I'm using an App password as I have 2 factor authentication, but not working. Should I turn off 2 factor and just enable account access? RE: Experimental Google Music Addon - Abbaskip - 2018-10-20 It seems it suddenly started working again. I kept trying to login, clear cache, login, enable account access, clear cache etc etc etc haha RE: Experimental Google Music Addon - Abbaskip - 2018-10-31 I'm getting an error nearly whenever I search now. But then some searches work. Searched for Damien Rice below (I knew this one didn't work as my wife tried it and got an error ) This is what I'm getting: Code: 21:03:53.386 T:138488 NOTICE: [GoogleMusicEXP-1.11.1] API getsearch: Damien rice Another example is searching for Happy Days: Code: 21:08:47.037 T:139760 NOTICE: [GoogleMusicEXP-1.11.1] API getsearch: happy days Seems to be a unicode/ascii error with one of the chars being returned? I've never done any Python - but programmed in another life time, and I think it's along the lines of what's mentioned here: https://docs.python.org/2.7/howto/unicode.html#the-unicode-type RE: Experimental Google Music Addon - Abbaskip - 2018-10-31 Actually - so I got mine working. The issue is in a Kodi file - urllib.py Lilne 1343 has: Code: v = quote_plus(str(v)) I changed this to: Code: v = quote_plus(v.encode('ascii', 'ignore')) I'm assuming the other mentions of str should be replaced in this same way. As I'm not really up with github and suggesting changes etc, how would I go about suggesting this is changed in the next Kodi version? RE: Experimental Google Music Addon - Abbaskip - 2018-10-31 I also found that when searching previous searches, your addon is using %20 etc instead of a space. This means it will only return YouTube results for cached search with a space in it. I've fixed this by adding from line 116 in GoogleMusicApi.py: Code: import urllib Obviously ensure indentation is correct etc. RE: Experimental Google Music Addon - Abbaskip - 2018-11-01 (2018-10-31, 12:27)Abbaskip Wrote: Actually - so I got mine working. The issue is in a Kodi file - urllib.pyObviously not ideal doing this in the Kodi Python library, so I'm going to investigate why it's causing the error in the add-on. Thinking the add-on can possibly just decode instead of changing how Kodi handles it. Not home tonight but will play around over the weekend. See if I can make it 2/2 big fix pull requests for you @foreverguest RE: Experimental Google Music Addon - Abbaskip - 2018-11-05 (2018-11-01, 04:06)Abbaskip Wrote:(2018-10-31, 12:27)Abbaskip Wrote: Actually - so I got mine working. The issue is in a Kodi file - urllib.pyObviously not ideal doing this in the Kodi Python library, so I'm going to investigate why it's causing the error in the add-on. Thinking the add-on can possibly just decode instead of changing how Kodi handles it. So the fix to this issue has now been submitted to the github too. When calling urlencode doseq needed to be set to true (as what we were passing was a dict). This means urllib.py can be left alone as it should be, and instead line 428 of GoogleMusicNavigation.py Should be changed from: Code: return "?".join([utils.addon_url, urlencode(params)]), li, "true" to: Code: return "?".join([utils.addon_url, urlencode(params, doseq=True)]), li, "true" RE: Experimental Google Music Addon - vojta1 - 2018-11-21 Quote:For those with problems logging in, try using this option https://accounts.google.com/b/0/DisplayUnlockCaptcha. It seems I have to approve this every week. Do you know if there is possibility to approve access permanently? RE: Experimental Google Music Addon - Abbaskip - 2018-11-22 (2018-11-21, 11:42)vojta1 Wrote:Ha - came here to post exactly this. It's pretty frustrating - esp as I need 2FF enabled, so I need to login with that, approve once each week.Quote:For those with problems logging in, try using this option https://accounts.google.com/b/0/DisplayUnlockCaptcha. RE: Experimental Google Music Addon - Abbaskip - 2018-12-31 (2018-11-21, 11:42)vojta1 Wrote:Quote:For those with problems logging in, try using this option https://accounts.google.com/b/0/DisplayUnlockCaptcha. Mine seems to be working again now? Haven't head to give access again for a few weeks? Maybe it's because I added a widget to my home screen which refreshes the login daily? RE: Experimental Google Music Addon - jmh2002 - 2018-12-31 I think google might have changed something to fix this. I haven't made any changes since it was 'broken', I don't have a widget, but I just tried to access my music and things seemed to be working normally again (I didn't check every feature but I can access my library and play music) RE: Experimental Google Music Addon - Abbaskip - 2019-01-07 (2018-12-31, 17:08)jmh2002 Wrote: I think google might have changed something to fix this. I haven't made any changes since it was 'broken', I don't have a widget, but I just tried to access my music and things seemed to be working normally again (I didn't check every feature but I can access my library and play music) Interestingly I got an email from Google the other day around an issue Google had with applications that had been authorised to use accounts. Assuming it was sent to everybody, but I wonder if this was what was causing the issues. RE: Experimental Google Music Addon - randalstroup - 2019-01-27 1) My "I'm Feeling Lucky" playlist loads but won't play...log is here>https://paste.kodi.tv/qaqehiqazo.kodi 2) Trying to play a "radio station" playlist results in Kodi crashing. 3) Why the #$!#$ doesn't anything seem to just "work" in Kodi! RE: Experimental Google Music Addon - Abbaskip - 2019-01-28 (2019-01-27, 19:36)randalstroup Wrote: 1) My "I'm Feeling Lucky" playlist loads but won't play...log is here>https://paste.kodi.tv/qaqehiqazo.kodi Radio stations are crashing Kodi for me too now. Wondering if Google have changed something which leads to an invalid URL being called or similar. I suggest finding a song and starting radio from that as a short-term fix, and then posting your error on the github RE: Experimental Google Music Addon - etchings13 - 2019-02-05 I don't know if this is helpful but this plug-in still works for me in Kodi 17.6. That includes radio stations but not "I'm Feeling Lucky". After recently upgrading (I tried a clean install as well) to 18.0, I lost everything except my uploaded songs, so I ended up downgrading back to 17.6 and it works as it did before. I just wanted to mention this in case people were thinking it was Google causing the radio issues when the problem might actually be Kodi 18.0. |