Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 02:50 PM   #1
dunhill
Wizard
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 1,045
Karma: 1084520
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
[GUI Plugin] calibre Auto-Updater

calibre Auto-Updater is a GUI plugin designed to streamline the update process of calibre directly from the interface. Instead of manually checking the website or opening a separate terminal, this plugin automates the download and launch of the official installer across different operating systems.

Main Features
One-Click Update: Triggers the official update process.

Safety First: Automatically closes calibre before updating to prevent database corruption or file-locking issues.

Multi-platform Support: Intelligent behavior for Linux, Windows, and macOS.

I18n Ready: Prepared for translations (currently English base).

Important: Compatibility & Behavior
This plugin is designed exclusively for standard binary/fixed installations.

Critical Notes:
Linux Users: Upon confirmation, calibre will close immediately and your default terminal will open to run the official script. Asking for your root password. This is required to overwrite system files while they are not in use.

Windows Users: The plugin downloads the official .msi installer to your Desktop and launches it.

Flatpak, AppImage & Portable Versions: These formats are not supported for automatic updates. If you use these, the plugin will notify you that a manual update is required.

How it works on each System
Linux (Standard/Official Install)
A confirmation dialog appears with a compatibility warning.
Upon acceptance, calibre closes and your default terminal opens.
The official calibre installer script is executed via wget.
You will be prompted for your sudo password in the terminal.
Once finished, press Enter to close the terminal.

Windows (Fixed Installation)
The plugin downloads the official 64-bit .msi installer directly to your Desktop.
calibre closes and the .msi installer is launched automatically.
The user follows the standard Windows installation wizard.

MacOS
The official .dmg file is downloaded to a temporary folder.
calibre closes and the disk image is mounted automatically using the open command.
Drag calibre to your Applications folder as usual.

Installation
Download the attached calibre_autoupdater.zip file.
In calibre: Preferences -> Plugins -> Load plugin from file.
Restart calibre. You will see a new "Update calibre" icon in your main toolbar.

Version: 1.0.0
Minimum Version: 8.0.0
Attached Thumbnails
Click image for larger version

Name:	c2.png
Views:	18
Size:	7.3 KB
ID:	221672   Click image for larger version

Name:	1.png
Views:	16
Size:	31.8 KB
ID:	221677  
Attached Files
File Type: zip calibre_update_v1.0.9.zip (12.3 KB, 9 views)

Last edited by dunhill; Yesterday at 04:39 PM.
dunhill is offline   Reply With Quote
Old Yesterday, 02:51 PM   #2
dunhill
Wizard
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 1,045
Karma: 1084520
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Reserved
dunhill is offline   Reply With Quote
Old Yesterday, 02:57 PM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,343
Karma: 151278869
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Can you make it show that what's new that you can get from the official website?
JSWolf is offline   Reply With Quote
Old Yesterday, 04:09 PM   #4
dunhill
Wizard
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 1,045
Karma: 1084520
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by JSWolf View Post
Can you make it show that what's new that you can get from the official website?
"I understand! However, the philosophy of this plugin is to keep it as lightweight and 'one-click' as possible. Fetching and formatting the 'What's New' data from the website adds a layer of complexity that goes beyond the current scope. I'll consider adding a direct link to the official changelog in the confirmation dialog for the next version."
dunhill is offline   Reply With Quote
Old Yesterday, 04:33 PM   #5
dunhill
Wizard
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 1,045
Karma: 1084520
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by JSWolf View Post
Can you make it show that what's new that you can get from the official website?
Does that sound good to you, JSWolf?
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	24
Size:	31.8 KB
ID:	221675  
dunhill is offline   Reply With Quote
Old Yesterday, 04:51 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,343
Karma: 151278869
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Can you make it so we get to see what's new without having to go to the website?
JSWolf is offline   Reply With Quote
Old Yesterday, 06:45 PM   #7
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,246
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Tested on Linux Mint 22.3 - Cinnamon--works.

bernie
Quote:
Originally Posted by dunhill View Post
"I understand! However, the philosophy of this plugin is to keep it as lightweight and 'one-click' as possible. Fetching and formatting the 'What's New' data from the website adds a layer of complexity that goes beyond the current scope. I'll consider adding a direct link to the official changelog in the confirmation dialog for the next version."
gbm is offline   Reply With Quote
Old Yesterday, 06:59 PM   #8
dunhill
Wizard
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 1,045
Karma: 1084520
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by JSWolf View Post
Can you make it so we get to see what's new without having to go to the website?
Thank you for the suggestion! I understand how convenient it would be to see the changelog directly in the plugin.
However, implementing a built-in 'What's New' viewer brings two significant challenges:
Stability: It would require 'web scraping' the official site. If the website layout changes even slightly, the plugin would break, requiring constant maintenance for a secondary feature.
Localization: calibre's changelog is only published in English. To show it to all users, I would need to integrate a third-party translation engine, which adds a lot of complexity and potential privacy/connectivity issues to what is meant to be a lightweight 'action' tool.
To keep the plugin fast, stable, and simple, I've included a direct link to the official 'What's New' page in the confirmation dialog. Most modern browsers will offer to translate that page automatically into your preferred language with one click.
I hope you understand the choice to keep the plugin focused on its main task: updating calibre reliably!
Furthermore, I believe it's important to respect the official website's traffic. By visiting the 'What's New' page directly, users stay connected with the official project, supporting the author's site statistics and visibility.

