10-05-2012, 04:02 PM | #1 |
Plugin Developer
Posts: 6,602
Karma: 4600391
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
[GUI Plugin] SmartEject
Have you ever added or deleted books from your calibre library, only to find that you forgot to add or delete them from your ebook device later when you connected it? Or ever just wanted a big, easy to click eject button on your toolbar?
That's what SmartEject does. When you attach your device, you can have an eject button on your 'device connected' main toolbar. When you click it, it checks for duplicate, added or deleted books on the device and offers to show them to you if there are any. Main Features of SmartEject Plugin:
Special Notes:
Languages: This plugin has (at least partial) translations for:
Installation Steps:
Version History: Spoiler:
Last edited by JimmXinu; 05-09-2022 at 07:48 PM. Reason: Changes for upcoming Qt6 Calibre |
10-07-2012, 01:42 PM | #2 |
Groupie
Posts: 164
Karma: 1030058
Join Date: Jul 2010
Location: New England
Device: PocketBook Color, Kindle, EB1150, Galaxy Tab 2 10.1, Surface Pro 2017
|
I have several different reader apps on my Android tablet, and have, at times, loaded the same book into multiple app libraries. Would this app find them within the different libraries and allow me to selectively remove them from two while leaving it in the third? That's what I'm understanding from the description, but I've been known to misunderstand things now and then! If that's what this does, I love you even more than I did when you introduced the fanfic plug-in!!!!
|
Advert | |
|
10-07-2012, 02:09 PM | #3 |
Plugin Developer
Posts: 6,602
Karma: 4600391
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
If calibre would see them as duplicates, yes.
SmartEject does three different searches:
My experience is that the dup search will find the same book in different places on my Android smart phone. I assume your Android tablet would work the same. However, you might cause yourself problems with some reader apps if you just delete the files. Aldiko comes to mind as one that manages it's own library. |
10-07-2012, 02:19 PM | #4 |
Groupie
Posts: 164
Karma: 1030058
Join Date: Jul 2010
Location: New England
Device: PocketBook Color, Kindle, EB1150, Galaxy Tab 2 10.1, Surface Pro 2017
|
Aldiko is one of my apps, but I've also got Mantano, Moon+, FBReader, CoolReader, and at least one other. Tried and liked elements of each, and use them for different purposes at different times. I've just managed to load too many dupes into them and, as you obviously know, it clogs up my SD card with extra files.
You are one serious gem, my dear!! Can't wait to try this out. Thanks for another great reading tool. |
10-28-2012, 02:46 PM | #5 |
Plugin Developer
Posts: 6,602
Karma: 4600391
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
FYI, checking Preferences > Searching > 'Limit the searched metadata' and setting the columns to search to 'title, authors, tags, series, publisher, comments, identifiers' (NOT any of my custom columns) speeds up the display searches for me a fair bit.
By rights, I wouldn't expect it to, since the searches SmartEject uses are all prefixed with a column. The call to self.gui.library_view.model().db.search_getting_id s(...) is very very fast. The call to self.gui.search.do_search() after self.gui.search.setEditText(...) is much slower. If do_search() doesn't do the same prefix optimization, that could explain the speed up. |
Advert | |
|
06-21-2013, 04:29 PM | #6 | |
Addict
Posts: 201
Karma: 1071756
Join Date: Sep 2012
Location: Nova Scotia
Device: Kobo Aura, Nexus 5x
|
Jim, how about modifying the search:
To use Quote:
Personally, I'd like to be able to tell it formats:"=epub", but formats:true should work without affecting anybody negatively. Last edited by auspex; 06-21-2013 at 04:32 PM. |
|
06-21-2013, 07:29 PM | #7 | |
Plugin Developer
Posts: 6,602
Karma: 4600391
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Try the attached version -- it allows you to configure the searches to your own taste. I expected somebody to ask for that feature months ago. UPDATE Jun 22, 2013 Remove obsolete beta versions Last edited by JimmXinu; 06-22-2013 at 01:25 PM. Reason: Remove obsolete beta versions |
|
06-21-2013, 08:14 PM | #8 | ||
Addict
Posts: 201
Karma: 1071756
Join Date: Sep 2012
Location: Nova Scotia
Device: Kobo Aura, Nexus 5x
|
Oh, now that's service above and beyond!!!!! And of course, as soon as I tried the search with my suggestion, I realized that it wasn't sufficient, as I have a number of books tagged "keep off kobo", which are explicitly not synced to my e-reader, so adding not tags:"=keep off kobo" was necessary for what I really wanted. And now it works perfectly! Thank you, very much.
I only just started using the plugin, and have only had an e-reader since September, so asking for a new feature seemed premature, but I figured asking to restrict it to "formats:true" was just a bugfix Quote:
Quote:
|
||
06-21-2013, 11:17 PM | #9 | ||
Plugin Developer
Posts: 6,602
Karma: 4600391
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Quote:
Since this seems to be working for you, I'll go ahead and publish it for everybody. |
||
10-27-2013, 06:40 AM | #10 |
Addict
Posts: 250
Karma: 20386
Join Date: Sep 2010
Location: France
Device: Bookeen Diva, Kobo Clara BW
|
Hello,
Could SmartEject be able to work with Reading List, to propose a sync if a list isn't empty? Or do you think that would be a job for Reading List? |
10-27-2013, 12:17 PM | #11 |
Plugin Developer
Posts: 6,602
Karma: 4600391
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Good idea. Attached is a new version that does that. It works for me, but please give it a try and make sure it works for you, too.
|
10-27-2013, 04:40 PM | #12 |
Addict
Posts: 250
Karma: 20386
Join Date: Sep 2010
Location: France
Device: Bookeen Diva, Kobo Clara BW
|
Seems to work for me as well. Thank you!
|
10-27-2013, 04:58 PM | #13 |
Plugin Developer
Posts: 6,602
Karma: 4600391
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Attached is a version of SmartEject with a first try at internationalization(i18) and localization(l10n) of a plugin.
I don't recommend using this version unless you're involved in the i18n/l10n effort. UPDATE - Remove obsolete beta versions Nov 2, 2013 Last edited by JimmXinu; 11-02-2013 at 05:15 PM. Reason: Remove obsolete beta versions |
10-29-2013, 02:50 AM | #14 |
US Navy, Retired
Posts: 9,878
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Thanks for an excellent plugin. I came here with a request and realized that you actually added my request back in June. I just didn't realize the plugin was customizable. Is it possible to add a right-click or other dropdown context menu to the icon with customize as an option?
Thanks again, great work. |
10-29-2013, 04:08 PM | #15 | |
Plugin Developer
Posts: 6,602
Karma: 4600391
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
I hesitate to make it a drop down button with only one option on it. OTOH, a 'Run checks, but don't really eject' feature might be nice for testing configurations. |
|
Tags |
calibre, eject |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] EpubSplit | JimmXinu | Plugins | 444 | 11-22-2024 05:08 PM |
[GUI Plugin] EpubMerge | JimmXinu | Plugins | 542 | 10-28-2024 02:40 PM |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 495 | 10-19-2024 07:06 AM |
[GUI Plugin] FanFictionDownLoader | JimmXinu | Plugins | 3985 | 05-09-2015 12:18 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |