10-28-2018, 05:13 AM | #1 |
Member
Posts: 15
Karma: 13206
Join Date: Oct 2018
Device: Kobo Glo
|
Support for cloud services (Dropbox/Nextcloud)
Hi Forum!
I would like to share a project that I worked on some time ago, then abandoned, then brought back to life thanks to some interested people on Github. I didn't know this forum before, but I think that this project would fit well in here. With this addition, you can have your kobo automatically download books from shared Dropbox or Nextcloud folders. Just add the share link in a simple configuration file inside your .kobo folder and that's it! I tested in on a Kobo Glo and on a Kobo Aura H2O. You can find more information on my github page: https://github.com/fsantini/KoboCloud and installation pack here: https://github.com/fsantini/KoboCloud/releases Hope this will help somebody! Francesco |
10-28-2018, 05:54 AM | #2 | |
Member
Posts: 23
Karma: 10
Join Date: Sep 2016
Device: Kobo Clara HD
|
Thanks for putting this together (I was the person on github who asked for an update).
I have installed it, following the instructions, and tried to use dropbox to sync. The log file on the system says it did try and pull from the url, but the files I placed there (two .kepub books) did not get synced. I tried changing the name of my directory to something simpler, but that had no effect. Here's the log: Quote:
Last edited by therourke; 10-28-2018 at 05:57 AM. |
|
Advert | |
|
10-28-2018, 08:31 AM | #3 |
Guru
Posts: 657
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
Does it only fetch epubs?
Worked fine on my Aura HD/4.8.11073, but only for epubs not kepubs. Thanks, |
10-28-2018, 09:57 AM | #4 |
Member
Posts: 23
Karma: 10
Join Date: Sep 2016
Device: Kobo Clara HD
|
I tried syncing an epub and that didn't work either. BUT when I changed my .kepub files to .kepub.epub that did work.
Last edited by therourke; 10-28-2018 at 10:00 AM. |
10-28-2018, 10:02 AM | #5 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
|
Advert | |
|
10-28-2018, 10:10 AM | #6 |
Guru
Posts: 657
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
Ah, thanks geek1011, renaming to .kepub.epub made kepubs work as well.
This is a great feature! |
10-28-2018, 10:19 AM | #7 |
Member
Posts: 23
Karma: 10
Join Date: Sep 2016
Device: Kobo Clara HD
|
Does anyone know a way to convert to kepub without a desktop (i.e. calibre)?
I would like to automate this process, as I used to on my Kindle. I.e. add epub to a Dropbox folder, service like zapier.com converts to kepub and adds to separate Dropbox folder, which can then sync to device. But if there is an android app that converts epubs to kepub, that would also be great. |
10-28-2018, 10:33 AM | #8 | |
Guru
Posts: 657
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
Quote:
https://www.mobileread.com/forums/sh...d.php?t=295287 |
|
11-20-2018, 12:48 PM | #9 |
Member
Posts: 23
Karma: 10
Join Date: Sep 2016
Device: Kobo Clara HD
|
Still having problems with syncing. It isn't consistent, whether I try to sync kepub or epub files. Any thoughts on this? Is there anything about how filenames are written (bad characters for instance) tat might make a difference?
|
11-21-2018, 01:24 AM | #10 | |
Member
Posts: 15
Karma: 13206
Join Date: Oct 2018
Device: Kobo Glo
|
Quote:
Are you trying to sync from Dropbox or Nextcloud? |
|
11-23-2018, 04:07 AM | #11 |
Member
Posts: 23
Karma: 10
Join Date: Sep 2016
Device: Kobo Clara HD
|
Dropbox.
I will try again. See, the best reason for me for having this setup, is so that I can sync stuff on the go without the hassle of wires etc. If I have to rename the files each time it gets complicated. Is there any way to update the syncing status so it accepts special characters? That would be amazing |
11-23-2018, 04:15 AM | #12 | |
Member
Posts: 15
Karma: 13206
Join Date: Oct 2018
Device: Kobo Glo
|
Quote:
Does some Kobo guru know if it's maybe the Kobo itself that has some problems with some characters in the filename? |
|
11-23-2018, 05:38 AM | #13 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Code:
def sanitize_path_components(self, components): invalid_filename_chars_re = re.compile(r'[\/\\\?%\*:;\|\"\'><\$!]', re.IGNORECASE | re.UNICODE) return [invalid_filename_chars_re.sub('_', x) for x in components] |
|
11-27-2018, 12:29 PM | #14 | |
Member
Posts: 23
Karma: 10
Join Date: Sep 2016
Device: Kobo Clara HD
|
It seems something has gone wrong with my installation. It is not syncing at all now.
My get.log file says this: Quote:
Any ideas? Thanks Last edited by therourke; 11-27-2018 at 12:32 PM. |
|
11-30-2018, 05:08 AM | #15 |
Zealot
Posts: 120
Karma: 33696
Join Date: Dec 2016
Location: Germany
Device: Kobo: Libra 2, Aura One, Glo HD, Clara 2E
|
Not working. It was only working once. Then it stopped working. I did everything according to the tutorial.
Code:
2018-11-30_11:03:42 waiting for internet connection Reading # Add your URLs to this file Comment found Reading https://www.dropbox.com/sh/2psl......tttv/AABVo6XWJ........ Getting https://www.dropbox.com/sh/2psl......tttv/AABVo6XWJ........ Getting https://www.dropbox.com/sh/2psl......tttv/AABVo6XWJ........ Reading Getting 2018-11-30_11:03:50 done |
Tags |
cloud, dropbox, nextcloud |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cloud feature Dropbox login problem | Dopedangel | Calibre Companion | 2 | 07-20-2015 11:11 PM |
Dropbox (non Nth America users) services to move to Ireland | Lynx-lynx | News | 3 | 05-20-2015 10:19 PM |
Google Cloud Storage vs. Dropbox | chilady1 | Marvin | 2 | 03-18-2014 01:00 PM |
Pocketbook & Cloud (Dropbox, owncloud) | Partycrash00 | PocketBook | 4 | 03-18-2014 12:27 PM |
Calibre Cloud Pro and Metadata.db Sync Dropbox | da_jane | Related Tools | 24 | 02-16-2014 07:19 PM |