![]() |
#1 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jan 2011
Device: kindle; ipad; netbook
|
![]()
I wonder if anyone could give me some help. I've just begun to explore customising Calibre and I'm finding it tricky; I spotted a throw away comment in a thread (sorry can't find it now) where the poster said breezily that they used a custom column to record which books are loaded onto their Kindle so that they know what's what even when the device isn't connected.
Just what I want I thought. I found this post https://www.mobileread.com/forums/sho...03&postcount=6 and that of course work well to do it manually. But I feel sure that I should be able to set it automatically using the ondevice() funtion explained in the user manual and mentioned here https://www.mobileread.com/forums/sho...6&postcount=15 I guess I need a composite column but does it need to behave like a tag or not; or does it not matter? I presume I need to put the expression into the template box - but what exactly do I need to type into there? Ideally I should like my new column to be updated when I connect my device so that if I delete things from the kindle itself the value of the column reflects that, and of course the value needs to persist after I unplug the device. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,340
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
There is no (easy) way to automatically record "ondevice" in a way that persists after you disconnect the device. You can do such things in a plugin, but I don't know of one that does it.
The usual solution is to select all books and set the custom column to false using edit metadata (bulk). Next search for ondevice:true while the device is connected, select all and use edit metadata to set the custom column to true. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,913
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:
![]() Make a True/False column (mydevice) in the Library if one does not exist. Connect your device and wait for the device task to finish. Stage 1) un-mark previous saved status for missing/removed from device books. Enter this search: Code:
ondevice:false and formats:true 1) Clear previous values if it was previously used by Selecting All (ctrl+A). Bulk Meta-data edit: Custom metadata tab: set mydevice to No OK Stage 2) Mark those found on the device. Set the search: Code:
ondevice:true Bulk Meta-data edit: Custom metadata tab: set mydevice to Yes OK you have now saved your current status |
|
![]() |
![]() |
![]() |
#4 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 109
Karma: 194274
Join Date: Jun 2011
Location: Montreal
Device: Kobo, Calibre
|
![]()
Since ondevice does not persist if you restart Calibre, I use the Reading List plugin to keep track of what books are on my device when disconnected.
Instead of 'send to device' shortcut I remap it to send to 'reading list'. Next setup the program to manually/automatically 'Replace device with list, add new items only' (this adds/removes except overwrites because in my case it would remove the 'im_reading' collection the kobo uses). When disconnected you call up the reading list, add/remove books to sync later. Reading List can also add a tag so you can do fancy stuff like column coloring, etc. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
help with custom column | Noughty | Library Management | 4 | 10-15-2011 05:31 AM |
Can custom book data be displayed in a custom column? | kiwidude | Development | 9 | 03-02-2011 05:35 AM |
Need help with this custom Column. | Rie142 | Library Management | 2 | 02-20-2011 09:51 AM |
custom column i need a little help | shinken | Calibre | 3 | 09-15-2010 03:41 AM |
Custom Column Problem | MSJim | Calibre | 7 | 09-08-2010 05:07 PM |