View Single Post
Old 02-22-2020, 10:19 AM   #208
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Enumerations

Quote:
Originally Posted by Rellwood View Post
Can enumerated colunms (comments with set data) be included if they are all the same?

If you tested a generation to check your settings, you would see a list in the Generation Tab that looks something like:


Code:
s:/calibre/calibremcs --------------------- #abc_numeric - ABC Numeric - int - Activated
s:/calibre/calibremcs2 -------------------- #abc_numeric - ABC Numeric - int - Activated
s:/calibre/calibremcs --------------------- #author_book_count - ABC - text - Activated
s:/calibre/calibremcs2 -------------------- #author_book_count - ABC - text - Activated
s:/calibre/calibremcs --------------------- #been_read - Read? - bool - Activated
s:/calibre/calibremcs --------------------- #ddc - DDC - text - Activated
s:/calibre/calibremcs2 -------------------- #ddc - DDC - text - Activated
s:/calibre/calibremcs --------------------- #ff_author_id - FF Author ID - text - Activated
s:/calibre/calibremcs --------------------- #ff_author_names - FF Author Names - text - Activated
s:/calibre/calibremcs --------------------- #ff_metadata - FF Metadata - comments - Activated
s:/calibre/calibremcs --------------------- #genre_source - Genre (Source) - text - Activated
s:/calibre/calibremcs2 -------------------- #genre_source - Genre (Source) - text - Activated
s:/calibre/calibremcs --------------------- #isbn_source - ISBN (Source) - composite - Not Activated
s:/calibre/calibremcs2 -------------------- #isbn_source - ISBN (Source) - composite - Not Activated
s:/calibre/calibremcs2 -------------------- #isni_url - ISNI.org URL - composite - Not Activated
s:/calibre/calibremcs2 -------------------- #lc_authority_name_url - LC Authority Name URL - composite - Not Activated
s:/calibre/calibremcs --------------------- #lcc - LCC - text - Activated
s:/calibre/calibremcs2 -------------------- #lcc - LCC - text - Activated
s:/calibre/calibremcs --------------------- #lcead - LC Extra Author Details - text - Activated
s:/calibre/calibremcs2 -------------------- #lcead - LC Extra Author Details - text - Activated
s:/calibre/calibremcs2 -------------------- #loc_lccn - LOC LCCN - composite - Not Activated
s:/calibre/calibremcs2 -------------------- #loc_lccn_url - LOC LCCN URL - composite - Not Activated
s:/calibre/calibremcs --------------------- #mcs_was_indexed - MCS - bool - Activated
s:/calibre/calibremcs --------------------- #mycomments - MyComments - comments - Activated
s:/calibre/calibremcs2 -------------------- #mycomments - MyComments - comments - Activated
s:/calibre/calibremcs --------------------- #mydate - MyDate - datetime - Activated
s:/calibre/calibremcs2 -------------------- #mydate - MyDate - datetime - Activated
s:/calibre/calibremcs2 -------------------- #myenumeration - MyEnumeration - enumeration - Activated
s:/calibre/calibremcs --------------------- #myfloat - MyFloat - float - Activated
s:/calibre/calibremcs2 -------------------- #myfloat - MyFloat - float - Activated
s:/calibre/calibremcs --------------------- #myinteger - MyInteger - int - Activated
s:/calibre/calibremcs2 -------------------- #myinteger - MyInteger - int - Activated
s:/calibre/calibremcs --------------------- #mymcsenumeration - MyMCSEnumeration - enumeration - Activated
s:/calibre/calibremcs --------------------- #myrating - My Rating - rating - Activated
s:/calibre/calibremcs2 -------------------- #myrating - My Rating - rating - Activated
s:/calibre/calibremcs --------------------- #myserieslike - MySeriesLike - series - Activated
s:/calibre/calibremcs2 -------------------- #myserieslike - MySeriesLike - series - Activated
s:/calibre/calibremcs --------------------- #mysize - MySize - composite - Not Activated
Note the Custom Column datatypes on the right side.


If Enumeration datatypes do not have the IDENTICAL valid values, the CALM Target Library would cause major Calibre GUI freezing, since Calibre assumes that you would not mix apple Enumerations with orange Enumerations.


Use the Job Spy tool for creating a matrix of all Custom Columns in all of your Calibre Libraries so you can compare them carefully, including the Display on the right side of the matrix.


If you search this thread, for "Enumeration", you will find that one particular user said "they were identical", but they were not, and had major issues. Caveat Emptor.

Having said that, after the above occurred, I added special logic to stop it from happening again...most of the time. The burden is still on the user to comply with the ToolTips in the Generation Tab.



DaltonST
DaltonST is offline   Reply With Quote