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 06-27-2015, 07:24 AM   #76
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by chaley View Post
Note that if you connect as a wireless device then the metadata errors such as any missing comments and series will be fixed.
I didn't even get around to seeing if the comments were downloaded with a book. I just noticed that in the cloud book details they were often missing. Glad to see you have solved the issue.
DoctorOhh is offline   Reply With Quote
Old 06-27-2015, 12:30 PM   #77
Thomas_AR
Zealot
Thomas_AR began at the beginning.
 
Thomas_AR's Avatar
 
Posts: 131
Karma: 10
Join Date: Jan 2015
Location: Buenos Aires
Device: Android
Quote:
Originally Posted by chaley View Post
I have figured out a way to do this that is both simple and general. I am going to add "if ... then ... else ..." processing.

It will look something like
Code:
:if: {some_template} {} {} {} :then: {some_replacement_template} {} {} :else: {some_replacement_template} {} {} :::
The :else: is optional. All of the templates are arbitrary: single or multiple values. The test is "true" if that template evaluates to some non-blank value. A special symbol will be available, :tv: (test value) that can be used in a :then: or an :else: to replace the test with itself.

All if the if/then/elses will be processed first, then the template will be processed as normal. This means that the :then: and :else: parts can add slashes to change the directory structure.
This is great. I will check that out as soon as Calibre 2.32 is released
For sure we will need a separate thread for CC templates with user examples in the future
Thanks a lot!!

Last edited by Thomas_AR; 06-27-2015 at 12:33 PM.
Thomas_AR is offline   Reply With Quote
Old 06-27-2015, 01:26 PM   #78
Purple Lady
Grand Sorcerer
Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.
 
Purple Lady's Avatar
 
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
Quote:
Originally Posted by DoctorOhh View Post
I didn't even get around to seeing if the comments were downloaded with a book. I just noticed that in the cloud book details they were often missing. Glad to see you have solved the issue.
I also saw no comments in the cloud book details - sorry I wasn't specific. I now see comments on some books, but not all.
Purple Lady is offline   Reply With Quote
Old 06-27-2015, 03:22 PM   #79
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,453
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Purple Lady View Post
I also saw no comments in the cloud book details - sorry I wasn't specific. I now see comments on some books, but not all.
Where are you not seeing the comments? In CC Cloud or in CC itself? If in CC Cloud then did you try it with V4.0.0h? If so, could you send me your metadata.db and the name of the book so I can find out what is special about that book? If in CC itself then that means that the book didn't receive its comments when you originally downloaded it. Either download it again or connect as a wireless device.
chaley is offline   Reply With Quote
Old 06-27-2015, 05:03 PM   #80
Purple Lady
Grand Sorcerer
Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.
 
Purple Lady's Avatar
 
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
Quote:
Originally Posted by chaley View Post
Where are you not seeing the comments? In CC Cloud or in CC itself? If in CC Cloud then did you try it with V4.0.0h? If so, could you send me your metadata.db and the name of the book so I can find out what is special about that book? If in CC itself then that means that the book didn't receive its comments when you originally downloaded it. Either download it again or connect as a wireless device.
I am not seeing the comments in CC cloud V4.0.0h. I will send the db and book names.

Last edited by Purple Lady; 06-27-2015 at 05:17 PM.
Purple Lady is offline   Reply With Quote
Old 06-28-2015, 01:24 AM   #81
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
The format in the comments works for me now, thank you.
Terisa de morgan is offline   Reply With Quote
Old 06-28-2015, 01:28 AM   #82
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
But I've found a book (I've checked a few, not all) that shows comments at the main library, but not the cloud.
Terisa de morgan is offline   Reply With Quote
Old 06-28-2015, 02:15 AM   #83
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
It looks like the comments in the cloud are there for all the ones I randomly used as a benchmark.

