-
Notifications
You must be signed in to change notification settings - Fork 0
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
Improve playlist filenames #28
Labels
enhancement
New feature or request
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The playlists directory contains files whose filename is in the
[id].json
format. That makes identification of a given playlist difficult. The goal of this dev would be to include the playlist title in the filename, but in downcase and cleaned from any undesired characters (whitespace, dashes, special characters, etc.).[id]_hip_hop.json
-- downcase, dash transformed into underscore[id]_funk_and_soul.json
-- downcase, whitespace transformed into underscore[id]_funk_soul.json
-- downcase, whitespace and "&" transformed into underscore, more than 1 underscore limited to 1 underscore[id]_downtempo_nu_jazz
-- downcase, whitespace and "/" transformed into underscore, more than 1 underscore limited to 1 underscoreUse jqwik to write a property-based test for this logic.
The text was updated successfully, but these errors were encountered: