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 01-28-2021, 03:16 PM   #526
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: 21,741
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Moderator Notice

@asdf asdf asdf - This is reminder to read the Guidelines

In particular the paragraph about image sizes in Guideline #9 - Avatars, Images and Signatures .

BR
BetterRed is offline   Reply With Quote
Old 01-28-2021, 07:27 PM   #527
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
I misunderstood you when you complained about words being capitalized, I thought all letters are capitalized, not just the first letter.

You are right, adding new books does turn on the titlecase. This is the default behavior coded by kiwidude, most probably done to suit his own needs. It would be easy to change, but I don't want to alter behavior he has set himself, especially that it has been working this way for years with no one complaining.

One option, would be to tie the titlecase to the tidy option. Problem with this is that it would only work for the csv tab, other tabs will not follow the same behaviour.
capink is offline   Reply With Quote
Old 01-28-2021, 10:15 PM   #528
asdf asdf asdf
Member Retired
asdf asdf asdf began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2021
Device: none
Okay...
asdf asdf asdf is offline   Reply With Quote
Old 01-29-2021, 09:16 AM   #529
asdf asdf asdf
Member Retired
asdf asdf asdf began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2021
Device: none
Here is a bug fix for the forced "Title Case" capitalization in case you don't live in a country where everything needs to be titlecased the American way:

Open the zip folder "IMPORT LIST.ZIP" of the addon in

"C:\Users\YOURUSERNAME\AppData\Roaming\calibre\plu gins"

Inside, open the file "page_resolve.py" and change line 599 to

book['!calibre_title'] = book['title']

Don't change the indentation! Just remove the "titlecase" part!


----


For the admins: This user account can now be deactivated and the registered email deleted. I thought this completely unexpected and unwanted FeAtUrE was a bug.
asdf asdf asdf is offline   Reply With Quote
Old 02-03-2021, 03:14 AM   #530
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,998
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
It's not a large issue, but is there anything that can be done about the appearance of dark mode? The contrast is so poor here I have difficulty reading it without magnifier.
Attached Thumbnails
Click image for larger version

Name:	2021-02-03 04_12_09-Import Book List.png
Views:	552
Size:	22.7 KB
ID:	185190  
ownedbycats is online now   Reply With Quote
Old 02-03-2021, 03:21 AM   #531
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
I have no idea how to deal with colors to make them suitable for dark mode. Maybe someone else can help with that.
capink is offline   Reply With Quote
Old 02-03-2021, 03:29 AM   #532
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,998
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
There's some stuff here: https://www.mobileread.com/forums/sh...=325387&page=3

Quote:
Originally Posted by kovidgoyal View Post
In a plugin if you want to check if dark mode is currently active, you use

QApplication.instance().is_dark_theme
ownedbycats is online now   Reply With Quote
Old 02-03-2021, 03:32 AM   #533
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,998
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I'm not sure how applicable this is to everything else, but JimmXinu modified FFF several months ago to make the syntax highlighting more readable:
https://github.com/JimmXinu/FanFicFa...highlighter.py

This looks to be the relevant part

Code:
        try:
            if QApplication.instance().is_dark_theme:
                colors = {
                    'knownentries':Qt.green,
                    'errors':Qt.red,
                    'allkeywords':Qt.magenta,
                    'knownkeywords':QColor(Qt.blue).lighter(150),
                    'knownsections':Qt.darkCyan,
                    'teststories':Qt.cyan,
                    'storyUrls':Qt.magenta,
                    'comments':Qt.yellow
                    }
        except Exception as e:
            logger.error("Failed to set dark theme highlight colors: %s"%e)
ownedbycats is online now   Reply With Quote
Old 02-04-2021, 03:06 AM   #534
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Before trying to look at how to handle colors in dark mode, I decided to run calibre in dark to see the problem myself, it seems to be fine with my calibre install. (screenshot attached)

Can anyone else running on Windows confirm having the same problems as @ownedbycats
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	523
Size:	62.3 KB
ID:	185214  
capink is offline   Reply With Quote
Old 02-04-2021, 11:53 AM   #535
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quick drive by: If you implement such a check, be aware that earlier versions of Calibre don't have that. See: https://github.com/JimmXinu/FanFicFa...lighter.py#L45
JimmXinu is online now   Reply With Quote
Old 02-04-2021, 09:46 PM   #536
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Thanks for the hint. I am not sure I am going ahead with this. I cannot replicate @ownedbycats problems. Also, changing color palette works for the whole application, but when I try to restrict it to the plugin wizard, nothing happens.
capink is offline   Reply With Quote
Old 02-25-2021, 12:19 PM   #537
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Predefined: where

I have been having issues where the wrong series name is getting set on the Left side (and it caries over to the right)
Fantastic Fiction is my fav site

Is there a place I can clear/refresh these. Uninstall and reinstall does not change the results
theducks is offline   Reply With Quote
Old 02-26-2021, 01:11 AM   #538
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by theducks View Post
I have been having issues where the wrong series name is getting set on the Left side (and it caries over to the right)
Fantastic Fiction is my fav site

Is there a place I can clear/refresh these. Uninstall and reinstall does not change the results
The predefined sites are hardcoded in the plugin. If there are changes, the plugin needs to be updated. But, you can edit them and save them in the user settings. And post the changes to be updated.
davidfor is offline   Reply With Quote
Old 02-26-2021, 10:34 AM   #539
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by davidfor View Post
The predefined sites are hardcoded in the plugin. If there are changes, the plugin needs to be updated. But, you can edit them and save them in the user settings. And post the changes to be updated.
Thanks for the reply
I will have to look again... Harder .

Actually, this method might need to be changed to a separate config as there is an Edit button and if the user makes a custom change/add, wouldn't it get lost on a PI update?
I'm still a little confused on what I had done before :
The stock PI is not returning any series. (or Author)

This (attachment ) is my clumsy fix. PLEASE CHECK
Attached Thumbnails
Click image for larger version

Name:	ImportFF2021.PNG
Views:	528
Size:	31.5 KB
ID:	185638  
theducks is offline   Reply With Quote
Old 02-26-2021, 10:48 AM   #540
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by theducks View Post
wouldn't it get lost on a PI update?
No it would not. When you reach the third page of the wizard make sure to save the settings (as shown in attached screen). After that you can load the setting from the "User settings" tab in the first page of the wizard. The settings will not be lost even when the plugin is updated.

Quote:
Originally Posted by theducks View Post
This (attachment ) is my clumsy fix. PLEASE CHECK
Seems to be working. Can add this to the plugin.
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	521
Size:	75.1 KB
ID:	185639  
capink is offline   Reply With Quote
Reply

Tags
column types


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Reading List kiwidude Plugins 1425 07-24-2025 05:48 PM
[GUI Plugin] Manage Sony x50 Reader Book List kpw Plugins 170 10-02-2014 08:23 PM
Import List plugin idea thread kiwidude Development 45 08-13-2012 06:05 AM
[GUI Plugin] WebOS Kindle-Import CranstD Plugins 0 01-24-2012 03:36 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 04:08 PM.


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