mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 15:38:19 -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 iso6392 = require('/home/Tdarr/Documents/node_modules/iso-639-2');
|
||||
|
||||
function details() {
|
||||
return {
|
||||
|
|
@ -14,6 +13,9 @@ function details() {
|
|||
}
|
||||
|
||||
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 sub = 0; //becomes first subtitle stream
|
||||
var lang = iso6392; //languages to check against
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue