Add folder dropping, fix rate limits

- Add folder drag and drop support
- Do expodential retrying if rate limited, allowing upload of very large drive folders
- Do not import deleted files
- Move the upload buttons to their own line
- Notify when no TJA files have been found
- Add more translations
This commit is contained in:
LoveEevee
2020-11-04 03:12:46 +03:00
parent 180ec58adb
commit 5094b0bc70
11 changed files with 345 additions and 66 deletions

View File

@@ -252,8 +252,8 @@ class Controller{
}))
}
if(songObj.lyricsFile){
promises.push(songObj.lyricsFile.read().then(event => {
songObj.lyricsData = event.target.result
promises.push(songObj.lyricsFile.read().then(result => {
songObj.lyricsData = result
}, () => Promise.resolve()), songObj.lyricsFile.path)
}
Promise.all(promises).then(resolve)