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:
parent
ef54c10c9d
commit
ce6fec195a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user