2016-10-01, 11:37
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.
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.
Code:
19:31:57 T:18446744072669886752 NOTICE: [GoogleMusicEXP-1.10] Loading library
19:31:57 T:18446744072669886752 NOTICE: [GoogleMusicEXP-1.10] Loading auth from cache
19:32:00 T:18446744072655206688 NOTICE: [GoogleMusicEXP-1.10] ARGV: ['plugin://plugin.audio.googlemusic.exp/', '-1', '?action=clear_cache']
19:32:03 T:18446744072669886752 NOTICE: [GoogleMusicEXP-1.10] Chunk Size: 1000
19:32:04 T:18446744072655206688 NOTICE: [GoogleMusicEXP-1.10] Loading library
19:32:04 T:18446744072655206688 NOTICE: [GoogleMusicEXP-1.10] Loading auth from cache
19:32:05 T:18446744072841247008 WARNING: Skin has invalid include: View_503_Poster_Square
19:32:05 T:18446744072841247008 WARNING: Previous line repeats 3 times.
19:32:05 T:18446744072841247008 WARNING: Trying to add unsupported control type 1
19:32:05 T:18446744072646818080 WARNING: Previous line repeats 7 times.
19:32:05 T:18446744072646818080 NOTICE: [GoogleMusicEXP-1.10] ARGV: ['plugin://plugin.audio.googlemusic.exp/', '1', '']
19:32:06 T:18446744072669886752 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: disk I/O error
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.audio.googlemusic.exp/default.py", line 45, in <module>
GoogleMusicApi.GoogleMusicApi().loadLibrary()
File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.audio.googlemusic.exp/GoogleMusicApi.py", line 66, in loadLibrary
storage.storeInAllSongs(chunk)
File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.audio.googlemusic.exp/GoogleMusicStorage.py", line 221, in storeInAllSongs
self.conn.commit()
OperationalError: disk I/O error
-->End of Python script error report<--
19:32:07 T:18446744072646818080 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: disk I/O error
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.audio.googlemusic.exp/default.py", line 34, in <module>
storage.checkDbInit()
File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.audio.googlemusic.exp/GoogleMusicStorage.py", line 33, in checkDbInit
self.initializeDatabase()
File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.audio.googlemusic.exp/GoogleMusicStorage.py", line 316, in initializeDatabase
''')
OperationalError: disk I/O error
-->End of Python script error report<--
19:32:07 T:18446744072841247008 ERROR: static bool XFILE::CDirectory::GetDirectory(const CURL&, CFileItemList&, const XFILE::CDirectory::CHints&, bool) - Error getting plugin://plugin.audio.googlemusic.exp/
19:32:07 T:18446744072841247008 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.googlemusic.exp/) failed
19:32:18 T:18446744072655206688 NOTICE: [GoogleMusicEXP-1.10] Chunk Size: 1000
19:32:18 T:18446744072655206688 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'sqlite3.DatabaseError'>
Error Contents: database disk image is malformed
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.audio.googlemusic.exp/default.py", line 45, in <module>
GoogleMusicApi.GoogleMusicApi().loadLibrary()
File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.audio.googlemusic.exp/GoogleMusicApi.py", line 66, in loadLibrary
storage.storeInAllSongs(chunk)
File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.audio.googlemusic.exp/GoogleMusicStorage.py", line 180, in storeInAllSongs
self.curs.executemany("INSERT OR REPLACE INTO artists VALUES (:artist_id, :artistart)", artists())
DatabaseError: database disk image is malformed
-->End of Python script error report<--