mirror of
https://github.com/casualsnek/onthespot.git
synced 2026-04-27 04:55:57 +03:00
[GH-ISSUE #25] feature: adding file naming formatting for songs #14
Labels
No labels
Feedback requested
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/onthespot#14
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 @calvin-li-developer on GitHub (Oct 20, 2022).
Original GitHub issue: https://github.com/casualsnek/onthespot/issues/25
currently in the advance settings you can add {track_number} {name}. Is it possible to make it 0{track_number} {name} ?
example:
current: 4 Bad Habits
request: 04 Bad Habits
this should also be changed for the lrc files.
@casualsnek commented on GitHub (Oct 20, 2022):
You should be able to do that with no issue, but if you use 0{track_number} it will use 010 if you go over 9th track.
@calvin-li-developer commented on GitHub (Oct 21, 2022):
is there any to format it so that it always have 2 digit placement for songs? I understand you're method works for single digit track number but it would be great if there's option for this.
@casualsnek commented on GitHub (Apr 7, 2023):
can you try
{track_number:0>2d}and see if it works ? This should work as you expect! You can refer to python fstring formats for more !You may close the issue if this does what you want !