seblucas / cops

Calibre OPDS (and HTML) PHP Server : web-based light alternative to Calibre content server / Calibre2OPDS to serve ebooks (epub, mobi, pdf, ...)
http://blog.slucas.fr/en/oss/calibre-opds-php-server
GNU General Public License v2.0
1.43k stars 229 forks source link

how th show library name in index.php #379

Closed ybbluesky closed 6 years ago

ybbluesky commented 6 years ago

when i user cops,the library name is 0,1,2,3-----,i want change 0,1,2 to the library name,what to do? 4

my english is very poor ,thanks

marioscube commented 6 years ago

In config_local.php add the library name(s) like this:

$config['calibre_directory'] = array ("Library name" => "/home/directory/calibre1/", "Other library name" => "/home/directory/calibre2/", "And another library name" => "/home/directory/calibre3/");

You forgot to add

"library name" =>

to the lines(?)

Edit: pictures help ;-)

seblucas commented 6 years ago

Exactly.

thanks @marioscube for answering.

marioscube commented 6 years ago

Isn't this topic closed a bit too soon?

The topicstarter probably hasn't read it yet and given his english can he find it now?

@seblucas Good to see you are still interested in cops ;-)

seblucas commented 6 years ago

I am still interested in COPS, real life is a .... so I have not any time left. I'll do a Xmas release though.

The topic started should have a notification (either by mail or within Github) ....

marioscube commented 6 years ago

Yeah real life never leaves enough hours in a day to have fun ;-)

Still thank you for cops though.

I wish you a Joyeux Noël and a good start in the new Year altough is't only the early days of december (but I might forget....)

ybbluesky commented 6 years ago

thanks all