From 7b2ff4ae9b9ff091cc4262d268341eb199a6c878 Mon Sep 17 00:00:00 2001 From: Lucas Duailibe Date: Sun, 17 Mar 2013 02:50:32 -0300 Subject: [PATCH] fix mbsync bug This fixes a bug that only applied changes to the first item of an album --- beetsplug/mbsync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beetsplug/mbsync.py b/beetsplug/mbsync.py index 97ecee3ae..644c29978 100644 --- a/beetsplug/mbsync.py +++ b/beetsplug/mbsync.py @@ -111,8 +111,8 @@ def mbsync_albums(lib, query, move, pretend, write): autotag.apply_metadata(album_info, mapping) changed = False for item in items: - changed = changed or \ - _print_and_apply_changes(lib, item, move, pretend, write) + changed = _print_and_apply_changes(lib, item, move, pretend, + write) or changed if not changed: # No change to any item. continue