2016-10-11, 05:38
(2016-10-07, 19:43)foreverguest Wrote:(2016-10-01, 11:37)mdh99 Wrote: Can't this to work.
Installed fine, setup app password and it logs in but throws the following error.
I suspect it can't create the googlemusic.db file. I tried creating it manually (in Android/data/com.semperpax.spmc16/files/.spmc/userdata/addon_data/plugin.audio.googlemusic.exp/) but it then days the database is malformed.
Android permissions? Running SPMC on Nexus Player with Android 7.
Have you tested with Kodi? Please check if it shows the same behavior with Kodi.
I don't have Kodi on the Nexus Player and don't want to mess around installing it; I did however try in Windows with Kodi.
Code:
14:15:46 T:184 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'sqlite3.OperationalError'>
Error Contents: database is locked
Traceback (most recent call last):
File "C:\Users\Matt\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\default.py", line 45, in <module>
GoogleMusicApi.GoogleMusicApi().loadLibrary()
File "C:\Users\Matt\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\GoogleMusicApi.py", line 66, in loadLibrary
storage.storeInAllSongs(chunk)
File "C:\Users\Matt\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\GoogleMusicStorage.py", line 180, in storeInAllSongs
self.curs.executemany("INSERT OR REPLACE INTO artists VALUES (:artist_id, :artistart)", artists())
OperationalError: database is locked
-->End of Python script error report<--
14:15:46 T:6944 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.audio.googlemusic.exp/
14:15:46 T:6944 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.googlemusic.exp/) failed
It now says the database is locked.