Skip to content
This repository has been archived by the owner on Feb 5, 2022. It is now read-only.

Creates necessary columns prior to first scan #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions plex-ttp.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ const evHandler = function () {
function DoMainScan() {
plex.init();


// add a column to bear datetime of TTP tag update and place update
plex.addColumnTTPUpdate();
plex.addColumnPlaceUpdate();

// read list des tags TTP existants
plex.scanTTPTags();

Expand All @@ -46,9 +51,6 @@ function DoMainScan() {
if (recs.length == 0)
return;

// add a colum to bear datetime of TTP tag update
plex.addColumnTTPUpdate();

function doTheUpdate(rec) {
//console.log("doTheUpdate", rec.file);
exifProcessing++;
Expand Down Expand Up @@ -139,4 +141,4 @@ if (argv.d) {
}

if (argv.s)
DoMainScan();
DoMainScan();