![]() |
#1 | |||
Member Retired
![]() Posts: 9
Karma: 10
Join Date: Mar 2011
Device: Kobo
|
Feature Request
Since Calibre keeps track of the unique hardware ID of individual devices (in a driveinfo.calibre file on each device - e.g.
Quote:
Quote:
Quote:
as well as whether the device is the reader itself or a card (see location_code, above), would it be possible to read in that device_store_uuid and use it to reference a new field (perhaps named something like "OnMedia"), ideally with the option of letting the user (re)define the actual contents of the new field (i.e. "SD-A", "Card01", "4G_Card", etc)? Failing that, could that ID be exposed via the template system so a user could point it at a custom column? If I were familiar with Python, I'd have a go at doing it myself, but... ![]() |
|||
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,252
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Those aren't unique hardware ids, they're random numbers generated by calibre.
As I said before many storage cards/ebook reader devices do not have accessible unique ids. Heck many ebook readers dont even have usb serial numbers. For some reason you chose not to believe me. |
![]() |
![]() |
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Even assuming a crappy standard pseudorandom number generator, shouldn't numbers of that length be random enough for practical purposes? Thus allowing an implementation of such a feature?
|
![]() |
![]() |
![]() |
#4 |
Member Retired
![]() Posts: 9
Karma: 10
Join Date: Mar 2011
Device: Kobo
|
That's the same question I was going to ask. In the same vein, why bother creating those numbers if they aren't going to used for something?
|
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,364
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I added them because I felt like it. I will take them out if that makes things clearer.
Last edited by chaley; 03-26-2011 at 06:03 PM. |
![]() |
![]() |
![]() |
#6 | ||
Member Retired
![]() Posts: 9
Karma: 10
Join Date: Mar 2011
Device: Kobo
|
I have a single Kobo reader, and (currently) 2 SD cards dedicated to it. What I would like to be able to do is have Calibre keep track of which books are on which card, and display that information.
I started out by asking if there was a way to accomplish that already, and if so, if someone would be kind enough to point me to instructions on how to do so: Quote:
My next thought was to see if there wasn't some way of working around the situation - perhaps a unique file would work; maybe by filename, or a special meta tag within a dummy epub. So while looking into that possibility, I saw the driveinfo.calibre files, and looked inside them. Comparing the files between the two SD cards and the Kobo, each looked to have a unique number. Kovid, it is NOT that I chose not to believe you - it was a case of trying to find a different way of addressing the problem. Very well, then - the numbers are NOT globally unique hardware numbers. Given their size, however, could they not be treated as unique? Particularly when only a limited number of such cards are being used by a single person, with a single reader? If you feel a need to disavow any actual randomness, then I (for one) wouldn't have any problem with that - I'm quite willing to take my chances against a collision between two 32-character strings. I would think that I can't be the only person that would like to have the ability to keep different books on different SD cards for my reader; I am trying to find a way to achieve that goal, and thus add functionality to Calibre. Toward that end, I would be quite happy if I could get even a little support (some encouragement or suggestions would be nice; a relatively minor edit would be wonderful): Quote:
Last edited by PermaTourist; 03-26-2011 at 07:13 PM. Reason: elaboration |
||
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Don't you think asking once is enough? You've been answered in the other thread you created on the topic already, the answer is not likely going to change the second time.
|
![]() |
![]() |
![]() |
#8 |
Member Retired
![]() Posts: 9
Karma: 10
Join Date: Mar 2011
Device: Kobo
|
Very well, then.
|
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,252
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I'm certainly not interested in implementing this, but if anyone else wants to work on it, I'll review the patch.
Though really, it would be nice to know why you want to put different books on different SD cards. In this day and age of networked and very cheap storage, what's the point? |
![]() |
![]() |
![]() |
#10 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,895
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
![]() I came to work this evening to find a Data Center HVAC failure. I just now finished the write up and reading this helped relieve some of the stress that I didn't realize was there until I laughed. Funny bone karma to you. ![]() |
|
![]() |
![]() |
![]() |
Tags |
library management, memory card |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
feature request | winterescape | Recipes | 2 | 03-13-2011 11:07 AM |
Feature request | iridius | Library Management | 1 | 02-22-2011 09:57 PM |
Feature Request | Beak | Devices | 2 | 02-20-2011 10:18 AM |
Feature request | AprilHare | EPUBReader | 2 | 11-22-2009 05:15 AM |
Feature request | mrmikel | EPUBReader | 4 | 11-20-2009 11:49 AM |