Skip to content

Can't donwload files if title or subtitle is too long #215

@vcalv

Description

@vcalv

I've just come across an audiobook where the filename for the aaxc file is well over the usual limit (256 bytes).

Most filesystems, and the linux internals, usually have a maximum length for a filename (full path).

The limit is usually 256 bytes.

Apparently it's not difficult for the automatically generated filename to exceed that.

Once that happens, every file operations fails with [Errno 36] File name too long.

This is a very low level error, not easy to circumvent.

two options here:

  • Truncate automatic filenames to a specifiable maximum length
  • Allow the user to specify the filename or template, either on the command line or config

As it stands there are definitely audiobooks not downloadable as of now.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions