Moved package import location

This commit is contained in:
HaveAGitGat 2020-02-02 03:59:49 +00:00 committed by GitHub
parent e56addc202
commit 55c35650b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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