MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Server (https://www.mobileread.com/forums/forumdisplay.php?f=277)
-   -   Reloading Metadata.db (https://www.mobileread.com/forums/showthread.php?t=329846)

dcoulombe 05-12-2020 12:31 PM

Reloading Metadata.db
 
Hello Kovid,

I run a content server to provide a library do Haitian schools.
I just noticed that any change to the library (adding/removing documents)
can be viewed in the schools ONLY after Calibre is shut down and restarted.
I believe that the METADATA file is read by the content server when it loads,
and then 'lives' with it until restarted.

Would it be possible to add a button to 'Activate changes' or 'Reload Metadata' so that I don't have to shutdown Calibre everytime I change the content?

Another way to circumvent this problem would be to automatically stop and restart the server periodically. Would it be possible to add some scheduler within the server so that I could tell it to stop and restard at some specified time?

It would be great if these functions could be made available.

Thanks

kovidgoyal 05-12-2020 12:39 PM

If you run the server from within calibre any changes you make will be live automatically. I am assuming you are using calibre 4.x

dcoulombe 05-12-2020 03:29 PM

Quote:

Originally Posted by kovidgoyal (Post 3987624)
If you run the server from within calibre any changes you make will be live automatically. I am assuming you are using calibre 4.x

Thanks for the fast reply! I am using the latest version (14.15)... It doesn't look like the changes I make are live. But I must be doing something wrong... I will triple check and try to figure out what I am missing. Maybe it is due to the setup... The drive holding the library is a network disk, accessed remotely. I suppose that might cause the problem. I'll check that.

Thanks again!

nqk 05-15-2020 06:04 AM

Quote:

Originally Posted by dcoulombe (Post 3987697)
Thanks for the fast reply! I am using the latest version (14.15)... It doesn't look like the changes I make are live. But I must be doing something wrong... I will triple check and try to figure out what I am missing. Maybe it is due to the setup... The drive holding the library is a network disk, accessed remotely. I suppose that might cause the problem. I'll check that.

Thanks again!

Say, you have an edited epub and you try to replace it by copy-paste (in the book folder), it doesn't work. You must update it via the calibre content-server or the calibre main app. That's my experience.


All times are GMT -4. The time now is 05:35 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.