Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 09-26-2015, 04:25 PM   #1
mishagale
Member
mishagale began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Dec 2012
Device: Kobo Touch
calibre-sync: Automatically download books from your Calibre Content Server onto Kobo

As far as I was aware, there was no way, without significant hacking (like installing an alternative to Nickel such as Koreader), to make your Kobo automatically download books from your Calibre library to your device, over WiFi. So I wrote a daemon which does just that.

It can be installed without needing any other hacks or launchers, since it simply runs in the background as a daemon process. To configure it, modify the calibre-sync.ini file on your SD card.

DISCLAIMER
I'd say it's unlikely that this software will cause any damage to your device, but it is new and not extensively tested. I advise you to take a backup before installing. I am not responsible in the unlikely event that you lose data or brick your device.

I'm pretty sure it works on a Kobo Touch running firmware 3.0.1, since that's what I have. I'd be very grateful to anyone running other devices and firmwares who can either confirm it works, or submit bug reports.

Downloads and setup instructions can be found here.
mishagale is offline   Reply With Quote
Old 09-28-2015, 08:39 PM   #2
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 869
Karma: 2676800
Join Date: Sep 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
This looks rather interesting.

Have you looked into using the calibre wireless driver rather than the content server? Would such a thing be possible?

This seems a little to broad to me, to get a limited number of books, one would have to create a seperate (virtual) library, and only share that on the content server.
sherman is offline   Reply With Quote
Advert
Old 09-29-2015, 04:57 AM   #3
mishagale
Member
mishagale began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Dec 2012
Device: Kobo Touch
Quote:
Originally Posted by sherman View Post
This looks rather interesting.

Have you looked into using the calibre wireless driver rather than the content server? Would such a thing be possible?
I haven't really looked into using the wireless driver, but it's something I'm thinking about for a future release. Probably shouldn't hold your breath for it yet though.

Quote:
Originally Posted by sherman View Post
This seems a little to broad to me, to get a limited number of books, one would have to create a seperate (virtual) library, and only share that on the content server.
If you just want one or two books, you could just open the content server in the Kobo browser and download them manually.

However, another feature I'm planning to add, probably quite soon, is the ability to specify whitelist/blacklists by regular expression matched against author and/or title in the config file. I'm also planning to add a way to run calibre-sync once without actually downloading the books, but with updating the list of downloaded books - so you could make sure that from that point on, it would ignore all books currently in the library.

If anyone wants new/better functionality, I'd advise them to be loud about it. Right now, the tool works well enough for my own use-case, so unless I know that other people are actually using it and have needs which don't match my own, I'm not very motivated to keep working on it.
mishagale is offline   Reply With Quote
Old 10-03-2015, 11:14 AM   #4
mobamoba
Enthusiast
mobamoba began at the beginning.
 
Posts: 38
Karma: 44
Join Date: Dec 2014
Device: Kobo Glo
This looks great! I use Calibre all the time so thanks!
mobamoba is offline   Reply With Quote
Old 03-23-2017, 06:59 AM   #5
k_k_kls
Junior Member
k_k_kls began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2017
Device: kobo aura one
Will it work on kobo aura one?
k_k_kls is offline   Reply With Quote
Advert
Old 03-23-2017, 10:37 AM   #6
mishagale
Member
mishagale began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Dec 2012
Device: Kobo Touch
Quote:
Originally Posted by k_k_kls View Post
Will it work on kobo aura one?
I don't have an Aura to test with, but it should work on any Kobo. I'd be pleased to hear how it works on your device, and if it doesn't, maybe I can fix it.
mishagale is offline   Reply With Quote
Old 03-23-2017, 09:18 PM   #7
k_k_kls
Junior Member
k_k_kls began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2017
Device: kobo aura one
Thank you man for your support!That moves me a lot,I thought you were gone.

I will test after I receive my device.I just place my order,it will take quite a long time to arrive,like half a month......
k_k_kls is offline   Reply With Quote
Old 03-23-2017, 09:29 PM   #8
mishagale
Member
mishagale began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Dec 2012
Device: Kobo Touch
Quote:
Originally Posted by k_k_kls View Post
Thank you man for your support!That moves me a lot,I thought you were gone.

