Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 12-12-2010, 06:08 AM   #1
janvanmaar
Addict
janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.
 
Posts: 215
Karma: 404
Join Date: Nov 2010
Device: Kindle 3G, Samsung SIII
Post [GUI Plugin] Sending (syncing) by SSH/RSH

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:
  • First follow the general instructions from kiwidude mentioned here: download the zip file, install the plugin, add the 'Send by RSYNC' button by customizing the toolbar.
  • Finally, customize the plugin in Preferences->Plugins->User Interface Actions Plugin->Send by RSYNC. A Calibre restart seems to be necessary for any Calibre plugin customization to take effect.
Attached Files
File Type: zip send_by_rsync_plugin.zip (1.9 KB, 28099 views)

Last edited by janvanmaar; 04-12-2011 at 02:50 PM. Reason: Enabling windows
janvanmaar is offline   Reply With Quote
Old 03-02-2011, 07:37 AM   #2
hanes69
Junior Member
hanes69 began at the beginning.
 
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
hanes69 is offline   Reply With Quote
Old 03-06-2011, 05:02 AM   #3
janvanmaar
Addict
janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.
 
Posts: 215
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.
janvanmaar is offline   Reply With Quote
Old 03-09-2011, 12:17 AM   #4
kranu
I <3 my Kindle
kranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensions
 
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.
kranu is offline   Reply With Quote
Old 03-09-2011, 09:27 AM   #5
janvanmaar
Addict
janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.
 
Posts: 215
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
janvanmaar is offline   Reply With Quote
Old 04-11-2011, 04:23 PM   #6
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,635
Karma: 1915537
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...
thomass is offline   Reply With Quote
Old 04-12-2011, 02:46 PM   #7
janvanmaar
Addict
janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.
 
Posts: 215
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...
janvanmaar is offline   Reply With Quote
Old 04-13-2011, 05:02 AM   #8
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,635
Karma: 1915537
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
Quote:
Originally Posted by janvanmaar View Post
I have enabled the plugin for Windows. However, note that it is not tested under Windows at all...
thanks
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.
thomass is offline   Reply With Quote
Old 04-13-2011, 08:26 AM   #9
janvanmaar
Addict
janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.
 
Posts: 215
Karma: 404
Join Date: Nov 2010
Device: Kindle 3G, Samsung SIII
Quote:
Originally Posted by thomass View Post
An external software needed? the rsync binary?
Linux and Mac come with rsync preinstalled but you'd need an external command line utility for Windows. You can try whether the utility mentioned hanes69 works but it may be a long shot.
janvanmaar is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Goodreads Sync kiwidude Plugins 651 Today 06:16 PM
[GUI Plugin] Open With kiwidude Plugins 223 07-09-2014 02:42 AM
[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


All times are GMT -4. The time now is 09:06 PM.


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