adds manual movie collection edit
This commit is contained in:
@@ -97,12 +97,13 @@ async function filesFromTorrentStream(torrent) {
|
||||
setTimeout(() => {
|
||||
engine.destroy();
|
||||
rejected(new Error('No available connections for torrent!'));
|
||||
}, 30000);
|
||||
}, 60000);
|
||||
});
|
||||
}
|
||||
|
||||
function isVideo(title) {
|
||||
return EXTENSIONS.includes(title.path.match(/\.(\w{2,4})$/)[1]);
|
||||
const match = title.path.match(/\.(\w{2,4})$/);
|
||||
return match && EXTENSIONS.includes(match[1]);
|
||||
}
|
||||
|
||||
function dynamicTimeout(torrent) {
|
||||
|
||||
Reference in New Issue
Block a user