View Single Post
Old 03-14-2022, 10:50 PM   #3
Nitrousoxide
Enthusiast
Nitrousoxide began at the beginning.
 
Posts: 49
Karma: 10
Join Date: Nov 2009
Device: None
Quote:
Originally Posted by kovidgoyal View Post
When running a calibre server, connect to it using calibredb. See the docs of calibredb for how to do that. Then it will update the GUI and OPDS automatically.
I got this working with this command, for anyone in the future who might see this.

calibredb add -acIilsStt --username (username) --password (password, likely need to surround with quotes due to odd characters) --library-path 'http://192.168.1.1:8080(replace with actual IP and port)/#(name of DB, look up at the top of the calibre gui window to see what it is, it also needs the preceeding "#" that i left in here, entire IP address + DB name was surrounded with quotes like here due to # sign breaking things in a bash script otherwise)' directory/path/to/books/for/input

Without all the notes:
calibredb add -acIilsStt --username user_name --password 'pass_word' --library-path 'http://192.168.7.233:6838/#DB' directory/path/to/books/for/input

You could probably use the local host ip for that, it wasn't working for me for some reason so I used the network IP of the server.
Nitrousoxide is offline   Reply With Quote