Add a message for when we're reconstructing a moved/deleted file before playback

This commit is contained in:
6ea86b96 2017-05-28 17:38:36 +04:00
parent 89c4402d67
commit 862d711391
No known key found for this signature in database
GPG key ID: B282D183E4931E8F

View file

@ -101,7 +101,9 @@ class Video extends React.Component {
let loadStatusMessage = ''
if (isLoading) {
if(fileInfo && fileInfo.completed && !fileInfo.written_bytes) {
loadStatusMessage = "It looks like you deleted or moved this file. We're rebuilding it now. It will only take a few seconds."
} else if (isLoading) {
loadStatusMessage = "Requesting stream... it may sit here for like 15-20 seconds in a really awkward way... we're working on it"
} else if (isDownloading) {
loadStatusMessage = "Downloading stream... not long left now!"