![]() |
#301 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,618
Karma: 5806517
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I'll check what it's happening (and see if I can reproduce it).
|
![]() |
![]() |
![]() |
#302 |
null operator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16,879
Karma: 19721268
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
That was quick
|
![]() |
![]() |
Advert | |
|
![]() |
#303 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,618
Karma: 5806517
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
@BetterRed, when do you change the author name? Before or after adding a new book to that author?
|
![]() |
![]() |
![]() |
#304 |
null operator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16,879
Karma: 19721268
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
After
I am not at my calibre PC so I cant do any screen shots I created an fresh library called 'ΩLast' Using the Add Empty book option, I added a book with Author 'Better Red' and Title "Book One', I checked the create EPUB option. Then I F2'd the Author cell and pasted the 'Ω' at the front of the Author cell and pressed Enter, the error "Failed to set data: blah-blah" popped, but when I dismissed it I had 'ΩBetter Red' in the Author cell. When I opened the Book folder I noticed the epub file was a hardlink (I have a utility that puts a red overlay glyph on hardlinked files). Then i discovered I had 'Better Red' and 'OBetter Red" Author folders (the 'O' being the Latinised Ω), and there was a 'Book One (1)' folder in both Author folders and in the two book folders there was a hardlink to the epub file, viz: Code:
ΩLast Better Red Book One (1) Book One - Better Red.epub (hardlink) OBetter Red Book One (1) Book One - OBetter Red.epub (hardlink) The only plugin that looked like it might do anything on an author name change was GFN, so I moved it out of the plugins folder and tried again - and there was no error. Hope that helps. Take care BR Last edited by BetterRed; 05-26-2020 at 09:00 AM. |
![]() |
![]() |
![]() |
#305 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,618
Karma: 5806517
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I get the error:
So, I'm afraid this plugin is not responsible (or not the only responsible). |
![]() |
![]() |
Advert | |
|
![]() |
#306 |
null operator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16,879
Karma: 19721268
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
How strange - I only did the couple of tests I've described, which weren't exhaustive.
I'll try to do some more later, I'll start with a freshly installed portable. Added - see this threat ==>> Libraries starting with Non-Latin Characters BR Last edited by BetterRed; 05-27-2020 at 02:49 AM. |
![]() |
![]() |
![]() |
#307 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 105
Karma: 12649
Join Date: Feb 2020
Device: iPad
|
Could/should GetFileName work on import via calibredb add?
I'm using the great GetFileName plugin to add when and from where I import a book.
However, I just noticed that books I add via calibredb add do not received the metadata from the GetFileName plugin. Is something wrong in my install? Or is it even possible for the plugin to get triggered by calibredb add? It would be nice if it worked, but this might be an understandable limitation of calibre's plugin architecture... |
![]() |
![]() |
![]() |
#308 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,516
Karma: 17011940
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
plugins that work on import work via calibredb as well. both the gui and calibredb use the same underlying code to add books.
|
![]() |
![]() |
![]() |
#309 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 105
Karma: 12649
Join Date: Feb 2020
Device: iPad
|
Good to know, Kovid. Thanks!
Will investigate a bit more, but so far the GetFileName metadata is not added via calibredb. |
![]() |
![]() |
![]() |
#310 |
null operator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16,879
Karma: 19721268
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Moderator Notice
Moving to the GFN plugin thread BR |
![]() |
![]() |
![]() |
#311 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,618
Karma: 5806517
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
![]() |
![]() |
![]() |
#312 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,618
Karma: 5806517
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Plugin ported to python 3
|
![]() |
![]() |
![]() |
#313 |
Interested in the matter
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 359
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook InkPad 3
|
It works perfectly.
Thank you very much! |
![]() |
![]() |
![]() |
#314 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 105
Karma: 12649
Join Date: Feb 2020
Device: iPad
|
I’ve updated to calibre 5 and suddenly GetFileName has disappeared.
Is it not Python 3 compatible? In the list at https://www.mobileread.com/forums/sh...d.php?t=326405 GetFileName is struck out, so I thought it is compatible... Update: When I run calibredb on the command line I get the following warning: Code:
Failed to initialize: GetFileName plugin Last edited by halloleo; 10-03-2020 at 01:18 AM. |
![]() |
![]() |
![]() |
#315 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,618
Karma: 5806517
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I'll check but I had installed in my 5.01 calibre
|
![]() |
![]() |
![]() |
Tags |
calibredb, calibredb metadata import, plugin |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[FileType Plugin] YVES Bible Plugin | ClashTheBunny | Plugins | 25 | 10-13-2019 12:32 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 |