mirror of
https://github.com/Rafiuth/Soggfy.git
synced 2026-04-25 15:16:00 +03:00
[GH-ISSUE #14] Special Characters #12
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Soggfy#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Itschotsch on GitHub (Feb 14, 2022).
Original GitHub issue: https://github.com/Rafiuth/Soggfy/issues/14
Some song titles contain very weird special characters or are extremely long, which is not allowed in directory or file names by the OS (Windows in my case). If the track template path in the Soggfy settings is something like
{artist_name}/{album_name}{multi_disc_path}/{track_num}. {track_name}.ogg, Soggfy will try to name the file accordingly, which will obviously not work. I found that in this case, the file will not be saved at all. (But the green checkmark next to the song will sometimes still appear.) I suggest replacing all non-latin characters with a-or similar and limiting the file name length before saving the file.@Rafiuth commented on GitHub (Feb 14, 2022):
Special path characters are replaced with unicodes that look similar, but they look weird on Windows Explorer.
I'll implement an option to trim long names and replace special characters with a dash.
@Rafiuth commented on GitHub (Feb 15, 2022):
Support for long paths in added in
7aaadf1, please let me know if it fixes your issue.Binaries