View Single Post
Old 09-06-2019, 11:03 AM   #1
skelos
Junior Member
skelos began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2019
Device: pipo
OPDS in php or populate metadata.db from filesystem

Hello,
I'm looking for a OPDS server in PHP and I found COPS (blog.slucas.fr/projects/calibre-opds-php-server/).
It appears great but there is limiited: It need data in metadata.db
And the only way I know for insert data into metadata.db is using calibre.

My idea is to populate metadata.db directly from filesystem using a PHP file doing same insert did from Calibre.

So, I call scheduled PHP page that see server filesystem looking for new author folder/books, It populate metadata.db filling right table with right data and COPS publish all catalog with new entries.

Do you know something like this? May be possible for you?
skelos is offline   Reply With Quote