diff --git a/js/page/my_files.js b/js/page/my_files.js
index d0e7b314b..e68203d03 100644
--- a/js/page/my_files.js
+++ b/js/page/my_files.js
@@ -151,16 +151,19 @@ var MyFilesPage = React.createClass({
var content = You haven't downloaded anything from LBRY yet. Go !;
} else {
var content = [],
- keyIndex = 0;
+ seenUris = {};
+
for (let fileInfo of this.state.filesInfo) {
let {completed, written_bytes, total_bytes, lbry_uri, file_name, download_path,
stopped, metadata} = fileInfo;
- if (!metadata)
+ if (!metadata || seenUris[lbry_uri])
{
continue;
}
+ seenUris[lbry_uri] = true;
+
let {title, thumbnail} = metadata;
if (!fileInfo.pending && typeof metadata == 'object') {
@@ -175,7 +178,7 @@ var MyFilesPage = React.createClass({
var ratioLoaded = written_bytes / total_bytes;
var showWatchButton = (lbry.getMediaType(file_name) == 'video' || lbry.getMediaType(file_name) == 'audio');
- content.push();
}