From e8962f99c6ffdd5b018299ed6d3dbc6d05a10037 Mon Sep 17 00:00:00 2001 From: "adrian.sampson" Date: Wed, 15 Apr 2009 05:32:08 +0000 Subject: [PATCH] set tracktotal, not track_total --HG-- extra : convert_revision : svn%3A41726ec3-264d-0410-9c23-a9f1637257cc/trunk%40219 --- beets/autotag/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/beets/autotag/__init__.py b/beets/autotag/__init__.py index 095f49ef5..3163bcaba 100644 --- a/beets/autotag/__init__.py +++ b/beets/autotag/__init__.py @@ -152,7 +152,8 @@ def tag_album_dir(path, lib): item.artist = info['artist'] item.album = info['album'] - item.track_total = len(items) + item.tracktotal = len(items) + item.year = info['year'] if 'month' in info: item.month = info['month']