Bug 39 - Split user-definable mungefilename function into finer-grained mungetrackname, mungeartistname, and mungealbumname functions
Summary: Split user-definable mungefilename function into finer-grained mungetrackname...
Alias: None
Product: abcde
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: All All
: Normal enhancement
Assignee: Andrew Strong
Depends on:
Reported: 2016-07-25 01:51 BST by GeraldTurner
Modified: 2016-08-05 03:14 BST (History)
1 user (show)

See Also:

0001-Split-user-definable-mungefilename-function.patch (5.22 KB, patch)
2016-07-25 01:51 BST, GeraldTurner

Note You need to log in before you can comment on or make changes to this bug.
Description GeraldTurner 2016-07-25 01:51:18 BST
Created attachment 25 [details]


A colleague and I have been collaborationg on a large collection of music using abcde since 2002.  Way back then we decided that we wanted to tweak the transformations done to the filenames, and the singular mungefilename function wasn't quite enough, so we've been carrying around a minor patch to abcde ever since.

I've cleaned up the patch so it should apply to the git HEAD, and tested it ensuring that there are no surprises for anyone unaware or not interested overriding the extra user-defined functions.

I'd like to see this patch applied upstream so we can quit hacking our Debian installs ;-)
Comment 1 Andrew Strong 2016-08-02 08:59:48 BST
Looks good, particularly as it does not interfere with the default behaviour expected by those who do not wish such fine control.

Just for curiosity what sort of customised munging have you been using?
Comment 2 Andrew Strong 2016-08-05 03:14:05 BST
I have committed the patch and just added a brief mention in the man pages. I will perhaps expand this mention later.

Thanks for the great idea and the patch!!