Browse Source

Use spotify external url

Toni Fadjukoff 6 years ago
parent
commit
9a1855fff7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      web.go

+ 1 - 0
web.go View File

@@ -121,6 +121,7 @@ func updateHandler(w http.ResponseWriter, r *http.Request) {
121 121
 			}
122 122
 		}
123 123
 		title = track.Name
124
+		url = track.ExternalUrls.Spotify
124 125
 	}
125 126
 
126 127
 	songs, err := loadDb()