diff --git a/package.json b/package.json index 595e8be7b..8cf408b46 100644 --- a/package.json +++ b/package.json @@ -135,7 +135,7 @@ "yarn": "^1.3" }, "lbrySettings": { - "lbrynetDaemonVersion": "0.30.4", + "lbrynetDaemonVersion": "0.31.0", "lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-OSNAME.zip", "lbrynetDaemonDir": "static/daemon", "lbrynetDaemonFileName": "lbrynet" diff --git a/src/renderer/component/fileDetails/view.jsx b/src/renderer/component/fileDetails/view.jsx index aa2eb9f5b..7e71516b3 100644 --- a/src/renderer/component/fileDetails/view.jsx +++ b/src/renderer/component/fileDetails/view.jsx @@ -62,7 +62,14 @@ class FileDetails extends PureComponent { const { description, language, license } = metadata; const mediaType = contentType || 'unknown'; - const downloadPath = fileInfo ? path.normalize(fileInfo.download_path) : null; + let downloadPath = + fileInfo && fileInfo.download_path ? path.normalize(fileInfo.download_path) : null; + let downloadNote; + // If the path is blank, file is not avialable. Create path from name so the folder opens on click. + if (fileInfo && fileInfo.download_path === null) { + downloadPath = `${fileInfo.download_directory}/${fileInfo.file_name}`; + downloadNote = 'This file may have been moved or deleted'; + } return ( @@ -99,7 +106,7 @@ class FileDetails extends PureComponent {