mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 23:48:15 -07:00
lint init
This commit is contained in:
parent
a71f5e28ae
commit
7904647075
107 changed files with 1772 additions and 154624 deletions
|
|
@ -1,3 +1,4 @@
|
|||
/* eslint-disable */
|
||||
function remuxContainer(file, container) {
|
||||
try {
|
||||
if (file.container != container) {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
/* eslint-disable */
|
||||
module.exports = function transcodeAddAudioStream(
|
||||
file,
|
||||
audioEncoder,
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
/* eslint-disable */
|
||||
module.exports = function transcodeKeepOneAudioStream(
|
||||
file,
|
||||
audioEncoder,
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
/* eslint-disable */
|
||||
module.exports = function transcodeStandardiseAudioCodecs(file, audioEncoder) {
|
||||
//Function required responses
|
||||
// preset
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
/* eslint-disable */
|
||||
function filterByAge(file, ageCutOff_Seconds) {
|
||||
try {
|
||||
var timeNow = new Date();
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
/* eslint-disable */
|
||||
function filterByCodec(file, mode, codecs) {
|
||||
try {
|
||||
// console.log(file,mode,codecs)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
/* eslint-disable */
|
||||
function filterByMedium(file, medium) {
|
||||
try {
|
||||
if (file.fileMedium !== medium) {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
/* eslint-disable */
|
||||
function filterByResolution(file, mode, resolution) {
|
||||
try {
|
||||
if (mode === "exclude") {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
/* eslint-disable */
|
||||
function filterBySize(file, lowerBound, upperBound) {
|
||||
try {
|
||||
if (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue