From 239e50bfc9bca317e0dfab1bcd9633abbeee3a6d Mon Sep 17 00:00:00 2001 From: wobbl Date: Sun, 29 Dec 2024 19:15:33 +0100 Subject: [PATCH] Fixed a bug where the track metadata was shifted by 1 in the table. --- wobuzz/library/library.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wobuzz/library/library.py b/wobuzz/library/library.py index 2554609..c065b31 100644 --- a/wobuzz/library/library.py +++ b/wobuzz/library/library.py @@ -56,10 +56,10 @@ class Library: ) track_item.track = track - track_item.setText(1, track.tags.title) - track_item.setText(2, track.tags.artist) - track_item.setText(3, track.tags.album) - track_item.setText(4, str(i + 1)) + track_item.setText(2, track.tags.title) + track_item.setText(3, track.tags.artist) + track_item.setText(4, track.tags.album) + track_item.setText(5, str(i + 1)) i += 1