Quote:
Originally Posted by Xwang
The problem is originated by the 256 character windows limit on complete path length.
I've discovered that using the plugin under linux, it creates a lot of book with an excessively long path.
So I wonder if it is possible to modify the plugin so that to limit the length of file and directory name maintaining the full title in the metadata.
|
No, there isn't, calibre doesn't allow you to control the file names directly.
But since you're already changing the title/authors, you can do other things. Replace common words/phrases with abbreviations: 'Federal Aviation Administration' with 'FAA', etc.
Code:
mi.title = mi.title.replace('Federal Aviation Administration','FAA')
You can also force them to be no more than a max length something like so:
Code:
mi.title = mi.title.replace('Federal Aviation Administration','FAA')
mi.title = mi.title[:-5][:100]
Jim