Posts: 2,485
Joined: Sep 2006
Reputation:
340
2024-05-11 16:26:21.051 T:32624 error <general>: Can't open the database MyMusic83 as it is a NEWER version than what we were expecting?
2024-05-11 16:26:21.057 T:32624 info <general>: Old database found - updating from version 82 to 83
2024-05-11 16:26:21.059 T:32624 error <general>: SQL: Can't create database for copy: 'MyMusic82' (1007)
2024-05-11 16:26:21.061 T:32624 error <general>: Unable to copy old database MyMusic82 to new version MyMusic83
Your getting that in both headless and client.
1007 seems to say that DB already exists
So maybe it created and failed and now cant try again.
If I was you, I'd login to mysql db and delete the MyMusic83 db
then restart and let it try to migrate 82 -> 83 again
Posts: 2,485
Joined: Sep 2006
Reputation:
340
I suspect something isn't migrating correctly.
Starting fresh with latest db and scanning in is probably the best way.
Posts: 9
Joined: Nov 2023
Reputation:
1
Hello,
Thanks for your docker image.
Do you have the corresponding Dockerfile ?
Did you have to modify the Leia headless.patch to make it work on Omega ? if so can you provide it as well
I would like to integrate Kodi-headless in another docker image that I'm building
Thanks for your help
Posts: 2,485
Joined: Sep 2006
Reputation:
340
its all on the github. change the branch to whatever kodi version to see all the files
Posts: 9
Joined: Nov 2023
Reputation:
1
Thanks a lot 🙏 I overlooked the branch change, thanks for the clarification and your work on that docker image 🙂
Posts: 9
Joined: Nov 2023
Reputation:
1
It seems that most of what I want to configure is possible through xml or web interface. But for some odd reason, the scrapper configuration is only customizable through the conventionnal UI. Anyway I think that a simple mysql INSERT INTO in the path table (with right values) will do the trick.... is it the right or only way to do it ? thanks for your help, btw your "recently added refresh" add-on is awesome !
Posts: 2,485
Joined: Sep 2006
Reputation:
340
youd need to ask the kodi guys. I believe set content only possible on a full client
Posts: 9
Joined: Nov 2023
Reputation:
1
Ok I see. The workaround is to set the SQL DB with a remote full kodi client first. this is what I want to avoid to have an automatized "devops style" deployment for home
Posts: 2,485
Joined: Sep 2006
Reputation:
340
2024-06-12, 03:23
(This post was last modified: 2024-06-12, 03:26 by matthuisman. Edited 1 time in total.)
again, its Kodi. If they havnt added "set content" to web gui / JSON API - there isn't much I can do.
You could find the rows it creates and have your own query to insert them. But youd need to keep the DB table name upto date etc.
Its still possible - but youll need to figure out the mucking around
Posts: 2,485
Joined: Sep 2006
Reputation:
340
I don't understand sorry. It's just standard Linux Kodi running without a GUI. Nothing more, nothing less.