Commit Graph

7 Commits (master)

Author SHA1 Message Date
AnthonyF cf9d43fed2 Housekeeping + Minor bugfixes
Fixed: #186, #188, #189

Cleaned up lingering `.format()`s and replaced with appropriate f-strings.

Updated project structure to slightly more modern standards.
2021-12-09 21:18:42 -05:00
AnthonyF f3e91a7d4d Exposed slugify args
Enhanced flexibility when naming output files:
Example: `--template="%{artist}/%{album}/%{track}-%{title}" --space-char="_"`

Would produce "scene" style filenames.

Also added is the ability to:
 - Retain upper case letters
 - Leave spaces intact
 - Convert characters to ASCII (北京 -> beijing)
 - Allow additional characters like `()[];` etc
2021-01-10 15:03:53 -05:00
Anthony Forsberg 243e537684 Switch to shutil for getting terminal size
Due to possible permissions issues with automated testing switching to shutil to indirectly call os.get_terminal_size() is best.
2018-03-09 20:24:52 -05:00
Anthony Forsberg af0635cfac Transition from sys.stdiout.write to print
Homebrew Jenkins testing compatability
2018-03-06 17:33:09 -05:00
Anthony Forsberg e8a016fc35 Fixes #138 for all terminals 2018-02-07 17:32:53 -05:00
Anthony Forsberg ce27187c87 init needed to import patch 2017-01-28 06:19:06 -05:00
Anthony Forsberg 88107f7538 Fixes #100 and possibly #99
Patches Requests if Python version is below 3.6.0 to fix a quirk in
httplib relating to utf-8 headers.

Also tracks are now sanitized before tagging.
2017-01-28 06:12:21 -05:00