|
|
@@ -116,8 +116,7 @@ const processWithHandbrake = (input, output, preset) => {
|
|
|
};
|
|
|
|
|
|
const processFile = async (file) => {
|
|
|
- let adapter,
|
|
|
- db,
|
|
|
+ let db,
|
|
|
options,
|
|
|
preset = 'Fast 1080p30',
|
|
|
clean = {
|
|
|
@@ -209,7 +208,7 @@ const processFile = async (file) => {
|
|
|
|
|
|
// cleanup removes from the db
|
|
|
const cleanup = (file) => {
|
|
|
- let adapter, db, options;
|
|
|
+ let db;
|
|
|
for (let i = 0, l = dirs.length; i < l; i++) {
|
|
|
let dir = dirs[i]; // pointer to the dir
|
|
|
if (file && dir && file.indexOf(dir) > -1) { // is this in this path?
|