mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 07:29:04 -07:00
Auto stash before merge of "master" and "HaveAGitGat/master"
This commit is contained in:
parent
c9f3b44efd
commit
87f5089288
2 changed files with 3 additions and 0 deletions
1
.gitignore
vendored
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…
Add table
Add a link
Reference in a new issue