Fixed a bug where the track metadata was shifted by 1 in the table.
This commit is contained in:
parent
6141f34f2f
commit
239e50bfc9
1 changed files with 4 additions and 4 deletions
|
@ -56,10 +56,10 @@ class Library:
|
||||||
)
|
)
|
||||||
|
|
||||||
track_item.track = track
|
track_item.track = track
|
||||||
track_item.setText(1, track.tags.title)
|
track_item.setText(2, track.tags.title)
|
||||||
track_item.setText(2, track.tags.artist)
|
track_item.setText(3, track.tags.artist)
|
||||||
track_item.setText(3, track.tags.album)
|
track_item.setText(4, track.tags.album)
|
||||||
track_item.setText(4, str(i + 1))
|
track_item.setText(5, str(i + 1))
|
||||||
|
|
||||||
i += 1
|
i += 1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue