From 0619fb70eac3ca88c8d19e4a525a60516d349ccd Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Sat, 1 Feb 2020 19:24:13 -0500 Subject: [PATCH] Push xesam:url metadata (#10) --- tracklist.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tracklist.go b/tracklist.go index b65dab0..1aca0da 100644 --- a/tracklist.go +++ b/tracklist.go @@ -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})