View Full Version : libprs500 questions


JeffElkins
04-22-2008, 09:05 AM
1. I keep all my books on a central server that's connected via nfs to each workstation. I'd like to have libprs500 on each workstation (linux & macs) work from the same library. Where is the library data stored? I figured I could symlink the library from the server to the desired location on each workstation, but I can't locate the data file.

2. Is there a way to batch add metadata to a group of files? In particular, I need to add the same author to a group of 181 books and would like to avoid doing each book individually.

Thanks!

Schmots
04-22-2008, 09:24 AM
well, on a mac the books and info is stored in the universal package. It might be something like that. Check your ~ dir and see if there is a hidden folder for lib500 and if there isn't.. they are probably where your binary is.. put the binary up on your server and run it from there.

astrodad
04-22-2008, 12:07 PM
well, on a mac the books and info is stored in the universal package. It might be something like that. Check your ~ dir and see if there is a hidden folder for lib500 and if there isn't.. they are probably where your binary is.. put the binary up on your server and run it from there.

On the mac you specify the location of the books database. It's not in a hidden file or anything. I believe this applies to Windows and Linux as well. It should be easy to use a networked books database, though the settings won't be in sync and who knows what will happen when you try to access the same file at the same time. It probably won't work.

kovidgoyal
04-22-2008, 09:31 PM
1. The library is in a file called library1.db. You can locate it using the config dialog in the libprs500 GUI (which allows you to change its location as well. It should work from a NFS store, as long as you are careful to not concurrently access it (NFS doesn't support file locking). You should look into sshfs instead.

2. Click the arrow next to the edit metadata button and use the bulk convert dialog

JeffElkins
04-23-2008, 07:55 PM
Thanks for the replies! The network is home-based, and I'll be the only one using libprs500, so concurrent usage isn't an issue.