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.

Improve fission integration

+15 -3
+15 -3
src/Javascript/Brain/user.js
··· 141 141 142 142 143 143 ports.deconstructFission = _app => _ => { 144 - // TODO: Disable redirect 145 - wn.leave() 146 - 144 + wn.leave({ withoutRedirect: true }) 147 145 wn = null 148 146 wnfs = null 149 147 } ··· 204 202 205 203 ports.toFission = app => event => { 206 204 fission() 205 + .then(() => { 206 + switch (event.data.file) { 207 + 208 + case "playlists.json": 209 + return wnfs.exists(PLAYLISTS_PATH).then(exists => { 210 + if (exists) return null 211 + return wnfs.mkdir(PLAYLISTS_PATH) 212 + }) 213 + 214 + default: 215 + return null 216 + 217 + } 218 + }) 207 219 .then(() => { 208 220 let playlistFilenames 209 221