11-06-2020, 05:10 PM | #901 |
Custom User Title
Posts: 9,331
Karma: 63265021
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Thank you!
|
12-12-2020, 05:09 PM | #902 |
Custom User Title
Posts: 9,331
Karma: 63265021
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question: I'm converting my fanfic column icon rules to a single advanced rule.
Code:
program: f = field('#fanficcat'); strcat ( contains(f, "Dragon Age: Origins", 'dragonageorigins.png', ''), contains(f, "Half-Life", 'halflife.png', ''), contains(f, "Mass Effect", 'masseffect.png', ''), contains(f, "The Elder Scrolls", 'theelderscrolls.png', ''), contains(f, "Pokémon", 'pokemon.png', ''), contains(f, "Portal", 'portal.png', ''), ) What should I do? Last edited by ownedbycats; 12-12-2020 at 05:42 PM. |
12-12-2020, 05:56 PM | #903 |
Custom User Title
Posts: 9,331
Karma: 63265021
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Adding a colon to the end of each filename (e.g. halflife.png:) worked. I'm not sure if that's the proper solution though.
|
12-12-2020, 06:30 PM | #904 | |
Grand Sorcerer
Posts: 11,948
Karma: 7225107
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
That said, checking the code I note that an empty icon file name, as in your example, isn't handled very efficiently. I will fix that. |
|
12-13-2020, 02:41 PM | #905 | |
Custom User Title
Posts: 9,331
Karma: 63265021
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
|
|
01-16-2021, 08:45 PM | #906 |
Custom User Title
Posts: 9,331
Karma: 63265021
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
For fanfiction readers who read on Kobo:
If you have FanFicFare set up with both a Fandom and Status column (or just do it manually), putting this into the Subtitle template (Customize KoboTouchExtended > Metadata, on device & advanced tab) will display the info as a subtitle on Kobo. Code:
program: if field('#yourfandomcolumn') then template('{#yourfandomcolumn} | {#yourstatuscolumn}') fi Code:
program: if field('#yourfandomcolumn') then template('{#yourfandomcolumn:sublist(0,1,\,)} | {#yourstatuscolumn}') fi Last edited by ownedbycats; 01-16-2021 at 09:03 PM. |
04-04-2021, 04:50 AM | #907 |
Custom User Title
Posts: 9,331
Karma: 63265021
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
If you have columns for them, putting this in the template tester will let you see the average number of pages per chapter.
Code:
program: chapters = $$#chaptercount; pages = $$#pagecount; if chapters>#0 then divide(pages, chapters) fi |
07-26-2021, 05:12 PM | #908 |
Guru
Posts: 759
Karma: 308700
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
Hi, someone still uses the thread settings
https://www.mobileread.com/forums/sh...&postcount=137 https://www.mobileread.com/forums/sh...&postcount=172 Rereading the previous post you will find beautiful jewels but for some reason they have stopped working. I leave you a screenshot, in case the one who made the mistake is the one between the chair and the keyboard. Thank you very much as always. |
07-26-2021, 05:20 PM | #909 | |
Grand Sorcerer
Posts: 11,948
Karma: 7225107
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Try following the instructions *exactly* from one or the other of the posts, including setting the number of arguments box to the correct value. |
|
07-27-2021, 05:24 PM | #910 | |
Guru
Posts: 759
Karma: 308700
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
Quote:
|
|
08-31-2021, 05:31 PM | #911 | |
Guru
Posts: 759
Karma: 308700
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
Quote:
It is possible that the template could recognize more than one format ? program:cmp(count(template('[[format]]'), ','), 1, 'no', in_list(template('[[format]]'), ',', 'Ogg', 'Si', 'no', ',', 'M3u', 'Si', 'no', ',', 'M4a', 'Si', 'no', ',', 'Mp3', 'Si', 'no'), 'no') Last edited by dunhill; 08-31-2021 at 06:39 PM. |
|
08-31-2021, 06:00 PM | #912 |
Wizard
Posts: 1,134
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
|
08-31-2021, 08:41 PM | #913 |
Guru
Posts: 759
Karma: 308700
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
|
10-16-2021, 04:03 PM | #914 |
Junior Member
Posts: 6
Karma: 10
Join Date: Dec 2017
Device: android tablet
|
where is this quoted from. I have been trying to use calibre for audio forever!! I finally went and tried alpa.
anyway I'm constantly lurking here to see if i can come back. Can you point me to the original post. This is probably above my tech level, but i can get by sometimes with complete concise directions. Plus this will be a clean install so i wont be so afraid of wrecking my library I do have about 10500 audiobooks. Is this doable? |
10-16-2021, 05:41 PM | #915 |
null operator (he/him)
Posts: 20,946
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
Tags |
custom column, tag, tags |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
custom column i need a little help | shinken | Calibre | 3 | 09-15-2010 03:41 AM |
Using Custom Metadata in Save Template | EJvdH | Calibre | 1 | 07-02-2010 06:06 AM |
Accessories Decalgirl Kindle 2 custom skin template | srmalloy | Amazon Kindle | 6 | 04-09-2010 09:55 PM |
Donations for Custom Recipes | ddavtian | Calibre | 5 | 01-23-2010 04:54 PM |
Help understanding custom recipes | andersent | Calibre | 0 | 12-17-2009 02:37 PM |