mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-16 10:45:53 -07:00
Merge branch 'master' of https://github.com/HaveAGitGat/Tdarr_Plugins
This commit is contained in:
commit
f1063c15f1
8 changed files with 173 additions and 44 deletions
|
|
@ -1,5 +1,4 @@
|
|||
const fs = require('fs');
|
||||
const iso6392 = require('/home/Tdarr/Documents/node_modules/iso-639-2');
|
||||
|
||||
function details() {
|
||||
return {
|
||||
|
|
@ -15,6 +14,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