Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-16-2014, 08:52 PM   #1
niagara94
Enthusiast
niagara94 began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Feb 2013
Device: Samsung Galaxy Note Pro
Question Custom Columns Not Working As Expected

Hi - I'm using Calibre Companion and have created 2 custom columns in Calibre and am trying to get them to show properly in Calibre Companion. I have hovered over the columns in Calibre to see how to properly list them yet they aren't showing as I expect them to in Calibre Companion. One column I added is "Series Or Not" and in Calibre Companion I added it as "#series_or_not" (minus quotes) yet in the list of groups it shows up exactly the way I typed it above instead of showing up without the #, the underscore, and there are no capitals. Also I created a "Read" column and it also shows the # sign. I also noticed there is already a Read group so is it redundant to list my custom "Read" column? I don't know how the that is already there "works". Thanks for any help!
niagara94 is offline   Reply With Quote
Old 04-16-2014, 09:04 PM   #2
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,003
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 niagara94 View Post
Hi - I'm using Calibre Companion and have created 2 custom columns in Calibre and am trying to get them to show properly in Calibre Companion. I have hovered over the columns in Calibre to see how to properly list them yet they aren't showing as I expect them to in Calibre Companion. One column I added is "Series Or Not" and in Calibre Companion I added it as "#series_or_not" (minus quotes) yet in the list of groups it shows up exactly the way I typed it above instead of showing up without the #, the underscore, and there are no capitals. Also I created a "Read" column and it also shows the # sign. I also noticed there is already a Read group so is it redundant to list my custom "Read" column? I don't know how the that is already there "works". Thanks for any help!
Custom columns use the lookup name

Lookup names are always lowercase preceded by a # (hover over the column header in Calibre to see the name to use
theducks is offline   Reply With Quote
Advert
Old 04-16-2014, 09:39 PM   #3
niagara94
Enthusiast
niagara94 began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Feb 2013
Device: Samsung Galaxy Note Pro
Thank you for your reply. I know that the lookup names are lowercase and that is how I typed it when I put it in in Calibre Companion settings. What I am wondering about is why, when it shows up in the groups in Companion, it doesn't drop the # sign or replace the underscores with spaces or capatilize them like I did when I created the columns. It used to do those things when I was using it on another tablet (the groups just showed up as I created them in the custom columns). Any other ideas? Thanks.
niagara94 is offline   Reply With Quote
Old 04-16-2014, 11:16 PM   #4
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,003
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 niagara94 View Post
Thank you for your reply. I know that the lookup names are lowercase and that is how I typed it when I put it in in Calibre Companion settings. What I am wondering about is why, when it shows up in the groups in Companion, it doesn't drop the # sign or replace the underscores with spaces or capatilize them like I did when I created the columns. It used to do those things when I was using it on another tablet (the groups just showed up as I created them in the custom columns). Any other ideas? Thanks.
(this is a developer needed question )
Which mode are you connecting by?
theducks is offline   Reply With Quote
Old 04-16-2014, 11:32 PM   #5
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,003
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I have 4 custom columns that show in CC: 1 date, fixed text,numeric and T/F

All show the name used at the column in calibre (not the lookup name)

Calibre 1.32 (x64) and CC 3.3.4
theducks is offline   Reply With Quote
Advert
Old 04-16-2014, 11:35 PM   #6
niagara94
Enthusiast
niagara94 began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Feb 2013
Device: Samsung Galaxy Note Pro
Thanks again for your reply. I connect (and always have) wirelessly.
niagara94 is offline   Reply With Quote
Old 04-17-2014, 12:38 AM   #7
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,003
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 niagara94 View Post
Thanks again for your reply. I connect (and always have) wirelessly.
Wireless works here.
The GURU will have to step up for this one.
theducks is offline   Reply With Quote
Old 04-17-2014, 03:18 AM   #8
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,408
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
If I understand properly (not sure), you have two questions.

1) You have added a custom column to CC's grouping drawer, using lookup name #series_or_not. You see this column in the grouping drawer and you can tap on it to see the values in the column. Your issue is that the group is named with the columns lookup name (#series_or_not) instead of the column's display name (Series Or Not).

This is expected behavior, and has always been like this. CC does not use the display names. It doesn't know what they are when the column is added to the grouping drawer, and they can change from library to library.

CC does know the display names in book details because they are part of the metadata for each book.

2) You have a yes/no column #read and have added it to the grouping drawer. You want to know how this differs from the built-in Read column and how to make it work.

See the set of questions & answers in CC's FAQ "Marking books read and syncing that information with calibre". That group is the fifth bullet point.

Did I understand your questions?
chaley is offline   Reply With Quote
Old 04-17-2014, 03:19 AM   #9
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,408
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by theducks View Post
I have 4 custom columns that show in CC: 1 date, fixed text,numeric and T/F

All show the name used at the column in calibre (not the lookup name)

Calibre 1.32 (x64) and CC 3.3.4
My guess is that you are looking in book details, not the grouping drawer. Book details shows the column name. The grouping drawer shows the lookup key entered into CC's preferences.
chaley is offline   Reply With Quote
Old 04-17-2014, 09:18 AM   #10
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,003
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 chaley View Post
My guess is that you are looking in book details, not the grouping drawer. Book details shows the column name. The grouping drawer shows the lookup key entered into CC's preferences.
theducks is offline   Reply With Quote
Old 04-17-2014, 12:13 PM   #11
niagara94
Enthusiast
niagara94 began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Feb 2013
Device: Samsung Galaxy Note Pro
Question

Thank you chaley & theducks for your help. Yes, chaley you have understood my questions. The thing is when I had CC installed in my previous tablet it showed the column name in the grouping drawer instead of the look up name. I don't know why it's different now. Is there a tutorial or something I can look up on this?
niagara94 is offline   Reply With Quote
Old 04-17-2014, 12:42 PM   #12
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,408
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by niagara94 View Post
Thank you chaley & theducks for your help. Yes, chaley you have understood my questions. The thing is when I had CC installed in my previous tablet it showed the column name in the grouping drawer instead of the look up name. I don't know why it's different now.
CC has never shown the display name in the grouping drawer. I know because I wrote that code.

The only explanation I can give you is that the lookup name was very close to the display name. That is what I do. The only difference between the two is the # character.
Quote:
Is there a tutorial or something I can look up on this?
Tutorial on what?

All of the help and tutorials are in CC's FAQ. If there is something missing please let us know.
chaley is offline   Reply With Quote
Old 04-17-2014, 12:49 PM   #13
niagara94
Enthusiast
niagara94 began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Feb 2013
Device: Samsung Galaxy Note Pro
Thank you for your reply. There are more differences than just the # character. There are underscores instead of spaces and the letters aren't capitalized either. Anyways, I will check out the CC link. Is there a way to edit how you typed the custom column without deleting it in Calibre? Thanks!

Last edited by niagara94; 04-17-2014 at 01:04 PM.
niagara94 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Aura 'Sort by author' working different than expected Indy_Mouse_9 Kobo Reader 2 03-07-2014 09:21 AM
Working with DateTime custom columns programmatically? kiwidude Development 13 12-15-2011 11:09 AM
Page breaks not working as expected jim.thornton Conversion 2 07-20-2011 12:44 AM
float not working as expected in ADE iain robinson ePub 8 06-18-2011 04:16 AM
Custom Columns - How are you using yours? nynaevelan Library Management 19 04-18-2011 12:42 AM


All times are GMT -4. The time now is 10:13 AM.


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