Skip to content
This repository has been archived by the owner on Jun 15, 2018. It is now read-only.

Commit

Permalink
Issue #78 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
thecoder75 committed Oct 16, 2017
1 parent 3809113 commit e186678
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ function importVideoIdList() {
mainwin.send('update-status', { message : 'Import error while accessing the file.' });
setTimeout(function(){
mainwin.send('hide-status');
}, 2000);
}, 2500);
} else {
var t = data.split('\n'), i = 0, idlist = [];

Expand All @@ -582,6 +582,10 @@ function importVideoIdList() {

mainwin.send('update-status', { message : 'Found '+idlist.length+' entries to import.' });
_importVideoIdList(idlist);

setTimeout(function(){
mainwin.send('hide-status');
}, 2500);
}
});
}
Expand All @@ -590,11 +594,11 @@ function importVideoIdList() {

function _importVideoIdList(list) {
var entry = list.shift();
LiveMe.getVideoInfo(vidTest)
LiveMe.getVideoInfo(entry)
.then(video => {

if (video.vid.length > 16) {
Downloads.add({
Downloader.add({
user: {
id: video.userid,
name: video.uname
Expand Down

0 comments on commit e186678

Please sign in to comment.