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.

1> A music player that connects to your cloud & distributed storage 2 3[Return to the application](../../)<br /> 4[About](../) 5 6 7 8## Adding Sources Using Query Parameter 9 10```js 11JSON = encodeURIComponent(JSON.stringify({ 12 // Object contents depends on type of source, see below. 13 kind: "ipfs", 14 data: { 15 name: "Music from IPFS", 16 17 // Source type specific 18 directoryHash: "Qm..." 19 } 20})) 21 22"https://diffuse.sh?source=JSON" 23``` 24 25You can add multiple "source" query parameters, if you want to add multiple sources. 26 27### Amazon S3 28 29```yaml 30kind: 31 amazon_s3 32 33data: 34 # Required 35 accessKey 36 bucketName 37 name 38 region 39 secretKey 40 41 # Optional 42 directoryPath 43 host 44``` 45 46### Azure 47 48```yaml 49kind: 50 "azure_file" # or "azure_blob" 51 52data: 53 # Required 54 accountName 55 accountKey 56 container 57 name 58 59 # Optional 60 directoryPath 61``` 62 63### BTFS 64 65```yaml 66kind: 67 btfs 68 69data: 70 # Required 71 directoryHash 72 name 73 74 # Optional 75 gateway 76``` 77 78### Dropbox 79 80```yaml 81kind: 82 dropbox 83 84data: 85 # Required 86 accessToken 87 appKey 88 name 89 90 # Optional 91 directoryPath 92``` 93 94### Google 95 96```yaml 97kind: 98 google 99 100data: 101 # Required 102 authCode 103 clientId 104 clientSecret 105 name 106 107 # Optional 108 folderId 109``` 110 111### IPFS 112 113```yaml 114kind: 115 ipfs 116 117data: 118 # Required 119 directoryHash 120 name 121 122 # Optional 123 gateway 124 ipns ← boolean, `t` of `f` 125 local ← boolean, `t` of `f` 126``` 127 128### WebDAV 129 130```yaml 131kind: 132 webdav 133 134data: 135 # Required 136 name 137 url 138 139 # Optional 140 directoryPath 141 password 142 username 143```