Auto stash before merge of "master" and "HaveAGitGat/master"

make-only-subtitle-default
Rick Meijer 5 years ago
parent c9f3b44efd
commit 87f5089288
No known key found for this signature in database
GPG Key ID: C36BEC4306EE98E2

1
.gitignore vendored

@ -1 +1,2 @@
.idea/
/node_modules

@ -1,4 +1,5 @@
const fs = require('fs');
const path = require('path');
module.exports.details = function details() {
return {
@ -90,6 +91,7 @@ module.exports.plugin = function plugin(file, librarySettings, inputs, otherArgu
subsFile[subsFile.length - 2] += `.${lang}`;
subsFile[subsFile.length - 1] = 'srt';
subsFile = subsFile.join('.');
subsFile = path.join(librarySettings.folder, subsFile);
const { index } = subStream;
if (fs.existsSync(`${subsFile}`)) {

Loading…
Cancel
Save