Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorter capitalization of Season Packs #2657

Closed
Safihre opened this issue Aug 16, 2023 · 3 comments
Closed

Sorter capitalization of Season Packs #2657

Safihre opened this issue Aug 16, 2023 · 3 comments

Comments

@Safihre
Copy link
Member

Safihre commented Aug 16, 2023

I bundled 2 bugs in this one report but the Season Packs still don't get proper capitalization.

2023-08-16 06:54:06,106::DEBUG::[filesystem:877] Renaming "....Show.Name.S01.1080p.../Show Name - S01e08.mkv" to "show name/Show Name - S01e08.mkv".

{%sn (%y)/%sn (%y) - S%0se%0e}.%ext
this is the sort string I have so everything so should be lowercase, and it shows as lowercase in the preview, but when it actually processes the files, they end up mixed case.

Originally posted by @ItsME6969 in #2654 (comment)

@jcfp
Copy link
Member

jcfp commented Aug 16, 2023

That's an unintended side effect of splitting the sort string into directory and filename parts:

_, self.season_pack_setname = os.path.split(sort_string)

An easy workaround would be lowercasing both parts separately, i.e. changing the sort string to {%sn (%y)}/{%sn (%y) - S%0se%0e}.%ext until the code is fixed to do that automagically.

@ItsME6969
Copy link

Thanks i will try that.

@Safihre
Copy link
Member Author

Safihre commented Aug 30, 2023

I decided to just update the wiki about this instead of having a complicated solution.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants