From eacdb0d0e4334fe8a84f54b0779cbb2d3c4b232f Mon Sep 17 00:00:00 2001 From: Dorian Soergel Date: Fri, 7 Jun 2019 17:15:04 +0200 Subject: [PATCH] refetching works moved to new PR --- beetsplug/parentwork.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/beetsplug/parentwork.py b/beetsplug/parentwork.py index 2c04fb5e9..681cff226 100644 --- a/beetsplug/parentwork.py +++ b/beetsplug/parentwork.py @@ -168,17 +168,13 @@ https://musicbrainz.org/work/{}', item, work_info['work']['id']) self._log.info('No work for {}, \ add one at https://musicbrainz.org/recording/{}', item, item.mb_trackid) return - workcorrect=True - if hasattr(item, 'mb_workid_current'): - workcorrect=item.mb_workid_current==item.mb_workid - if force or (not hasparent) or (not workcorrect): + if force or (not hasparent): try: work_info, work_date = find_parentwork_info(item.mb_workid) except musicbrainzngs.musicbrainz.WebServiceError as e: self._log.debug("error fetching work: {}", e) return parent_info = self.get_info(item, work_info) - parent_info['mb_workid_current']=item.mb_workid if 'parent_composer' in parent_info: self._log.debug("Work fetched: {} - {}", parent_info['parentwork'],