View Single Post
Old 12-08-2016, 11:54 PM   #56
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,649
Karma: 12595249
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).
Terisa de morgan is offline   Reply With Quote