2021-12-22, 20:29
So I've been having a colossal amount of KODI problems moving from Synology to unRAID. On a windows machine, everything is fine having altered the MySQL database with new paths, along with the advancedsettings.xml and sources.xml file. Sadly, the same advancedsettings.xml and sources.xml cause KODI to immediately exit on Android.
I thought I had it fixed by giving the MySQL KODI user god mode over all databases. (https://forum.kodi.tv/showthread.php?tid=366070). Sadly it would appear that turning my TV off and on again yields the same errors (pastebin in linked thread).
I recognise I'm fighting a losing battle, so am prepared to nuke the database.
From phpmyadmin I've exported 2680 entries on the files table WHERE playCount >=1
I'm not great at SQL. The path I believe I have to walk is to let the database re-build, then do another export of files, open both SQL files up in EXCEL and do a VLOOKUP for strFileName and update the playcount accordingly. Simply blasting the newly-built database with my export is just gonna naff up what with the idFile being different.
Is there an easier way to do this? Like, for instance, fixing the Android problem from the off. Or just an SQL command without the need for EXCEL?
Thank you
I thought I had it fixed by giving the MySQL KODI user god mode over all databases. (https://forum.kodi.tv/showthread.php?tid=366070). Sadly it would appear that turning my TV off and on again yields the same errors (pastebin in linked thread).
I recognise I'm fighting a losing battle, so am prepared to nuke the database.
From phpmyadmin I've exported 2680 entries on the files table WHERE playCount >=1
SELECT * FROM `files` where playCount >= 1;
I'm not great at SQL. The path I believe I have to walk is to let the database re-build, then do another export of files, open both SQL files up in EXCEL and do a VLOOKUP for strFileName and update the playcount accordingly. Simply blasting the newly-built database with my export is just gonna naff up what with the idFile being different.
Is there an easier way to do this? Like, for instance, fixing the Android problem from the off. Or just an SQL command without the need for EXCEL?
Thank you