But after reading Terisa de morgan's comment (83) I found a book that is on my device that shows comments in CC but the same book in the CC cloud does not show the comment. I opened calibre and verified that the book in question does have a comment.
DoctorOhh is offline   Reply With Quote
Old 06-28-2015, 03:04 AM   #84
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,453
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Purple Lady View Post
I am not seeing the comments in CC cloud V4.0.0h. I will send the db and book names.
Quote:
Originally Posted by Terisa de morgan View Post
But I've found a book (I've checked a few, not all) that shows comments at the main library, but not the cloud.
Quote:
Originally Posted by DoctorOhh View Post
It looks like the comments in the cloud are there for all the ones I randomly used as a benchmark.

But after reading Terisa de morgan's comment (83) I found a book that is on my device that shows comments in CC but the same book in the CC cloud does not show the comment. I opened calibre and verified that the book in question does have a comment.
and just for good measure

When I fetch the data from the database for book details I build a structure that contains all the base metadata. This involves several 4-line database queries that are *almost* exactly the same. I copied the one from comments to do series but messed up editing one place. Bottom line: a book will have its comments if it is a member of a series. Most of my books are in a series so I never saw it.

Thanks to all of you, and especially Purple Lady for sending me her metadata.db and the name of a failing book. That immensely simplified finding the problem.

BTW: I found and fixed another problem because there are no covers in the library made with Purple Lady's metadata.db. What would have been a rare crash case caused by missing cover files became relatively common.

A release is forthcoming.
chaley is offline   Reply With Quote
Old 06-28-2015, 03:20 AM   #85
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,453
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
V4.0.0i has been published

Change log

V4.0.0i:
  • [BUG FIX]Fix comments missing if a book is not part of a series
  • [BUG FIX]Fix rare crash if book cover files are missing from the library
chaley is offline   Reply With Quote
Old 06-28-2015, 03:52 AM   #86
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by chaley View Post
a book will have its comments if it is a member of a series. Most of my books are in a series so I never saw it.
Glad you found it. In hindsight it is obvious.

Karma to Lady Purple for sending in the metadata.db file so I didn't have to.
DoctorOhh is offline   Reply With Quote
Old 06-28-2015, 04:20 AM   #87
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by chaley View Post
Bottom line: a book will have its comments if it is a member of a series. Most of my books are in a series so I never saw it.
Same here about series. Now you say it, yes, that's the problem with the book. Thank you for the changes and yes, the book shows the comments fine now.

Terisa de morgan is offline   Reply With Quote
Old 06-28-2015, 08:08 AM   #88
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,453
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Early warning ...

I finally got around to testing on one of my e-ink devices and I discovered that the compressed preferences layout didn't work. Category text was black on black. To fix this I have changed (yet again) how preference categories are displayed. The attachment shows you what they look like. I hope this is the last change.
Attached Thumbnails
Click image for larger version

Name:	Clipboard01.png
Views:	182
Size:	64.2 KB
ID:	139765  
chaley is offline   Reply With Quote
Old 06-28-2015, 03:39 PM   #89
Purple Lady
Grand Sorcerer
Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.
 
Purple Lady's Avatar
 
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
Quote:
Originally Posted by chaley View Post
I finally got around to testing on one of my e-ink devices and I discovered that the compressed preferences layout didn't work. Category text was black on black. To fix this I have changed (yet again) how preference categories are displayed. The attachment shows you what they look like. I hope this is the last change.
It looks fine on my T62 both with and without a check in the color correct setting.

Click image for larger version

Name:	uploadfromtaptalk1435520399609.jpg
Views:	275
Size:	147.2 KB
ID:	139785
Purple Lady is offline   Reply With Quote
Old 06-28-2015, 05:13 PM   #90
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
It looks find on my Energy Pro too (color correct setting). And it connects to dropbox flawlessly.
Terisa de morgan is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cloud Collections 101 (K4 or older -> Cloud Collections world) badgoodDeb Amazon Kindle 3 11-05-2014 08:40 PM
Amazon folds Kindle cloud storage into cloud drive fjtorres News 4 04-17-2014 04:50 AM
[Android] Calibre Companion alpha and beta test programs chaley Calibre Companion 0 02-21-2014 12:09 AM
Amazon Announces Cloud Player and Cloud Drive kjk News 152 04-20-2011 06:28 AM


All times are GMT -4. The time now is 03:48 PM.


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