mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-15 02:05:54 -07:00
Moved package import location
This commit is contained in:
parent
e56addc202
commit
55c35650b8
1 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const iso6392 = require('/home/Tdarr/Documents/node_modules/iso-639-2');
|
|
||||||
|
|
||||||
function details() {
|
function details() {
|
||||||
return {
|
return {
|
||||||
|
|
@ -14,6 +13,9 @@ function details() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function plugin(file) {
|
function plugin(file) {
|
||||||
|
//Additional packages used here so details function above will still work if packages aren't installed
|
||||||
|
const iso6392 = require('/home/Tdarr/Documents/node_modules/iso-639-2');
|
||||||
|
|
||||||
var i = 0; //int for counting lang[position]
|
var i = 0; //int for counting lang[position]
|
||||||
var sub = 0; //becomes first subtitle stream
|
var sub = 0; //becomes first subtitle stream
|
||||||
var lang = iso6392; //languages to check against
|
var lang = iso6392; //languages to check against
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue