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.

Should create fission playlist path if it doesn't exist yet

+7 -1
+7 -1
src/Javascript/Brain/user.js
··· 226 226 `${playlist.name}.json` 227 227 ) 228 228 229 - return wnfs.ls(PLAYLISTS_PATH).then(list => 229 + return wnfs.exists(PLAYLISTS_PATH).then(exists => { 230 + return wnfs.mkdir(PLAYLISTS_PATH) 231 + 232 + }).then(_ => 233 + wnfs.ls(PLAYLISTS_PATH) 234 + 235 + ).then(list => 230 236 // delete playlists that are no longer in the catalog 231 237 Object.values(list).map(l => l.name).filter(name => 232 238 !playlistFilenames.includes(name)