Added Genre() to Metadata interface

This commit is contained in:
David Howden
2015-05-24 22:37:21 +10:00
parent ce0c1dc2f8
commit 8bdc82eff0
3 changed files with 5 additions and 0 deletions
+3
View File
@@ -100,6 +100,9 @@ type Metadata interface {
// Year returns the year of the track.
Year() int
// Genre returns the genre of the track.
Genre() string
// Track returns the track number and total tracks, or zero values if unavailable.
Track() (int, int)