Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Kodi MySQL and offline library-copy
#1
Question 
Hi,

I just "upgraded" my local Kodi-library copies at home to a shared MySQL-library running on my QNAP-NAS.

I'm also running a portable Kodi version on a notebook (no admin rights) and want to use the shared LAN-library also locally/offline ...
I don't want to play the movies/TV-shows/music (as the big files are located on my local NAS) - but I want to have access to the movie list and playinfo/pictures etc. offline
=> so I think I need an SQLite-export (MyVideos116.db + MyMusic72.db) from my MySQL-library

any idea?

thanks
Michael
Reply
#2
Why not run a MySQL server on your notebook as well, for local use only?
Then simply do a mysqldump from your NAS to your notebook.
It would avoid possible SQLite/MySQL conversion troubles.
Reply
#3
(2019-07-18, 17:21)Klojum Wrote: Why not run a MySQL server on your notebook as well, for local use only?
This was a very good question :-) Thought it is much more effort, but it was done in few minutes ...

... but now I have issues with my portable kodi-version, as it is ignoring the advancedsettings.xml file with the MySQL-connection info!
As I have no admin rights I installed a portable version (officially supportedHuh) from https://sourceforge.net/projects/mwayne/...e/download

... or is there any other way to install Kodi without admin-rights?

thanks
Reply
#4
What operating system on the laptop?
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#5
win10
Reply
#6
You don't need a .paf portable Kodi installer.
If you install the official Kodi version, and run it as portable, all should work.™
Reply
#7
(2019-07-19, 14:18)Klojum Wrote: You don't need a .paf portable Kodi installer.
If you install the official Kodi version, and run it as portable, all should work.™
Can you do that without admin rights?  I'd assume not.
Reply
#8
(2019-07-19, 14:56)trogggy Wrote: Can you do that without admin rights?  I'd assume not.

I do not have enough Windows 10 experience to know the different outcomes with and without admin rights.
Reply
#9
(2019-07-19, 15:20)Klojum Wrote: I do not have enough Windows 10 experience to know the different outcomes with and without admin rights. 
Me neither.  If he can use kodi from here it's a no-brainer, but you do need to install Visual C++ which I guess is the issue.
Reply
#10
exactly!

I can confirm, running Kodi installation is asking for admin rights immediately - decision to install in portable directory comes after having logged in with admin rights :-(
Reply
#11
Enable debug logging, restart kodi, post the log to a paste site and the link here - that might show up why advancedsettiungs are not being read.
Reply
#12
sorry, completely forgot about this to follow-up.

To summarize: I imported the Kodi databases from my Kodi/MySql live environment and hoped, that I then can see my library then in my "offline" environment.
But obviously, once the directory access is broken, all the database-data is being ignored.

Any hint how to create this kind of offline-environment?
Reply
#13
Hmmm, define "database-data".  Do you mean all the actual titles, or do you mean all the art ?  If it's the art that's missing, that's because Kodi only stores links to the art in the music/video dbs. If Kodi has shown the art before, it'll look in its local cache first and if its not there, then it will try to load it from the link(s).  Copying the Textures13.db and the entire Thumbnail directory from your live environment to the offline one might fix that.  Obviously, art that cannot be loaded from the cache will be missing as the sources are not available to load it from.
Learning Linux the hard way !!
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi MySQL and offline library-copy0