Hi all,
I export all my ebooks to a file system, structed by folders. I have 2 ruleset for exporting :
- Export by name :
- Export by series (when multiple authors work on same series) :
To seperate both, I added a tag : "By series"
Now, I would like to do all of this at one time, and I tried to look over functions, but somehow, when the query gets complicated, the export crashes :
This works
In bold, the added statement which makes it not not work anymore
Throwing the following error
Of course, what I would have liked to be able to do was (added return for better read) :
Maybe I should not use tags ? Maybe I should use another function ? If any one could advise me, I would greatly thanks him/her.
Best regards,
Thomas
I export all my ebooks to a file system, structed by folders. I have 2 ruleset for exporting :
- Export by name :
Code:
{authors:.1}/{authors}{series:| - |/{series_index:0>2s}} - {title}
Code:
-Series-/{series}/{series_index:0>2s} - {title} \[{authors}\]
Now, I would like to do all of this at one time, and I tried to look over functions, but somehow, when the query gets complicated, the export crashes :
This works
Code:
{tags:contains(By_series,-Series-/,{authors:.1}/)}{title}
Code:
{tags:contains(By_series,-Series-/,{authors:.1}/{title}/)}{title}
Code:
calibre, version 0.9.1
ATTENTION : Impossible denregistrer certains livres: Impossible denregistrer certains livres, Cliquer le bouton afficher les détails pour voir lesquels.
Le Gardien de la Pierre
Traceback (most recent call last):
File "site-packages\calibre\library\save_to_disk.py", line 434, in save_serialized_to_disk
File "site-packages\calibre\library\save_to_disk.py", line 306, in do_save_book_to_disk
ValueError: A échoué à calculer le chemin pour enregistrer sur le disque. Modèle : {tags:contains(Export_Par_Serie,-Series-/,{authors:.1}/{title}/)}{title}
Erreur : Incorrect number of arguments for function contains
... And 1 block like this for every ebook ...
Code:
{tags:contains(By_series,
-Series-/{series}/{series_index:0>2s} - {title} \[{authors}\],
{authors:.1}/{authors}{series:| - |/{series_index:0>2s}} - {title})
Best regards,
Thomas