06-19-2010, 02:23 PM | #1 |
Member
Posts: 13
Karma: 10
Join Date: Nov 2009
Location: Central New York State
Device: Motorola Droid / Kindle
|
Calibre and Aldiko
Is there any possibility of having Calibre directly insert books into the Aldiko metadata? I've been looking into the code and Aldiko stores it's metadata in a sqlite database at /sdcard/Aldiko/library. The schema for the database is pretty straightforward and there's nothing obfuscated anywhere. I'm looking at taking a crack at writing the device driver myself, but it's a bit of a daunting proposition (good excuse to learn python though). I was just wondering if anybody else had looked into it or has started a similar project. I suspect someone familiar with the calibre code could crank this out in a day or two, it's going to take me longer
|
06-19-2010, 03:11 PM | #2 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
It would be fun to give it a shot, but I don't have a 'droid phone, so no can do.
timlegge has done something similar for the Kobo, so you might want to talk to him to see if his code offers a leg up. |
06-19-2010, 10:35 PM | #3 |
Connoisseur
Posts: 55
Karma: 10
Join Date: Jan 2010
Device: Nexus One
|
I thought about that, but I went with a workaround instead, and just added the url of calibre's content server into Aldiko as a custom catalog.
I don't ever plug my phone in and add books over usb anymore. It's easier to do it over wifi. I guess if I wanted to add a whole bunch at once, it might be better via usb, but usually it's just one or two at a time for me, so I convert them in calibre, then d/l them via Aldiko's catalog feature. |
06-20-2010, 03:51 AM | #4 | |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
See http://bugs.calibre-ebook.com/ticket/5884 and https://www.mobileread.com/forums/sho...d.php?p=967669 |
|
06-20-2010, 04:00 AM | #5 | |
Connoisseur
Posts: 55
Karma: 10
Join Date: Jan 2010
Device: Nexus One
|
Quote:
It doesn't look like a proper catalog, but it's internal to Aldiko, so I don't have to download it, then open it to add it to the Aldiko library, which is what you have to do if you access the content server from the Android browser. Just a single click on the 'epub' link of the desired book sends it straight into Aldiko. It's not perfect, but it works to get my latest book or two onto my phone without the hassle of plugging it in. |
|
06-20-2010, 09:00 PM | #6 |
Member
Posts: 23
Karma: 10
Join Date: Jul 2009
Device: Kindle2
|
If you have wifi at home, you could install FTPserver on your phone, turn it on and turn your phone into a little ftp hub, then ftp from your computer to the phone to transfer files without having to physically plug it in via the usb. Still requires a few extra steps to get from calibre -> aldiko (e.g., loading the books into aldiko once they'r on the phone), but at least you'd skip the cable.
|
06-21-2010, 09:28 AM | #7 | |
Connoisseur
Posts: 55
Karma: 10
Join Date: Jan 2010
Device: Nexus One
|
Quote:
Incorporating that url into the custom catalog feature of Aldiko allows direct download, without any extra steps, although it doesn't display it as a proper opds catalog, it is usable. |
|
07-02-2010, 09:40 AM | #8 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jun 2010
Device: Nexus One
|
I have been in touch with the developers, and they are working to fix the Aldiko <<>> Calibre issues.
I would not be at all surprised if the next version of Aldiko fixes these problems. |
07-08-2010, 06:08 PM | #9 |
Junior Member
Posts: 3
Karma: 10
Join Date: Apr 2009
Device: PRS-505/HTC Legend
|
I see your point, I would also like to be able to sync to Aldiko. That way you can do bulk uploads, get tags/collections working etc. I looked at the /aldiko/library.db, and it is a SQLite database, works fine with python. I have also looked at the calibre source but it looks kind of complex. I would like to be able to:
1. detect an android phone w Aldiko. 2. get/put list of books on device 3. get/put/delete books 4. add collections from calibre tags to the library.db 5. ??? 6. PROFIT! /paj |
07-09-2010, 12:51 AM | #10 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jun 2010
Device: Nexus One
|
I have worked with the Aldiko developers to identify and correct the problems with browsing, searching and downloading from the Calibre OPDS server. All of these issues should be addressed in an upcoming update to the app. Just keep an an eye out for updates in the Android Market.
Regards G |
07-09-2010, 02:39 AM | #11 | |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
My guess is an Aldiko driver would be around a week of work, shorter if good documentation of the DB exists. I would be happy to do it, if an android phone were to appear. |
|
07-09-2010, 05:53 PM | #12 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Apr 2009
Device: PRS-505/HTC Legend
|
Quote:
Unfortunately I have no extra Android phone for you... ;-) but how about the free android emulator...? http://openhandsetmagazine.com/2008/...roid-emulator/ Maybe I can help in other ways? I just think that the existing drivers are a bit hard to follow. Haven't spent that much time with it though. /paj |
|
07-10-2010, 01:55 AM | #13 | ||
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
|
||
07-24-2010, 10:48 PM | #14 |
Connoisseur
Posts: 50
Karma: 160
Join Date: Jan 2008
Location: Dewitt, MI
Device: Kindle Paperwhite 2021 / PC / iPad
|
I'm trying to get the Calibre server and Aldiko to play together, but not all is well. I used
http://URL:8080/stanza and can browse and download ebooks! Hurray! However for some reason I cannot get user authentication to work. It works when I use the Android browser, but not from within Aldiko. I'm not sure what I might need to do to get this working. I'm assuming since it works with the browser, that the problem is at the Aldiko end of things, but I thought it worth asking., |
12-25-2010, 01:46 PM | #15 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
To get authentication working, I've tried: http://URL:8080/ http://URL:8080/stanza http://URL:8080/opds and each variation with: http://userass@URL:8080 If there is anyone who is downloading EPUBs with Android Froyo's Browser or accessing the C/S authenticated with Aldiko I'd appreciate tips. BTW, I know I have the options of connecting the Android device as an ereader (USB), using Save to Disk and Connect to Folder, but the content server is my normal access method. Thanks for any info. (Aldiko is Ver. 1.2.10) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre -> Android/Aldiko, covers for epub not showing in device | Backdraft | Devices | 8 | 06-14-2011 11:33 PM |
Pandigital and Aldiko | Jay955528 | Calibre | 9 | 11-15-2010 04:16 PM |
Calibre2opds and Calibre content server -> Aldiko | Backdraft | Calibre | 19 | 09-12-2010 01:22 PM |
Calibre and Pandigital Novel running Aldiko? | wulfie | Calibre | 12 | 09-11-2010 03:21 PM |
Problem with Aldiko in smartq5 | Anyeli | Alternative Devices | 1 | 05-24-2010 09:06 AM |