Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 10-25-2018, 04:08 PM   #31
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: 20,590
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Tanjamuse View Post
I'm going with the LibraOffice solution.

I've also considered creating a db-file like sqlite but I don't know how to

<snip>
The DB Browser utility can import a csv into a sqlite database table, here's a 2 min video:



I'm not sure what you're doing with the CSV, but if you are examining it whilst looking at another library in the regular calibre GUI then maybe you could use CalibreSpy.

BR
BetterRed is online now   Reply With Quote
Old 10-26-2018, 01:44 AM   #32
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'll take a look at that later. Any chance of you knowing how to add the second custom column in the icon rule?
Tanjamuse is offline   Reply With Quote
Advert
Old 10-26-2018, 04:46 AM   #33
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: 20,590
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Tanjamuse View Post
Any chance of you knowing how to add the second custom column in the icon rule?
Not off the top of my head. I'm not entirely sure I understand what you want.

How about defining a 'dummy' column (integer) shown with no text, with two rules that show the same icon - 'uninteresting.png'. The first would interrogate 'Cloud' custom column, and the second the 'Lists' User Category.

BR
BetterRed is online now   Reply With Quote
Old 10-26-2018, 05:09 AM   #34
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 have an user category called Uninteresting in that category are different kind of tags, relationships, and sometimes authors which aren't interesting.

The icon rule is set up to be anything that has information in the Cloud column shouldn't get the icon for Uninteresting.

I would like to add another column to that, one called Lists. So when I've added something to one of 2 different lists it wouldn't show the icon for uninteresting even if it has a tag of some kind already in the Uninteresting.

As I've asked in the thread for User Category, I would love to be able to add rules in the User Category but that's not possible I guess.
Tanjamuse is offline   Reply With Quote
Old 10-26-2018, 05:51 AM   #35
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: 20,590
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Sorry I have no idea, maybe chaley will drop in, he can probably give you a solution.

BR
BetterRed is online now   Reply With Quote
Advert
Old 10-26-2018, 09:05 AM   #36
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by Tanjamuse View Post
The icon rule is set up to be anything that has information in the Cloud column shouldn't get the icon for Uninteresting.

I would like to add another column to that, one called Lists. So when I've added something to one of 2 different lists it wouldn't show the icon for uninteresting even if it has a tag of some kind already in the Uninteresting.
Should be this right?
Code:
icon = test (or(field ('#cloud'),field ('#lists')), '', 'list_uninteresting.png');

Last edited by ilovejedd; 10-26-2018 at 09:15 AM.
ilovejedd is offline   Reply With Quote
Old 10-27-2018, 03:29 AM   #37
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
Yeah, thanks that did the trick
Tanjamuse is offline   Reply With Quote
Old 10-27-2018, 02:32 PM   #38
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Posting the PM here since you're likely to get more input and it might help others, too.

Quote:
Originally Posted by Tanjamuse
I have the following category, which you gave me part of:

Code:
program:
    uc = user_categories();
    icon = test (or(field ('#cloud'),field ('#lists')), '', 'list_uninteresting.png');
    str_in_list(uc,',','Uninteresting',icon,'')
I have added sub categories to the Uninteresting category but would like to have this rule apply to all sub categories, do I have to add them all (and how do I formulate that) or can there be a rule for just the top one (Uninteresting) and then the rest of them will also use that?
I'm actually not sure. To be honest, I don't use icon rules and have only recently started dipping my toes into User Categories.

Looking at the Calibre function reference for str_in_list, it seems like it should only apply to the top Uninteresting category.

Perhaps you could use (contains) instead?

Code:
contains(uc,'Uninteresting',icon,'')
ilovejedd is offline   Reply With Quote
Old 10-27-2018, 03:20 PM   #39
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
The "contains" solution looks to be working, I'll do some more tests and see if it holds up.

Thanks a bunch for solving it for me.
Tanjamuse is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibredb Catalog "cannot generate catalog in EPUB format rracoon01 Library Management 5 07-13-2018 08:19 PM
mobi catalog = periodical, ePub catalog = book trekchick Library Management 7 03-12-2011 01:11 PM
Confusion Epuppy Sony Reader 9 10-19-2010 05:57 AM


All times are GMT -4. The time now is 12:21 AM.


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