rmcrackan / Libation

Libation: Liberate your Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow limiting character length of files and folders to reduce errors

jwsmesaaz opened this issue · comments

I put the most important information up front however some books I have found will have a lot of text for the chapter names. When these names are added to the audio title the character length is longer than what should be used and it causes errors when copying the files to a server. This also causes errors on the server if I save the books directly to the server.

I would propose in the Custom file naming section of the Download/Decrypt tab of the Setting having an option to limit the amount o characters. A text box where 0 is no limit then a character limit more than 0 would follow the naming convention but only add those many characters to the file/folder.

I've looked at using Microsoft VBA to rename the folders/files if the names are too long then moving them over to the server. The length of the folder impacts the amount of characters can be used in the file when using FSO which I'm still working on. I think I'm going to rename the folders first then I'll know how many characters I can have in each file to use this function.

image