diff options
Diffstat (limited to 'src/page_artists.go')
-rw-r--r-- | src/page_artists.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/page_artists.go b/src/page_artists.go index a472a3d..ef037e6 100644 --- a/src/page_artists.go +++ b/src/page_artists.go | |||
@@ -122,7 +122,7 @@ func (a *app) loadAlbumInPanel(id string) error { | |||
122 | a.songsList.Clear() | 122 | a.songsList.Clear() |
123 | a.currentSongs = album.Song | 123 | a.currentSongs = album.Song |
124 | for _, song := range album.Song { | 124 | for _, song := range album.Song { |
125 | txt := fmt.Sprintf("%-2d - %s", song.Track, song.Title) | 125 | txt := fmt.Sprintf("[%02d:%02d:%02d] %d.%d - %s", (song.Duration / 3600), (song.Duration / 60), (song.Duration % 60), song.DiscNumber, song.Track, song.Title) |
126 | 126 | ||
127 | a.songsList.AddItem(txt, "", 0, func() { | 127 | a.songsList.AddItem(txt, "", 0, func() { |
128 | sel := a.songsList.GetCurrentItem() | 128 | sel := a.songsList.GetCurrentItem() |