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

Configure Feed

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

at 9db48c52fa3e55af5c28fcbd942363d6b8ee2ec4 47 lines 718 B view raw
1/** 2 * @import { Track } from "~/definitions/types.d.ts"; 3 */ 4 5/** 6 * @type {Track} 7 */ 8export const trackA = { 9 $type: "sh.diffuse.output.track", 10 id: "sample-a", 11 uri: "http://example.com/audio-a.mp3", 12 tags: { 13 artist: "Artist", 14 title: "Sample", 15 }, 16}; 17 18/** 19 * @type {Track} 20 */ 21export const trackB = { 22 $type: "sh.diffuse.output.track", 23 id: "sample-b", 24 uri: "http://example.com/audio-b.mp3", 25 tags: { 26 album: "B-side", 27 title: "Unknown", 28 }, 29}; 30 31/** 32 * @type {Track} 33 */ 34export const trackC = { 35 $type: "sh.diffuse.output.track", 36 id: "sample-c", 37 uri: "http://example.com/audio-c.mp3", 38 tags: { 39 title: "Sample C", 40 }, 41}; 42 43export const tracks = [ 44 trackA, 45 trackB, 46 trackC, 47];