Last edited by dunhill; Yesterday at 07:05 PM.
dunhill is offline   Reply With Quote
Old Yesterday, 07:02 PM   #9
dunhill
Wizard
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 1,045
Karma: 1084520
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by gbm View Post
Tested on Linux Mint 22.3 - Cinnamon--works.

bernie
GBM, thanks for your feedback. I'm hoping for comments from people who use both Windows and macOS in case any settings need fine-tuning. Enjoy!
dunhill is offline   Reply With Quote
Old Yesterday, 08:20 PM   #10
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,472
Karma: 31000706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@dunhill - FTR: no need to screen scrape, it's in Changelog.txt at github.

That said, if someone can't be bothered to look at the What's new in their browser (and use its translate feature) they're are unlikely to read its content no matter how its presented.

BR
BetterRed is online now   Reply With Quote
Old Yesterday, 10:47 PM   #11
dunhill
Wizard
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 1,045
Karma: 1084520
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by BetterRed View Post
@dunhill - FTR: no need to screen scrape, it's in Changelog.txt at github.

That said, if someone can't be bothered to look at the What's new in their browser (and use its translate feature) they're are unlikely to read its content no matter how its presented.

BR
Thanks for the tip about the GitHub Changelog.txt, BR! That's definitely a cleaner source for data.

However, I agree with your second point: if someone isn't willing to click a link to stay informed, they probably won't read the content regardless of the format. For now, I'll stick with the link to the official site to keep the plugin's 'action-oriented' philosophy and support the official project's visibility.

Cheers!
dunhill is offline   Reply With Quote
Old Today, 12:30 AM   #12
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,472
Karma: 31000706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by dunhill View Post
Thanks for the tip about the GitHub Changelog.txt, BR! That's definitely a cleaner source for data.

However, I agree with your second point: if someone isn't willing to click a link to stay informed, they probably won't read the content regardless of the format. For now, I'll stick with the link to the official site to keep the plugin's 'action-oriented' philosophy and support the official project's visibility.

Cheers!
I don't understand the problem Linux users have with calibre installs. As well as installing calibre on two Windows boxes and a couple of portables I also install it an out of date Arch box. All from the Windows computer I am using right now — takes all of 4-6 minutes.

Ditto Sigil… installed 2.75 on the Arch system early this morning… it's being used as we speak. Its about the same distance from me as it is from the Starlink satellites it uses :lol:

BR
BetterRed is online now   Reply With Quote
Old Today, 04:37 AM   #13
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,343
Karma: 151278869
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by dunhill View Post
Thank you for the suggestion! I understand how convenient it would be to see the changelog directly in the plugin.
However, implementing a built-in 'What's New' viewer brings two significant challenges:
Stability: It would require 'web scraping' the official site. If the website layout changes even slightly, the plugin would break, requiring constant maintenance for a secondary feature.
Localization: calibre's changelog is only published in English. To show it to all users, I would need to integrate a third-party translation engine, which adds a lot of complexity and potential privacy/connectivity issues to what is meant to be a lightweight 'action' tool.
To keep the plugin fast, stable, and simple, I've included a direct link to the official 'What's New' page in the confirmation dialog. Most modern browsers will offer to translate that page automatically into your preferred language with one click.
I hope you understand the choice to keep the plugin focused on its main task: updating calibre reliably!
Furthermore, I believe it's important to respect the official website's traffic. By visiting the 'What's New' page directly, users stay connected with the official project, supporting the author's site statistics and visibility.
You have to scrape the website anyway tp get the files to download. If the website changes, then the plug-in needs to be updated. No different. As for traffic, that too is no different. Before I download the a new version of calibre, I do look at what's new. So that would be no more traffic to the site then it is now. I would think most people would look at what's new. As for What's New only in English, that's not a problem. Firefox and Chrome both have built-in translation.

Downloading a new version of calibre without seeing what's new means we won't be seeing what's been fixed and what's been added. That tells us what's changed. There is no way I would go an update calibre without reading what's new unless it was a .1 fix. How many others would update without reading what's new? Also, if you send us to the website to read what's new, we may was will just download calibre while we are there and then what use is the plug-in?

Last edited by JSWolf; Today at 04:43 AM.
JSWolf is offline   Reply With Quote
Old Today, 06:19 AM   #14
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,185
Karma: 211504714
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I think everyone has been very patient about explaining why the "what's new" idea for this plugin is not in the cards at this time. This plugin won't be for everyone. Very few plugins are. This one might not be for you.
DiapDealer is offline   Reply With Quote
Old Today, 06:40 AM   #15
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,343
Karma: 151278869
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DiapDealer View Post
I think everyone has been very patient about explaining why the "what's new" idea for this plugin is not in the cards at this time. This plugin won't be for everyone. Very few plugins are. This one might not be for you.
IMHO, without what's new, it won't be for most people.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Auto Datestamp and View eater Plugins 3 04-08-2020 06:08 PM
Calibre needs an Auto-Updater smartguy Calibre 30 01-23-2020 02:24 PM
Problem with my ScrambleEbook plugin and the Plugin Updater tool jackie_w Development 14 01-19-2017 10:49 PM
Solution: Calibre AutoUpdater [Auto-Updater] megamaniac Calibre 6 08-02-2013 09:47 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 07:05 PM.


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