08-15-2012, 12:44 PM | #16 | |
Comparer of the Ephemeris
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
|
Quote:
Instead, I'd suggest adding a paragraph to your help documentation explaining the steps. G |
|
08-15-2012, 12:46 PM | #17 |
Grand Sorcerer
Posts: 6,815
Karma: 87654321
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
|
Advert | |
|
08-15-2012, 12:53 PM | #18 |
Calibre Plugins Developer
Posts: 4,694
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@jhowell - it is technically possible to create a custom column from a plugin. I've just (as you have noticed) always chosen to leave it up to the user to do outside of the plugin. The reason being it avoids a whole bunch of complications for me as a plugin developer . For instance - what name should the custom column have, what to do if it conflicts with an existing one etc. What if the user wants a different datatype (sometimes for custom column purposes a number of options are available). Do you make the column visible so the user knows it is there - possibly upsetting them depending on its purpose. Plus sometimes the user already has an existing column they want the plugin to use - page counts being a classic example. And you have the issue of restarting calibre etc.
Plus on top of all that I just don't like "intruding" on a user's library by forcing custom columns into their library if they just downloaded a plugin to give it a quick whirl, and are then left with a mess to cleanup afterwards when they uninstall it. The plugin doesn't know when it is uninstalled so it can't do any cleanup itself. They might be confused as to what is safe to remove and what isn't if a whole bunch of plugins installed all secretly created their own columns. So it is just a choice I make as a plugin developer, it isn't because it isn't technically possible to do. I think the nicest solution would be to add a button (with any necessary options if you offer them on a dialog like column name, type etc) to allow the user to create the columns from the plugin. That way it is still optional for the user to do so, and they are visually being reminded about what is going on. However of course it is one more screen to code up etc - like I said I have never bothered and it hasn't been an issue that anyone has complained about Last edited by kiwidude; 08-15-2012 at 12:56 PM. |
08-16-2012, 06:54 AM | #19 | |
Gadget Freak
Posts: 1,169
Karma: 1043832
Join Date: Nov 2007
Location: US
Device: EE, Note 8
|
Quote:
@jhowell This is exactly what I meant. |
|
09-06-2012, 07:43 PM | #20 |
Grand Sorcerer
Posts: 6,815
Karma: 87654321
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
I have updated the plugin to version 1.1.0. The main new feature is the ability to search by author for books that are available through Overdrive, but missing from the user’s calibre library.
|
Advert | |
|
09-06-2012, 07:46 PM | #21 |
Wizard
Posts: 1,825
Karma: 4985051
Join Date: Sep 2010
Location: Maryland
Device: Kindle
|
You are a mind reader. I was thinking that would be a helpful search! Thanks!
|
09-10-2012, 06:42 PM | #22 |
Guru
Posts: 616
Karma: 1164945
Join Date: Jan 2012
Location: SF Bay Area, California, USA
Device: iPhone 7+, iPad Mini4, Kindle Voyage
|
First let me thank you for writing this plugin jhowell. I think it will be very useful.
I have run into a small poblem and don't know if it's something I'm doing wrong or an error in the plugin. I installed the plugin, added it to the menu bar and everything worked fine. I then added the plugin to the favourites menu button and that worked also, until I removed the plugin from the menu bar. I've tried restarting calibre as well as removing and replacing from the favourites menu. Nothing seems to make it work unless it's also on the menu bar, which I don't normally use. Has anyone else successfully added the plugin to just the favourites menu? |
09-10-2012, 10:28 PM | #23 | |
Grand Sorcerer
Posts: 6,815
Karma: 87654321
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
I’ll look into making this work better in a future release by generating the most important menu actions ahead of time. I need to do something like that anyway in order to allow keyboard shortcuts to be used with the plugin. But even with this change, the Favourites Menu plugin just isn’t going to show the Overdrive Link menu exactly the way clicking the original icon would. |
|
09-10-2012, 11:10 PM | #24 | |
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
|
Quote:
This isn't a problem for me because as a rule if a menu item requires you to select a book I put that menu item in the context menu. Bottom line is you helped me clean up my menu a bit since I would most likely never use the Overdrive plugin from the Favorites menu. Last edited by DoctorOhh; 09-10-2012 at 11:18 PM. |
|
09-10-2012, 11:18 PM | #25 |
Guru
Posts: 616
Karma: 1164945
Join Date: Jan 2012
Location: SF Bay Area, California, USA
Device: iPhone 7+, iPad Mini4, Kindle Voyage
|
Thanks jhowell and dwanthy for your replies. For once it isn't something I screwed up!
I'll use a menu bar for now, add it to the context menu, and remove it from the favourites menu. |
09-19-2012, 11:52 AM | #26 |
Grand Sorcerer
Posts: 6,815
Karma: 87654321
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
I have updated the Overdrive Link plugin to version 1.2.0. The main new features are support for calibre keyboard shortcuts and better compatibility with the Favourites Menu plugin.
|
09-20-2012, 11:43 AM | #27 |
Guru
Posts: 616
Karma: 1164945
Join Date: Jan 2012
Location: SF Bay Area, California, USA
Device: iPhone 7+, iPad Mini4, Kindle Voyage
|
Thanks jhowell; plugin now seems to work okay from the favourites menu without also being on the menu bar.
|
09-20-2012, 05:36 PM | #28 |
Wizard
Posts: 1,825
Karma: 4985051
Join Date: Sep 2010
Location: Maryland
Device: Kindle
|
In the first version of this plug-in a link to the Overdrive available item was added to the ID field in the book details window. This is not occurring for any more. I have not changed any settings.
|
09-20-2012, 05:53 PM | #29 | |
Grand Sorcerer
Posts: 6,815
Karma: 87654321
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
The display of the link in the book details panel is a bit of a hack and installing or changing other plugins may cause the feature to become disabled until the next restart. Try restarting calibre and see if that corrects the problem. If that doesn’t work, double check the plugin configuration and make sure that the option to disable that feature has not been checked. (It’s the last option in the left-hand column.) If neither helps then you could try running calibre in debug mode (calibre-debug -g) and see if any errors are displayed in the console window when you select a book that should contain a link in the details panel. |
|
09-20-2012, 06:38 PM | #30 |
Wizard
Posts: 1,825
Karma: 4985051
Join Date: Sep 2010
Location: Maryland
Device: Kindle
|
Huh... a Calibre restart shows the link. Did another search for a known title @ Overdrive, did the same thing (no link) but when I restarted it showed up. I can live with that, since the link is available to me later when I need it.
|
Tags |
id=model, overdrive |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] EpubMerge | JimmXinu | Plugins | 555 | 01-18-2025 07:08 PM |
[GUI Plugin] EpubSplit | JimmXinu | Plugins | 449 | 01-15-2025 09:38 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 |