meeb / bandcampsync

Downloads your Bandcamp purchases automatically
BSD 3-Clause "New" or "Revised" License
156 stars 9 forks source link

Handle slashes in artist, title and track names #3

Closed meeb closed 1 year ago

meeb commented 1 year ago

Artists, title and track names (when track names are for single tracks and the title is used) can contain forward and backslashes. These can be converted by pathlib to be valid subdirectory paths. Slashes should be replaced by something filesystem path agnostic like hyphens.

Gondolindrim commented 1 year ago

Might be worth taking a look into special characters in general. Some music names have apostrophes, hyphens and all sorts of characters