Skip to content

Command line flag to truncate long episode filenames to avoid Windows MAX_PATH failures#3

Open
luvchurchill wants to merge 1 commit intoElcoid:masterfrom
luvchurchill:short-filename
Open

Command line flag to truncate long episode filenames to avoid Windows MAX_PATH failures#3
luvchurchill wants to merge 1 commit intoElcoid:masterfrom
luvchurchill:short-filename

Conversation

@luvchurchill
Copy link
Contributor

Added:

    -s, --short-filename    Truncates filenames to 140 characters to stay under Windows path length
                            limits.

I'm not sure that this was an issue when downloading on windows but I had this issue when downloading on linux and then attempting to move the file to windows and hitting the MAX PATH restriction.

@Elcoid
Copy link
Owner

Elcoid commented Sep 11, 2025

Hi, that's an interesting idea! I don't have my equipment with me at the moment, sorry, so I will have a closer look in the next days.

One question I have when looking at the patch: why add a CLI flag for this feature? I feel like it's something people would set in their config file if they think they might need it and not think about it after. Is there a use case where someone would want to use it sometimes and specifically not use it other times?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants