Skip to content

Commit

Permalink
Push xesam:url metadata (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
natsukagami authored Feb 2, 2020
1 parent 6ef47ae commit 0619fb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tracklist.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ func MapFromSong(s mpd.Song) MetadataMap {

m.nonEmptyString("xesam:album", s.Album)
m.nonEmptyString("xesam:title", s.Title)
m.nonEmptyString("xesam:url", s.Path())
m.nonEmptyString("xesam:contentCreated", s.Date)
m.nonEmptySlice("xesam:albumArtist", []string{s.AlbumArtist})
m.nonEmptySlice("xesam:artist", []string{s.Artist})
Expand Down

0 comments on commit 0619fb7

Please sign in to comment.