From e3c71df2373938b7b868e04630bb29158f535b85 Mon Sep 17 00:00:00 2001 From: Colin P. Mccabe Date: Fri, 21 Sep 2018 18:00:00 -0700 Subject: [PATCH] tagger.py: set track title for audiobooks Set track title for audiobooks. Some music players sort on this field. --- tagger.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tagger.py b/tagger.py index be22447..ea59b59 100755 --- a/tagger.py +++ b/tagger.py @@ -236,7 +236,7 @@ class MusicFile(object): def from_filename(filename): if (audiobook): match = audiobook_file_name_re.match(filename) - track_name = "" + track_name = match.group('track_number') else: match = music_file_name_re.match(filename) track_name = match.group('track_name') -- 1.6.6.rc1.39.g9a42