mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-17 03:06:27 -07:00
Undo my changes to drpeppershaker plugin
This commit is contained in:
parent
89f2aa3bf1
commit
19c75f9972
1 changed files with 0 additions and 2 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
|
||||||
|
|
||||||
module.exports.details = function details() {
|
module.exports.details = function details() {
|
||||||
return {
|
return {
|
||||||
|
|
@ -91,7 +90,6 @@ module.exports.plugin = function plugin(file, librarySettings, inputs, otherArgu
|
||||||
subsFile[subsFile.length - 2] += `.${lang}`;
|
subsFile[subsFile.length - 2] += `.${lang}`;
|
||||||
subsFile[subsFile.length - 1] = 'srt';
|
subsFile[subsFile.length - 1] = 'srt';
|
||||||
subsFile = subsFile.join('.');
|
subsFile = subsFile.join('.');
|
||||||
subsFile = path.join(librarySettings.folder, subsFile);
|
|
||||||
|
|
||||||
const { index } = subStream;
|
const { index } = subStream;
|
||||||
if (fs.existsSync(`${subsFile}`)) {
|
if (fs.existsSync(`${subsFile}`)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue