summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerene <33189705+Serene-Arc@users.noreply.github.com>2023-12-01 09:07:17 +1000
committerGitHub <noreply@github.com>2023-12-01 09:07:17 +1000
commitc4c82e908e20c5d04d580887df6a826bf118c7ed (patch)
treed2f40e60ad3741fd57dd06c0fe756a5db249b6dd
parent4a6668a0cd3f988779cbedf71bcb7f5672205ff1 (diff)
parent9dd59058fe229ff742310829b624d516ecdca358 (diff)
Merge pull request #5007 from Serene-Arc/track_change_info
Revert line change behaviour when importing tracks
-rwxr-xr-xbeets/ui/commands.py9
-rw-r--r--docs/changelog.rst2
2 files changed, 8 insertions, 3 deletions
diff --git a/beets/ui/commands.py b/beets/ui/commands.py
index ad4f7821d..439858477 100755
--- a/beets/ui/commands.py
+++ b/beets/ui/commands.py
@@ -680,10 +680,13 @@ class AlbumChange(ChangeRepresentation):
# Save new medium details for future comparison.
medium, disctitle = track_info.medium, track_info.disctitle
- if config["import"]["detail"]:
- # Construct the line tuple for the track.
- left, right = self.make_line(item, track_info)
+ # Construct the line tuple for the track.
+ left, right = self.make_line(item, track_info)
+ if right["contents"] != "":
lines.append((left, right))
+ else:
+ if config["import"]["detail"]:
+ lines.append((left, right))
self.print_tracklist(lines)
# Missing and unmatched tracks.
diff --git a/docs/changelog.rst b/docs/changelog.rst
index 1ff5b59c8..52e7069bf 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -263,6 +263,8 @@ Bug fixes:
a null path that can't be removed.
* Fix bug where empty artist and title fields would return None instead of an
empty list in the discord plugin. :bug:`4973`
+* Fix bug regarding displaying tracks that have been changed not being
+ displayed unless the detail configuration is enabled.
For packagers: