Improve track info dialog box

This commit is contained in:
Keith Edmunds 2021-08-22 13:02:03 +01:00
parent 0caf48919c
commit d767c879c6

View File

@ -655,8 +655,12 @@ class PlaylistTab(QTableWidget):
txt = (
f"Title: {track.title}\n"
f"Artist: {track.artist}\n"
f"Track ID: {track.id}\n"
f"Track duration: {helpers.ms_to_mmss(track.duration)}\n"
f"Track fade at: {helpers.ms_to_mmss(track.fade_at)}\n"
f"Track silence at: {helpers.ms_to_mmss(track.silence_at)}"
"\n\n"
f"Path: {track.path}\n"
f"Track ID: {track.id}"
)
info = QMessageBox(self)
info.setIcon(QMessageBox.Information)