diff --git a/plex-ttp.js b/plex-ttp.js index 0d5e638..eade4bb 100644 --- a/plex-ttp.js +++ b/plex-ttp.js @@ -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(); @@ -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++; @@ -139,4 +141,4 @@ if (argv.d) { } if (argv.s) - DoMainScan(); \ No newline at end of file + DoMainScan();