Skip to content

Commit 0619fb7

Browse files
authored
Push xesam:url metadata (#10)
1 parent 6ef47ae commit 0619fb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tracklist.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ func MapFromSong(s mpd.Song) MetadataMap {
6262

6363
m.nonEmptyString("xesam:album", s.Album)
6464
m.nonEmptyString("xesam:title", s.Title)
65+
m.nonEmptyString("xesam:url", s.Path())
6566
m.nonEmptyString("xesam:contentCreated", s.Date)
6667
m.nonEmptySlice("xesam:albumArtist", []string{s.AlbumArtist})
6768
m.nonEmptySlice("xesam:artist", []string{s.Artist})

0 commit comments

Comments
 (0)