From 1a37db732ec0eb7becd0a52d9f1af3bdb588ffae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Detrey?= Date: Sun, 29 Apr 2018 18:00:36 +0200 Subject: [PATCH] More fitting name for total track count. --- beets/autotag/mb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beets/autotag/mb.py b/beets/autotag/mb.py index 0539c909e..268baf766 100644 --- a/beets/autotag/mb.py +++ b/beets/autotag/mb.py @@ -283,7 +283,7 @@ def album_info(release): all_tracks = medium['track-list'] if 'data-track-list' in medium: all_tracks += medium['data-track-list'] - total = len(all_tracks) + track_count = len(all_tracks) if 'pregap' in medium: all_tracks.insert(0, medium['pregap']) @@ -306,7 +306,7 @@ def album_info(release): index, int(medium['position']), int(track['position']), - total, + track_count, ) ti.disctitle = disctitle ti.media = format