Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-17-2013, 01:29 AM   #1
snowypiglet
Junior Member
snowypiglet began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2013
Device: kindle
Automatic adding books to a specific library

Is this possible?

Automatic adding books from a folder to a specific library?

For example, I have two libraries. One for myself, one for my mom. I'm trying to use the auto-add function to add books from a shared folder into her library. and if I switched libraries and she copied the book into that folder, her books goes into my library.

Hope someone can help me
snowypiglet is offline   Reply With Quote
Old 08-17-2013, 03:06 AM   #2
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
There is no direct support for this in calibre, as far as I know.

However one way to achieve this could be by using two different scripts to add books, with different settings. These scripts could be used to add books from one specific folder to one specific library. Or to the same library, but with different tags, making the books appear in different virtual libraries (easier and recommended).

The scripts could either run automatically at specific times, assuming that calibre is not already running, or every time you start calibre. And of course, the scripts could be combined to one script that add books from two different folders, using two different settings. Note that the scripts must not be run while calibre is running.

The easiest would most likely be to add this extra functionality to the script that start calibre. To add the books from the two folders, to different calibre libraries, you would just have to start or restart calibre. This also ensures that the scripts to add books is never run while calibre is running.

To do this you would have to be reasonable proficient in scripting your operating system and also research the command line tools of calibre, especially calibredb:

http://manual.calibre-ebook.com/cli/calibredb.html

This command can be used to add specific books to a specific calibre library or with a specific tag set. Using a script it would be possible to automatically add several books from different folders to different libraries or with different tags set.

I could write that script for Linux, if I had to, but I would have more difficulties to do it for Windows. Most likely I would install the same scripting environment in Windows and then I could use the script from Linux, with minor changes. But this all has some uncanny similarities to work...

Perhaps someone else here knows an easier way?

Last edited by Adoby; 08-17-2013 at 05:04 AM.
Adoby is offline   Reply With Quote
Advert
Old 08-17-2013, 03:16 AM   #3
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,613
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
No, I've made my scrips in Windows for that (not exactly the same but similar). And yes, very much like work
Terisa de morgan is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Automatic Adding of books remus.grrrl Calibre 4 04-13-2013 09:15 AM
Adding books to 'Kindle Library' garygibsonsf Amazon Kindle 3 10-29-2012 12:28 PM
Adding books already in library directory but not library database sfguy5874 Library Management 1 07-07-2012 04:33 AM
Adding new books to the library robertsoakes Development 1 05-09-2012 01:01 PM
adding library books to Calibre gudrun45 Library Management 1 02-13-2011 12:31 PM


All times are GMT -4. The time now is 06:58 AM.


MobileRead.com is a privately owned, operated and funded community.