2015-01-16, 21:13
Hi,
when trying to update library (initial import, wiped everything before installing alpha3 to get a clean testing environment):
It seems the library is updated anyway though, I can browse songs, artists, albums and genres just fine and open the streams. When trying to browse a composer, I run into the following error though:
Also, there is a unicode problem in search again (search string was "toto"):
I also played around with different views a bit. It kinda works, meaning kodi remembers the view I used last time for a specific folder. However, unfortunately I have to change the view for every single folder, it's not like I change it to a specific view mode for album list of one artist and it's remembered for all other artists album lists, too. No idea if that's even possible here or what exactly would be required to make it behave that way but at least that's how it works in tv shows for example.
-- wrayan
when trying to update library (initial import, wiped everything before installing alpha3 to get a clean testing environment):
Code:
19:39:45 T:140393505036032 NOTICE: Thread LanguageInvoker start, auto delete: false
19:39:45 T:140393505036032 NOTICE: -->Python Interpreter Initialized<--
19:39:45 T:140393505036032 NOTICE: GoogleMusicEXP-1.3alpha3 ARGV: ['plugin://plugin.audio.googlemusic.exp/', '-1', '']
19:39:45 T:140393505036032 NOTICE: [GoogleMusicEXP-1.3alpha3] Trying to fetch the device_id
19:39:45 T:140393505036032 NOTICE: [GoogleMusicEXP-1.3alpha3] Logging in
19:39:45 T:140393505036032 NOTICE: [GoogleMusicEXP-1.3alpha3] Login succeeded
19:39:45 T:140393505036032 ERROR: /home/kodi/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:730: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html (This warning will only appear once by default.)
InsecureRequestWarning)
19:39:46 T:140393505036032 NOTICE: [GoogleMusicEXP-1.3alpha3] [{u'date': 1391727954571, u'lastUsedMs': 1391727954571, u'type': u'DESKTOP_APP', u'id': u'00:01:2E:2B:2A:D8', u'name': u'riva'}, {u'name': u'Nexus 5', u'lastUsedMs': 1420654064825, u'carrier': u'Google', u'date': 1413625427603, u'model': u'Nexus 5', u'type': u'PHONE', u'id': u'0x308d4f2f4469e273', u'manufacturer': u'LGE'}, {u'name': u'', u'lastUsedMs': 1413881723737, u'carrier': u'Google', u'date': 1410823110127, u'model': u'Nexus 4', u'type': u'PHONE', u'id': u'0x3bb77a283ad6470f', u'manufacturer': u'LGE'}, {u'name': u'Transformer Prime (alt 2)', u'lastUsedMs': 1414381572907, u'carrier': u'Asus', u'date': 1409877774277, u'model': u'Tf300t', u'type': u'PHONE', u'id': u'0x3c362343a8eceb88', u'manufacturer': u'ASUS'}, {u'date': 1390246138983, u'lastUsedMs': 1390246138983, u'type': u'DESKTOP_APP', u'id': u'2C:D0:5A:B8:27:D0', u'name': u''}]
19:39:46 T:140393505036032 NOTICE: [GoogleMusicEXP-1.3alpha3] Found device_id: 308d4f2f4469e273
19:39:46 T:140393505036032 NOTICE: [GoogleMusicEXP-1.3alpha3] Loading library
19:39:46 T:140393505036032 NOTICE: [GoogleMusicEXP-1.3alpha3] Loading auth from cache
19:39:47 T:140393505036032 NOTICE: [GoogleMusicEXP-1.3alpha3] Library Size: 2694
19:39:48 T:140393505036032 WARNING: Attempt to use invalid handle -1
19:39:48 T:140393505036032 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: an integer is required
Traceback (most recent call last):
File "/home/kodi/.kodi/addons/plugin.audio.googlemusic.exp/default.py", line 75, in <module>
navigation.listMenu()
File "/home/kodi/.kodi/addons/plugin.audio.googlemusic.exp/GoogleMusicNavigation.py", line 92, in listMenu
self.xbmcplugin.addSortMethod(handle1, self.xbmcplugin.SORT_METHOD_UNSORTED)
TypeError: an integer is required
-->End of Python script error report<--
It seems the library is updated anyway though, I can browse songs, artists, albums and genres just fine and open the streams. When trying to browse a composer, I run into the following error though:
Code:
19:57:04 T:140393513428736 NOTICE: Thread LanguageInvoker start, auto delete: false
19:57:04 T:140393513428736 NOTICE: -->Python Interpreter Initialized<--
19:57:04 T:140393513428736 NOTICE: GoogleMusicEXP-1.3alpha3 ARGV: ['plugin://plugin.audio.googlemusic.exp/', '247', '?albums=Alice%20Cooper&path=composer']
19:57:04 T:140393513428736 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'NoneType' object has no attribute 'replace'
Traceback (most recent call last):
File "/home/kodi/.kodi/addons/plugin.audio.googlemusic.exp/default.py", line 80, in <module>
navigation.listMenu(params)
File "/home/kodi/.kodi/addons/plugin.audio.googlemusic.exp/GoogleMusicNavigation.py", line 71, in listMenu
listItems = self.listFilterSongs(self.path, get('album'), get('artist'))
File "/home/kodi/.kodi/addons/plugin.audio.googlemusic.exp/GoogleMusicNavigation.py", line 193, in listFilterSongs
songs = self.api.getFilterSongs(filter_type, urllib.unquote_plus(filter_criteria), albums )
File "/usr/lib/python2.7/urllib.py", line 1240, in unquote_plus
s = s.replace('+', ' ')
AttributeError: 'NoneType' object has no attribute 'replace'
-->End of Python script error report<--
19:57:04 T:140396853020608 ERROR: GetDirectory - Error getting plugin://plugin.audio.googlemusic.exp/?albums=Alice%20Cooper&path=composer
19:57:04 T:140396853020608 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.googlemusic.exp/?albums=Alice%20Cooper&path=composer) failed
19:57:04 T:140393513428736 NOTICE: Thread LanguageInvoker start, auto delete: false
19:57:04 T:140393513428736 NOTICE: -->Python Interpreter Initialized<--
19:57:04 T:140393513428736 NOTICE: GoogleMusicEXP-1.3alpha3 ARGV: ['plugin://plugin.audio.googlemusic.exp/', '248', '?criteria=composer&path=filter']
19:57:04 T:140393513428736 NOTICE: [GoogleMusicEXP-1.3alpha3] CRITERIA: 'composer' ''
19:57:04 T:140393454679808 NOTICE: Thread BackgroundLoader start, auto delete: false
Also, there is a unicode problem in search again (search string was "toto"):
Code:
19:58:37 T:140393270204160 NOTICE: [GoogleMusicEXP-1.3alpha3] RESULT ALBUMS: u'El Asunto (Track by Track Commentary)' - u'Tot\xf3 la Momposina' B556lerfr2cooqps6sxsudje6ei
19:58:37 T:140393270204160 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xc3 in position 16: ordinal not in range(128)
Traceback (most recent call last):
File "/home/kodi/.kodi/addons/plugin.audio.googlemusic.exp/default.py", line 80, in <module>
navigation.listMenu(params)
File "/home/kodi/.kodi/addons/plugin.audio.googlemusic.exp/GoogleMusicNavigation.py", line 77, in listMenu
listItems = self.getSearch(query)
File "/home/kodi/.kodi/addons/plugin.audio.googlemusic.exp/GoogleMusicNavigation.py", line 319, in getSearch
listItems.append(self.addFolderListItem("["+album[1]+"] "+album[0],{'path':"search_result",'query':album[0].encode('utf8')},cm,album_art_url=album[2]))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 16: ordinal not in range(128)
-->End of Python script error report<--
19:58:37 T:140396853020608 ERROR: GetDirectory - Error getting plugin://plugin.audio.googlemusic.exp/?path=search
19:58:37 T:140396853020608 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.googlemusic.exp/?path=search) failed
19:58:37 T:140393270204160 NOTICE: Thread BackgroundLoader start, auto delete: false
I also played around with different views a bit. It kinda works, meaning kodi remembers the view I used last time for a specific folder. However, unfortunately I have to change the view for every single folder, it's not like I change it to a specific view mode for album list of one artist and it's remembered for all other artists album lists, too. No idea if that's even possible here or what exactly would be required to make it behave that way but at least that's how it works in tv shows for example.
-- wrayan