![]() |
#1 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,459
Karma: 17222221
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
[GUI Plugin] Unplugged
This is a very simple plugin that allows you activate an "unplugged" mode, in which calibre will not detect any new connected devices. Devices already connected will continue to function normally.
N.B. This is a quick initial version. It seems to be working for me, but it may fail for any configuration different than mine (i.e., whenever I say "will", read "should"). Feel free to try it out. Why? You may want to plug a device into your computer and not have calibre detect and mount it. Maybe you want to run a checkdisk-like utility, or mount the device outside calibre, or the device and/or calibre is behaving strangely... You can set calibre to ignore a particular device, but that's not quick, and it requires connecting the device first, and restarting calibre, anyway. How? When you install the plugin there will be a new button that you can add to your toolbars, called "Unplugged". If the icon shows a plain USB plug, calibre will work as normal. Clicking on the button will toggle to a crossed out plug, now the "unplugged" mode is enabled (confusing enough?) this means if you plug a device, calibre will not detect it. The rest of the OS should be unaffected, of course. Click on the button again and calibre is back to normal (and will detect the device if you still have it plugged in). The status of the plugin is saved between calibre sessions. Version History: Spoiler:
Last edited by Jellby; 11-08-2015 at 04:53 AM. |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,746
Karma: 30063305
Join Date: Dec 2006
Location: Singapore
Device: Boyue
|
Nice now I can connect my phone or reader using calibrecompanion and still attach it to the pc for charging. Will try it and let you know about the results.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 199
Karma: 76476
Join Date: Feb 2012
Location: Poland
Device: none
|
Great idea! Simple, yet extremely useful. Thank you!
|
![]() |
![]() |
![]() |
#4 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 199
Karma: 76476
Join Date: Feb 2012
Location: Poland
Device: none
|
The plugin doesn't work anymore. It would be great if this could be fixed.
|
![]() |
![]() |
![]() |
#5 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,459
Karma: 17222221
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
In which way it doesn't work? It still does for me (calibre 2.62 on linux, just tested with a Kindle Fire), and I don't see anything in the relevant code that has changed recently.
Remember that the plugin is enabled (new devices are not detected) when the icon shows a crossed-out plug (forbidden sign). |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,708
Karma: 1776370
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Seems fine with Calibre 2.62 and Windows 10.
|
![]() |
![]() |
![]() |
#7 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 199
Karma: 76476
Join Date: Feb 2012
Location: Poland
Device: none
|
I enabled the plugin (so that a crossed-out plug was shown), waited for a moment and plugged the device in: it was detected by Calibre. I repeated this a couple of times, with the same result (I restarted Calibre and switched the plugin on and off).
I'm on Calibre 2.60, Win 7 Pro, the device was Kindle Paperwhite 3. I'll check it again: if it works for all of you and nothing relevant has changed, it should work for me as well ![]() |
![]() |
![]() |
![]() |
#8 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,459
Karma: 17222221
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Maybe the code path for the Paperwhite is different. Did it work for you before?
|
![]() |
![]() |
![]() |
#9 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 199
Karma: 76476
Join Date: Feb 2012
Location: Poland
Device: none
|
It did work for me before, I've had the same reader for almost a year. However, using my Kindle e-mail to send books, I hadn't plugged the device in for quite a while, until yesterday.
Today I've tried it again and this time, it seemed to work fine (my computer detected the device, and Calibre didn't, a couple of times in a row). Maybe it was just some glitch? I'll keep an eye on that. |
![]() |
![]() |
![]() |
#10 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 819
Karma: 397880
Join Date: Jun 2015
Device: kobo aura h2o, kobo forma
|
I wish this plugin could simulate ejecting / unplugging a device that is already plugged in. Or maybe just simulate replugging a device.
In other words, something has happened and the books on the device have changed since calibre synced, I'd like it to pretend the device was just plugged in and have it resync. |
![]() |
![]() |
![]() |
#11 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,459
Karma: 17222221
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I'm not sure I have the ability (or motivation) to implement that. It could be something useful in calibre itself, have you suggested it there? (I suggested the functionality of this plugin, but Kovid said he wouldn't do it because he thought it would only confuse users, but he may agree on a resync option.)
|
![]() |
![]() |
![]() |
#12 |
Connoisseur
![]() Posts: 54
Karma: 10
Join Date: Jun 2018
Device: Galaxy Note
|
Question on how to install. How do i install this plugin? (the included text file is blank, downloaded it a few times with no luck). My underlying issue is that calibre takes forever to index my device, so it's kind of useless for me to have it see my device, with it trying to run the job in the background it's unusable. (I'll just have to manually transfer my files)
Appreciate any help you can lend, Tom |
![]() |
![]() |
![]() |
#13 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 23,339
Karma: 104708851
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
#14 |
Connoisseur
![]() Posts: 54
Karma: 10
Join Date: Jun 2018
Device: Galaxy Note
|
Understood, thanks. That's what i've done. Tried a few times, but it didn't take. Calibre has a bit of an issue with controlling devices, but manually moving files is not a big deal.
Thanks again for your time, Tom |
![]() |
![]() |
![]() |
#15 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
The included text file is blank because it is supposed to be blank. But, that suggests you are unpacking the zip file. Don't. You install the plugin through the Plugin page of the preferences. Either use the "Get new plugins" button to open a dialog with a list of available plugins and find it, or use the "Load plugin from file" button to find and install the plugin zip file from your local disc. |
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] FanFicFare | JimmXinu | Plugins | 7983 | 01-26-2023 02:00 PM |
[GUI Plugin] EpubSplit | JimmXinu | Plugins | 383 | 11-27-2022 12:17 AM |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 492 | 10-25-2022 09:13 AM |
[GUI Plugin] Wordpress | frescogamba | Plugins | 11 | 04-06-2015 10:09 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |