![]() |
#46 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,314
Karma: 12117033
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#47 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,314
Karma: 12117033
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I'm afraid that it happens because all the books go through other file plugin (DeDrm?). That is something that cannot be avoided, sorry. I thought it was included in the initial notes but it isn't. I'll include it now.
|
![]() |
![]() |
Advert | |
|
![]() |
#48 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Is there anyway to affect the order the plugins are called? If the GetFileName plugin could be called before the DRM stripping, it should get original file name. I have no idea what order is currently used. Installation or name order are the two obvious ones, but the might be something else.
|
![]() |
![]() |
![]() |
#49 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,220
Karma: 23446406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#50 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,314
Karma: 12117033
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Thank you, I'll make it available with this change after the next release (I hope).
|
![]() |
![]() |
Advert | |
|
![]() |
#51 |
Groupie
![]() ![]() Posts: 178
Karma: 134
Join Date: May 2010
Device: IREX DR1000
|
|
![]() |
![]() |
![]() |
#52 |
Enthusiast
![]() Posts: 28
Karma: 10
Join Date: Dec 2016
Device: Kindle
|
For the life of me - I have never been able to figure out HOW to configure this. Nowhere is there any instructions on exactly WHAT kind of column to create or how it connects to the plugin.
I gave up - after the first week when it was first released. Figured I'd give it another try - and yet - still absolutely NO clue. How do I configure the column? |
![]() |
![]() |
![]() |
#53 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20,802
Karma: 27405122
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@cgrapski - you need to add a custom column for each of the fields you want to use, the tooltips for each field tell you that - if you haven't added any suitable custom columns (text) then the drop downs will be empty.
Use Preferences->Add your own columns to add custom columns Added : Heavens du Betzee - did you ever bother read through the thread, apparently not otherwise you would have tripped over post [27] BR Last edited by BetterRed; 12-08-2016 at 12:59 AM. |
![]() |
![]() |
![]() |
#54 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,314
Karma: 12117033
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#55 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,220
Karma: 23446406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I dont see how that commit could cause an issue unless for some reason the DRM removal plugin uses the original_file_path property itself without first initializing it. Run calibre in debug mode and see what errors you get
calibre-debug -g |
![]() |
![]() |
![]() |
#56 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,314
Karma: 12117033
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Sorry, I'll try to explain myself better.
For getting original_path_to_file, I need the run method in my plugin to be called. So, because of this, now I have two file type plugins running on my file. The first one makes its own process and returns a new file (with a new path). Now, the second one (my own) is called and it only stores the original path and returns the same path which has received. In this situation, the book which is stored in calibre is not the modified one by the first plugin but the original one, as the second plugin does not receive as input the modified file but the original one, so each step loses the file returned by the previous plugin (or that is the effect I'm seeing). |
![]() |
![]() |
![]() |
#57 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,220
Karma: 23446406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Ah, this should take casre fo that: https://github.com/kovidgoyal/calibr...fedd81f4878a8c
|
![]() |
![]() |
![]() |
#58 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,314
Karma: 12117033
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Thank you very much!
|
![]() |
![]() |
![]() |
#59 |
Groupie
![]() ![]() Posts: 178
Karma: 134
Join Date: May 2010
Device: IREX DR1000
|
Hi Terisa, hope you'll release a new version soon. My directories are waiting for you !
|
![]() |
![]() |
![]() |
#60 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,314
Karma: 12117033
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I've to check a think this night and, according to that, I'll release it tomorrow... or after the next calibre release (because there was a bug that I detected testing the plugin).
|
![]() |
![]() |
![]() |
Tags |
calibredb, calibredb metadata import, plugin |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[FileType Plugin] YVES Bible Plugin | ClashTheBunny | Plugins | 27 | 01-16-2023 01:25 AM |
How to sort quickly books by filetype? | construsol | Calibre | 7 | 05-24-2014 06:20 PM |
Calibre associated with every filetype?! | sej7278 | Calibre | 14 | 08-09-2011 10:36 AM |
Zip Filetype Plugin? | rsingley | Plugins | 7 | 02-11-2011 05:11 PM |
How to register a filetype? | plisken | iRex | 2 | 09-28-2009 07:16 AM |