meeb / bandcampsync

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

Handle slashes in artist, title and track names #3

Closed meeb closed 10 months ago

meeb commented 10 months 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 10 months ago

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