- // Find first video that is good for our download speed (remember they are sorted)
- let betterResolutionFile = this.files.find(f => actualDownloadSpeed > (f.size / this.duration))
+ this.descriptionPath = hash.descriptionPath
+ this.files = hash.files
+ this.channel = new VideoChannel(hash.channel)
+ this.account = new Account(hash.account)
+ this.tags = hash.tags
+ this.support = hash.support
+ this.commentsEnabled = hash.commentsEnabled
+ this.downloadEnabled = hash.downloadEnabled