11-07-2016, 07:23 AM | #31 |
Junior Member
Posts: 3
Karma: 10
Join Date: Nov 2016
Device: iPad Air
|
Dear Terisa, do you think it would be possible to add an option for the file's created/modified date? I'd find that super useful, if it's not too much work...
|
11-07-2016, 07:39 AM | #32 |
Grand Sorcerer
Posts: 6,388
Karma: 12117217
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Sorry, but I don't think so, as you don't have information in the plugin level about the file itself but only the name and path.
|
Advert | |
|
11-11-2016, 10:06 PM | #33 |
Fanatic
Posts: 515
Karma: 1470724
Join Date: Jul 2013
Location: Quebec CA
Device: android 4 (samsung tablet and asus tablet)
|
A quick question. If I am adding a book and the book exists already so it is merged... will the filename still copy to the filename field?
Another question: For some reason when I copy the library structure, the column for the OriginalFilename doesn't copy. Is there a reason for this? All of my other custom columns copy to the new empty library structure. Last edited by LadyKate; 11-12-2016 at 01:24 AM. Reason: added another question |
11-12-2016, 03:21 AM | #34 |
null operator (he/him)
Posts: 20,992
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@Terisa de Morgan - I have library A and library B, and both have a similar 'filepath/File Path' column. If I copy books from library A to library B the column 'filepath/File Path' values are retained if they're not empty, but they're empty the column in library B gets a path in the Temp directory.
@LadyKate - would your additional problem be related to this ==> Bug #1641278 “Custom columns don't copy on create new library” BR |
11-13-2016, 02:00 AM | #35 | |
Fanatic
Posts: 515
Karma: 1470724
Join Date: Jul 2013
Location: Quebec CA
Device: android 4 (samsung tablet and asus tablet)
|
Quote:
I just did a test and the column copied. Now I'm wondering if columns with no values copy ?? hummm. |
|
Advert | |
|
11-13-2016, 04:12 AM | #36 | |
Grand Sorcerer
Posts: 6,388
Karma: 12117217
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
No, not that I know. Yesterday, indeed, after seeing this comment, I moved a book from a library with this column to a library without it, and calibre asked me to copy the column. |
|
11-13-2016, 04:15 AM | #37 | |
Grand Sorcerer
Posts: 6,388
Karma: 12117217
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
11-13-2016, 05:20 AM | #38 | |
null operator (he/him)
Posts: 20,992
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I don't display the file path in the target library book list or book details sidebar, which is why its taken me so long to spot this. BR Last edited by BetterRed; 11-13-2016 at 05:23 AM. |
|
11-13-2016, 05:30 AM | #39 | |
Grand Sorcerer
Posts: 6,388
Karma: 12117217
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
Edit: I will check if the stack can give me info in the same way it gives for not getting name with an "add_empty" command. Last edited by Terisa de morgan; 11-13-2016 at 06:26 AM. Reason: Added info |
|
11-13-2016, 05:56 AM | #40 |
Grand Sorcerer
Posts: 6,388
Karma: 12117217
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Version 0.0.6 posted:
|
11-13-2016, 06:03 AM | #41 |
null operator (he/him)
Posts: 20,992
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Hey that was quick - it trumps the Bulk MDE S&R regex I saved earlier
stacks of fanx. BR Last edited by BetterRed; 11-13-2016 at 06:26 AM. |
12-03-2016, 03:30 AM | #42 |
Groupie
Posts: 178
Karma: 134
Join Date: May 2010
Device: IREX DR1000
|
Hi Terisa,
I have searched for a plugin like this for since the beginning I started using Calibre. Where could I send my one billion paypal contribution ? |
12-03-2016, 06:09 PM | #43 |
Groupie
Posts: 178
Karma: 134
Join Date: May 2010
Device: IREX DR1000
|
Hi Terisa,
there is a bug in your code. Consider the following filename: 2008 - Handbook of Motivation Science - Shah, James & Gardner, Wendy L. (eds)-[Guilford].pdf It is imported as: filename: 2008 - Handbook of Motivation Science - Shah, James & Gardner, Wendy L Extension: (eds)-[Guilford] This other filename: 2009 - Building Motivational Interviewing Skills - David B. Rosengren.pdf It is imported as: filename: 2009 - Building Motivational Interviewing Skills - David B extension: Rosengren You are probably searching for the first DOT from the start of the filename, while you should search for the first DOT from the end of filename... or you are using a wrong regular expression. Also, I see that the original extension as been truncated, so you are using some kind of code were you drop everything there is in the filename after the second dot and the second dot too... I suppose today I have lost a lot of information while importing +3000 books (261 book with wrong/partial information which I already have deleted ) Last edited by Giuseppe Chillem; 12-03-2016 at 09:25 PM. |
12-03-2016, 06:31 PM | #44 |
Groupie
Posts: 178
Karma: 134
Join Date: May 2010
Device: IREX DR1000
|
I confirm information is being lost:
Filename: 2009 - Motivational.interviewing and.stages of change.pdf filname imported: 2009 - Motivational extension: interviewing and Part which is being lost: stages of change.pdf |
12-03-2016, 06:32 PM | #45 |
Groupie
Posts: 178
Karma: 134
Join Date: May 2010
Device: IREX DR1000
|
Hi,
a last problem: Some books have the temp path as extracted path: An example: "C:\Users\Familia\AppData\Local\Temp\calibre_omm2o x\rsdo8k_add_books\482" Last edited by Giuseppe Chillem; 12-04-2016 at 02:46 AM. |
Tags |
calibredb, calibredb metadata import, plugin |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[FileType Plugin] YVES Bible Plugin | ClashTheBunny | Plugins | 27 | 01-16-2023 02:25 AM |
How to sort quickly books by filetype? | construsol | Calibre | 7 | 05-24-2014 07:20 PM |
Calibre associated with every filetype?! | sej7278 | Calibre | 14 | 08-09-2011 11:36 AM |
Zip Filetype Plugin? | rsingley | Plugins | 7 | 02-11-2011 06:11 PM |
How to register a filetype? | plisken | iRex | 2 | 09-28-2009 08:16 AM |