A music player that connects to your cloud/distributed storage.
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

Transform url when downloading tracks

+2 -1
+2 -1
src/Javascript/index.js
··· 634 634 return group.tracks.reduce( 635 635 (acc, track) => { 636 636 return acc 637 - .then(_ => fetch(track.url)) 637 + .then(_ => transformUrl(track.url)) 638 + .then(fetch) 638 639 .then(r => { 639 640 const mimeType = r.headers.get("content-type") 640 641 const fileExt = fileExtension(mimeType) || "unknown"