1
0
mirror of https://github.com/thebaer/cdr.git synced 2024-11-15 01:31:01 +00:00

Fix return vals in NewTrack()

This commit is contained in:
Matt Baer 2020-02-26 00:28:15 -05:00
parent ef54c10c9d
commit ce6fec195a

View File

@ -29,7 +29,7 @@ func NewTrack(file string) (*Track, error) {
Title: m.Title(), Title: m.Title(),
Artist: m.Artist(), Artist: m.Artist(),
Filename: f.Name(), Filename: f.Name(),
} }, nil
} }
// RenameTrack takes a filename, opens it, reads the metadata, and returns both // RenameTrack takes a filename, opens it, reads the metadata, and returns both