![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() Posts: 219
Karma: 404
Join Date: Nov 2010
Device: Kindle 3G, Samsung SIII
|
![]()
It is a rather specific plugin but perhaps it will be useful for someone.
The plugin enables sending of books from Calibre using SSH (or RSH) protocol. It requires rsync or similar utility to be installed in the system. It can be used to send books from Calibre wirelessly to your ereader or another computer with SSH server running (on Kindle, this can be achieved by usbNetwork hack; most other readers run Linux too, so it should be possible to install SSH server). The plugin enables customization of the rsync (or equivalent) utility path, remote host details, formats of books to be sent + a Kindle specific option of refreshing the book list after sending. The advantage of rsync is that it only sends the differences between the Calibre book and the book existing on the remote host, so if the book already exists or if only metadata have changed, there will be (almost) no transfer. Special Notes: The implementation is simple, so it has a few shortcomings currently: Calibre cannot be used while books are being sent by SSH; the button is not integrated into the "Send to device" group; applicability on Windows is questionable and not tested under Windows at all; only one remote host at a time can be specified at the moment; only SSH login with preshared keys is currently supported. Some of the shortcomings could possibly be sorted out on request - I did not want to spend too much time implementing without knowing that somebody would actually use it. Installation Steps:
Last edited by janvanmaar; 09-15-2014 at 11:29 AM. Reason: Update to version 1.0.2 (a few small changes/fixes) |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
|
Would be possible to enable this plugin for Windows?
There are some RSYNC utilities like http://www.itefix.no/i2/node/10650 |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() Posts: 219
Karma: 404
Join Date: Nov 2010
Device: Kindle 3G, Samsung SIII
|
You can enable Windows by adding it to the supported_platforms in the plugin script. The plugin should be written in a platform independent way but it is still possible that some additional adjustments will be needed. I do not have Windows installed, so I cannot check...
EDIT: Just to make sure - you can only SSH to your Kindle 3 if you install usbNetwork hack and configure SSH with it. |
![]() |
![]() |
![]() |
#4 |
I <3 my Kindle
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 528
Karma: 51332
Join Date: Nov 2010
Location: United States
Device: Kindle 3G + WiFi
|
Good work! Suggestion:
Make it a device plugin, so that integration with other features works better. If needs be, you could cache the important files (collections.json, etc) and create placeholders for other files. Then, you could use a hybrid between the Connect To Folder and Kindle driver. |
![]() |
![]() |
![]() |
#5 |
Addict
![]() ![]() ![]() ![]() ![]() Posts: 219
Karma: 404
Join Date: Nov 2010
Device: Kindle 3G, Samsung SIII
|
Thanks for suggestion! Something like that could work and would certainly be beneficial. I have not looked into implementation details of such a solution and I don't have time to look into it now but I may return to it in the future
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
|
Would be possible to enable this plugin for Windows?
I'll probably use it... ![]() |
![]() |
![]() |
![]() |
#7 |
Addict
![]() ![]() ![]() ![]() ![]() Posts: 219
Karma: 404
Join Date: Nov 2010
Device: Kindle 3G, Samsung SIII
|
I have enabled the plugin for Windows. However, note that it is not tested under Windows at all...
|
![]() |
![]() |
![]() |
#8 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
|
Quote:
![]() I'll installed it. set the proper Ip. However still not working. An external software needed? the rsync binary? Last edited by thomass; 04-13-2011 at 06:22 AM. |
|
![]() |
![]() |
![]() |
#9 |
Addict
![]() ![]() ![]() ![]() ![]() Posts: 219
Karma: 404
Join Date: Nov 2010
Device: Kindle 3G, Samsung SIII
|
|
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Sep 2014
Device: kindle
|
I installed this on calibre 2.1.1 and restarted. There was nothing new visible in the GUI.
Then I went to Preferences->Plugins->User Interface Actions Plugin->Send by RSYNC and got the message: calibre, version 2.1.0 ERROR: Must restart: You must restart calibre before you can configure the Send by RSYNC plug-in Last edited by DonJaime; 09-09-2014 at 08:39 AM. Reason: Shorten the page |
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,125
Karma: 78857258
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
This plugin has not been updated to handle the new QT5 libraries used by calibre 2.0 and above.
|
![]() |
![]() |
![]() |
#12 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Sep 2014
Device: kindle
|
I tried changing PyQt4 to PyQt5 in line 41, and it initialised properly and let me cutomise it. But then it didn't actually work.
![]() ... Which has now happened. Thank-you. But... Last edited by DonJaime; 09-12-2014 at 03:18 AM. |
![]() |
![]() |
![]() |
#13 |
Addict
![]() ![]() ![]() ![]() ![]() Posts: 219
Karma: 404
Join Date: Nov 2010
Device: Kindle 3G, Samsung SIII
|
Hi DonJaime, I will have a look at this, perhaps at the coming weekend - I am not sure how much has changed in the meantime but I hope I will be able to fix it.
|
![]() |
![]() |
![]() |
#14 |
Addict
![]() ![]() ![]() ![]() ![]() Posts: 219
Karma: 404
Join Date: Nov 2010
Device: Kindle 3G, Samsung SIII
|
I have fixed the problem (see the 1.0.1 file). It works fine for me now.
|
![]() |
![]() |
![]() |
#15 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Sep 2014
Device: kindle
|
Trying to send by RSYNC still produced an ugly error message. Which has now been replaced by an informative message pointing out that the book concerned is not available in any of the formats defined in the plugin's preferences (thank-you).
Kindle users will probably want to remove EPUB from the format list and add AZW3. Last edited by DonJaime; 09-19-2014 at 05:12 AM. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM |
[GUI Plugin] Goodreads Sync | kiwidude | Plugins | 1781 | 02-12-2025 07:09 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |
syncing/sending news updates to device | jendrake | Calibre | 2 | 01-16-2010 03:11 PM |