Register Guidelines E-Books Today's Posts Search

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

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 08-07-2014, 10:07 PM   #3211
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: 7,034
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Tanjamuse View Post
I've made a cover for the stories which are both Buffy & Angel i Category/Fandom. How do I input that info in my personal.ini? I've tried the following:

Code:
${category} => Angel + Buffy:? [tT]he Vampire Slayer => AngelBuffyCover
But it doesn't seem to work.
That pattern literally matches: "Angel<one or more spaces> Buffy..."

You'll have read a bit about regular expressions and experiment and see what works. I'd start with something like:
Code:
${category} => (Angel.*Buffy:? [tT]he Vampire Slayer)|(Buffy:? [tT]he Vampire Slayer).*Angel) => AngelBuffyCover
This pattern should match: "Angel<anything>Buffy... or Buffy...<anything>Angel"
JimmXinu is offline  
Old 08-08-2014, 03:25 AM   #3212
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
No matter what I do, it doesn't seem to work. Unfortunately I don't understand the code language all that well, mostly not at all.

It's stories like this one I would like a Crossover cover on, but it only shows the cover for Angel.

http://archiveofourown.org/works/2100228
Tanjamuse is offline  
Advert
Old 08-08-2014, 08:51 PM   #3213
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: 7,034
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Tanjamuse View Post
No matter what I do, it doesn't seem to work. Unfortunately I don't understand the code language all that well, mostly not at all.
...
http://archiveofourown.org/works/2100228
This works for me.

Code:
[archiveofourown.org]
keep_in_order_category:true

generate_cover_settings:
 ${category} => Angel.*Buffy.*=> CoverName
 ${category} => Buffy.*Angel.*=> CoverName
JimmXinu is offline  
Old 08-09-2014, 05:09 AM   #3214
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
I still get the Angel Cover instead of the combi-cover. I have one cover for the stories that are only Angel, one for the stories that are only Buffy, but I would also like a cover for the stories that are marked with both Buffy & Angel i category/Fandom.

Quote:
${category} => Angel => AngelCover
${category} => Angel.*Buffy.*=> AngelBuffyCover
${category} => Buffy.*Angel.*=> AngelBuffyCover
${category} => Buffy:? [tT]he Vampire Slayer => BuffyCover
But everytime I add a story which should have the combi-cover it adds the Angel cover instead.
Tanjamuse is offline  
Old 08-09-2014, 09:24 AM   #3215
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: 7,034
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Tanjamuse View Post
But everytime I add a story which should have the combi-cover it adds the Angel cover instead.
That's because they are processed in order. So of course just 'Angel' will match first because it is first.
JimmXinu is offline  
Advert
Old 08-09-2014, 09:45 AM   #3216
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
Thank you SO Much ... I had done them in alphabetical order and didn't think to test it in another order. You made my day. Thanks for all your help (yet again).

Have a great weekend.
Tanjamuse is offline  
Old 08-10-2014, 02:07 AM   #3217
Depletion
Pelican
Depletion began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Sep 2013
Location: Southeast US
Device: Nexus 7 2013
Quote:
Originally Posted by JimmXinu View Post
Glad you like it.



I suspect that you have calibre covers, but not covers inside the actual ebook files. You can tell by viewing the book in calibre and noting if you see the cover or not. You can update or insert the calibre covers into existing books by using the Polish Book feature 'update the cover inside book files'.

FFDL has several options for covers. As you've seen, it can use covers from the site the story came from. There's also a personal.ini config parameter to set default cover images:


Does that help?
Sorry for the late reply.
You were correct, I was editing the metadata in calibre but it wasn't adding to the file itself.

And now it's perfect, that was exactly what I was looking for, your personal.ini config parameters. I do also like the Polish Book action, but the cover's aspect ratio isn't being maintained so some of these covers look pretty bad.

Okay, so I went through my Preferences -> Output Options and checked "Preserve cover aspect ratio". I swear I had it on already but evidently not. I had it set to preserve the cover aspect ratio in Convert -> Output only, not in Preferences. Whoops. (Interesting side note, the aspect ratio does stay the same but now the cover is in the center of the page instead of at the top of the page. Neat.)

Anyway, I left my mistakes and fixes in this post just on the small chance my mistakes can help a lurker out of a similar goof.

Thanks for all your help Jimm, it is appreciated.
Depletion is offline  
Old 08-10-2014, 06:30 PM   #3218
CWatkinsNash
IOC Chief Archivist
CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.
 
CWatkinsNash's Avatar
 
Posts: 3,950
Karma: 53868218
Join Date: Dec 2010
Location: Fruitland Park, FL, USA
Device: Meebook M7, Paperwhite 2021, Fire HD 8+, Fire HD 10+, Lenovo Tab P12
Wait. So Literotica's been included since last December? Wow. I really to check changelogs more often. So I'm a little late, but still...

CWatkinsNash is offline  
Old 08-11-2014, 12:38 PM   #3219
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
Does this work for you?

Quote:
${category} => Angel.*Buffy.*Harry Potter.*=> AngelHPBuffyCover
with this story: http://archiveofourown.org/works/1926969
Tanjamuse is offline  
Old 08-11-2014, 12:51 PM   #3220
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: 7,034
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Tanjamuse View Post
Does this work for you?



with this story: http://archiveofourown.org/works/1926969
If keep_in_order_category:false (or at least not true), yes it does.

If keep_in_order_category:true, then no it doesn't, because the order is different.
JimmXinu is offline  
Old 08-11-2014, 12:53 PM   #3221
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
Where do I add the "If keep_in_order_category:false" ?
Tanjamuse is offline  
Old 08-11-2014, 01:07 PM   #3222
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: 7,034
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Tanjamuse View Post
Where do I add the "If keep_in_order_category:false" ?
Go back and look at the posts around #3205
JimmXinu is offline  
Old 08-11-2014, 02:54 PM   #3223
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
Oh, sorry I forgot it was the same thing.

Do I need two or more of every cover-option if I have the "If keep_in_order_category:false" ? Or is one enough?
Tanjamuse is offline  
Old 08-11-2014, 03:33 PM   #3224
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: 7,034
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Tanjamuse View Post
Do I need two or more of every cover-option if I have the "If keep_in_order_category:false" ? Or is one enough?
If category is ordered, then it's always going to be in the same order for the same entries.
JimmXinu is offline  
Old 08-11-2014, 03:35 PM   #3225
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
Do I need both

Quote:
${category} => Angel.*Buffy.*=> AngelBuffyCover
${category} => Buffy.*Angel.*=> AngelBuffyCover
If I have "If keep_in_order_category:false". I'm sorry I don't understand.

Last edited by Tanjamuse; 08-12-2014 at 12:24 PM.
Tanjamuse is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Count Pages kiwidude Plugins 1849 08-30-2025 01:22 PM
[GUI Plugin] Resize Cover kiwidude Plugins 100 07-10-2025 08:50 AM
[GUI Plugin] Find Duplicates kiwidude Plugins 1124 04-18-2025 09:19 AM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 11:29 PM.


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