View Single Post
Old 07-18-2013, 09:26 AM   #1
Capricorn
Belgian Pommes Frites
Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.Capricorn turned on, tuned in, and dropped out.
 
Posts: 122
Karma: 35038
Join Date: Jan 2012
Device: Pocketbook Touch HD
change the length of the pathname when sending to device

I use an Iriver HD Story ebook reader. The maximum length of the pathname and the epub name combined, on the ebook reader, may not exceed 200 characters, otherwise the epub will not open on the ebook reader.

However, I have some ebooks that have lots of authors (collections of stories by a number of authors), and hence makes for a pathname on the ebook reader that is really long - way beyond 200 characters.

Hence I have been experimenting in the preferences ->import/export->sending to devices
with the template to save the epub to the device.

I have tried:
{author_sort: sublist (0, 4, &)}/{title} - {series_index} {series}
and
{author_sort: shorten (80, -, 20)}/{title} - {series_index} {series}

but it does not change the length of the pathname at all.

I have searched the calibre forum for info, because it is the first time I try to change this template and my understanding is still very basic, but I did not find anything.

Is my syntax wrong? Or am I doing something else wrong? Or is there a far easier way to accomplish the same?

Any pointers or info would be much appreciated?
Many thanks,
Capricorn is offline   Reply With Quote