![]() |
#106 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,985
Karma: 27109258
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's gzip content encoding, @kiwidude you have to tell the browser to handle gzip
browser.set_handle_gzip(True) |
![]() |
![]() |
![]() |
#107 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,701
Karma: 2197768
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@Kovid - that would explain what it looks like. So why would he be getting gzip content encoding that no-one else does?
|
![]() |
![]() |
Advert | |
|
![]() |
#108 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,985
Karma: 27109258
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Dunno, he's cursed
![]() Probably, he's behind some kind of a proxy that appends accept-encoding: gzip to http requests |
![]() |
![]() |
![]() |
#109 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,701
Karma: 2197768
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Thx Kovid, cue twilight zone music...
@SoulStyle - please give the version attached to this post a whirl and see if that fixes your issues. Last edited by kiwidude; 05-26-2011 at 11:11 AM. Reason: Removed attachment as officially released |
![]() |
![]() |
![]() |
#110 |
Enthusiast
![]() Posts: 26
Karma: 22
Join Date: May 2011
Device: Kindle 3
|
Many thanks for bringing a cursed soul salvation, it works
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#111 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,701
Karma: 2197768
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.2.1 Released
Changes in this release:
Thanks to Kovid for diagnosing the problem/solution that it appears one person out there had at least ![]() |
![]() |
![]() |
![]() |
#112 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 293
Karma: 21022
Join Date: Mar 2011
Location: NL
Device: Sony PRS-650
|
It would be nice to have an in-line forum-threat link like donate to quickly go to the threat. And in that case you could probably also add a link to the author page.
I was wandering if it is possible to create a dependency check. In this case, I could write a plugin that makes use of functions by another plugin. But I have to be sure it is installed. Also, if a plugin is removed by your plugin, It should generate a warning that plugin x depends on y and is removed (or disabled) as well. |
![]() |
![]() |
![]() |
#113 | ||
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,701
Karma: 2197768
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Quote:
I've been thinking I may at some point add a right-click menu, in which case the forum link could be on that. Why would you want to direct a user to the author's page? I can't think of anything particularly useful/interesting on it. If you are going to send them a PM you can do that from the forum link page. Quote:
Obviously over time the number of user plugins is growing ![]() ![]() |
||
![]() |
![]() |
![]() |
#114 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 293
Karma: 21022
Join Date: Mar 2011
Location: NL
Device: Sony PRS-650
|
And it would be nice to have a custom-install button. While I often test plugins myself, I would really like to skip the config route and just add custom plugins with the button on my toolbar...
|
![]() |
![]() |
![]() |
#115 | |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,701
Karma: 2197768
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Quote:
![]() Besides if you are writing your own plugins that you are adding, use the command line of calibre-customize, that is certainly what a number of us plugin developers do, rolling it up in a batch script. See the development forum for a discussion on this. |
|
![]() |
![]() |
![]() |
#116 | |||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 293
Karma: 21022
Join Date: Mar 2011
Location: NL
Device: Sony PRS-650
|
Quote:
I've been thinking I may at some point add a right-click menu, in which case the forum link could be on that.[/QUOTE] Quote:
Quote:
![]() Valid remarks and in the future there should be a better way of dealing with this. I'm now thinking of creating a calibrex-library. Like Javax, a combination of often used methods / classes so it can be reused by other plugins (also causing calibre to start faster I think) |
|||
![]() |
![]() |
![]() |
#117 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 293
Karma: 21022
Join Date: Mar 2011
Location: NL
Device: Sony PRS-650
|
Quote:
Customize | Enable/Disable | Remove | Add custom | Install | version | close For my own scripts I can use the batch, but for example if you post a new modify-epub in the dev, I have to create a batch, or install it by configuration -> plugins -> add custom plugin. Running your plugin from toolbar would speed this up a lot. If this should only be shown to advanced users, you could maybe make a configuration option like the one in quality (set shown options) This would also give the option to add / remove columns from the plugin view. |
|
![]() |
![]() |
![]() |
#118 | |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,701
Karma: 2197768
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Quote:
I am a little wary of adding yet another button to the bottom of the screen as it has too many already imho. I think once I have a right-click menu, a few of those will disappear onto that. "Maybe Version History" being the most likely candidate, so the right side just becomes a more conventional "Do something" (Install) and "Close" buttons. Certainly with the possible exception of "Customize plugin" the left side buttons I think should go onto the menu too. "Remove plugin" would too rarely be used day to day. Likewise "Enable/disable plugin" doesn't apply to user interface plugins which most of these are, and the rest are metadata source plugins which are most easily/frequently turned on/off via Kovid's metadata configuration screen. I think Customize plugin is sufficiently useful to keep there (particularly if you remember to ctrl+click on the Plugin Updater toolbar icon, which takes you to the All plugins view). So then that would leave the question of where to put the "Add" button. My concern would be confusing the user by having both an "Add" and "Install" buttons on the one screen. So if I was going to support it, it would have to firstly have to be really clearly named (like "Add custom plugin..."). And probably on the right-click menu as again it would be very infrequently used. |
|
![]() |
![]() |
![]() |
#119 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 293
Karma: 21022
Join Date: Mar 2011
Location: NL
Device: Sony PRS-650
|
I understand these problems.
I see I did not mention it, but I was thinking of an option like in quality-check to give users a way to customize the plugin (show/hide option, show option on bar, in right-click, both, none) |
![]() |
![]() |
![]() |
#120 | |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,701
Karma: 2197768
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Quote:
The list of plugins that you are presented with in the view comes from reading the plugin index on the forums. So any custom plugins are never going to appear on this list. Hence while an "Add custom plugin..." function is possible, the plugin itself once installed would not appear in the list of plugins, nor would it appear the next time you come into that dialog to uninstall it etc. You already have several "other" ways of adding plugins. And as a developer by far the best is using the calibre-customize from a batch script. So I don't see this as a major limitation, it is only one click difference to do it via the Preferences->Plugins route anyways. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Generate Cover | kiwidude | Plugins | 847 | 03-11-2025 08:25 PM |
[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] Clipboard Search | kiwidude | Plugins | 29 | 04-02-2024 10:05 PM |
[GUI Plugin] Book Sync **Deprecated** | kiwidude | Plugins | 111 | 06-07-2011 07:47 PM |