I will test after I receive my device.I just place my order,it will take quite a long time to arrive,like half a month......
Note quite gone, just haven't been working on it for quite a while. It basically works fine for me, so I don't have much motivation to do more development, and the user-base is very small. But if I get bug reports and feature requests, I'll try and address them.
mishagale is offline   Reply With Quote
Old 03-23-2017, 09:38 PM   #9
k_k_kls
Junior Member
k_k_kls began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2017
Device: kobo aura one
I suppose its user-base will increase a lot if you post this thread on kobo forum.
Your firmware still 3.0.1?
k_k_kls is offline   Reply With Quote
Old 04-13-2017, 06:23 AM   #10
k_k_kls
Junior Member
k_k_kls began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2017
Device: kobo aura one
Sorry man,I decide to use autoshelf to manage my books.I think its very difficult to make autoshelf and calibre-sync both work,so I give calibre-sync up.
k_k_kls is offline   Reply With Quote
Old 04-13-2017, 07:23 AM   #11
mishagale
Member
mishagale began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Dec 2012
Device: Kobo Touch
Quote:
Originally Posted by k_k_kls View Post
Sorry man,I decide to use autoshelf to manage my books.I think its very difficult to make autoshelf and calibre-sync both work,so I give calibre-sync up.
I wasn't familiar with Autoshellf before now, but I might be able to do some tweaks to make calibre-sync play nicer with Autoshelf. From a very brief glance, it seems the problems are that a) Autoshelf gets its info from the directory structure, and calibre-sync downloads files to a fixed "Author Name/Title.epub" path, and b) Autoshelf is manually triggered while on the "connected to PC" screen.

A possible workaround for b) would be to set the "delay" value (in the [update] section of the calibre-sync.ini config file) to a higher value, e.g. 10. This would ensure you have ten seconds in which to tap the screen and trigger Autoshelf.

I will (eventually, in my Copious Free Time) investigate whether it is possible to trigger autoshelf automatically when calibre-sync updates. I will also look into ways to make the path c-s saves downloaded books to configurable - do you have any suggestions on how that might work?

for the feedback.

EDIT: It seems Calibre includes fields like tags and series as part of the HTML description (content field in the OPDS), so it should be possible to parse that information, and use it to determine the save path.

Last edited by mishagale; 04-13-2017 at 07:45 AM.
mishagale is offline   Reply With Quote
Old 04-14-2017, 04:58 AM   #12
k_k_kls
Junior Member
k_k_kls began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2017
Device: kobo aura one
I know nothing about programming,the only I can help is to give suggestions......
I think it is enough to sort books by three attributes:tag,author,series.
First,I edit metadata in calibre properly,then calibre-sync downloads file to tag/author/serie,result in kobo like:
Fantasy fiction/George R. R. Martin/a song of ice and fire 5 books
I also have the ice dragon and a knight of seven kingdoms(their series attributes are blank),result like:
Fantasy fiction/George R. R. Martin 2 books

I think that is good.But for some books,which is the only book I owe of the author's,like
Workout/mark lauren 1 book
I have only one book of mark lauren's,so I prefer to put it just in Workout/
I think these two ways to sort can handle mostly conditions.So my design is:

1.Ask users to edit metadata in calibre properly,add a new column.
2.calibre-sync make direction Tag/author/series or Tag/ according to the value of the new column.

Of course u can make it more customizable,but I think my idea is enough.
Don't know if I express myself clearly......
k_k_kls is offline   Reply With Quote
Old 04-14-2017, 09:23 AM   #13
k_k_kls
Junior Member
k_k_kls began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2017
Device: kobo aura one
calibre-sync does not work on firmware 4.3.9084.It says "something goes wrong"

I tried to go to a previous version,reset and regist,but kobodesktop update firmware to newest automatically(I can't resist via wifi).
k_k_kls is offline   Reply With Quote
Old 04-14-2017, 09:46 AM   #14
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by k_k_kls View Post
calibre-sync does not work on firmware 4.3.9084.It says "something goes wrong"

I tried to go to a previous version,reset and regist,but kobodesktop update firmware to newest automatically(I can't resist via wifi).
Actually, using the desktop app is the easiest way to get to your desired firmware. After the factory reset, connect and let the desktop app do its stuff. But do not eject the device. Then replace the firmware files in the .kobo directory with the ones for the version you want to use. The eject the device.
davidfor is offline   Reply With Quote
Old 05-13-2019, 06:18 PM   #15
Sonofrobot
Connoisseur
Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Posts: 61
Karma: 91098
Join Date: Aug 2018
Device: Kobo Forma
I'm not sure if this is working on the most recent version of Kobo firmware but I'm going to try it on my Forma.
Assuming it does work, how hard would it be to add the ability to sync both ways so that data such as when a book is finished makes it's way back to Calibre?
Sonofrobot is offline   Reply With Quote
Reply

Tags
calibre, calibre-sync, content-server, kobo, opds


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre content-server doesn't seem to see new books offby1 Calibre 7 05-05-2013 11:58 AM
is there a tool to open (read) books from the calibre's content server? tsolignani Related Tools 2 04-16-2013 08:14 AM
Using the Calibre server function to download ebooks on a Kobo Mini samhy Related Tools 2 02-28-2013 06:10 PM
Download ePubs from calibre content server without Stanza? barium Apple Devices 18 06-18-2012 08:29 AM
How do I configure the calibre content server to download news? fabian Library Management 18 04-24-2011 03:01 PM


All times are GMT -4. The time now is 07:33 PM.


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