Correct lightroom video date after export
[] Step 1 : List all video files [] Step 2 : list metadata [] Step 3 : found the good one for the timestamp [] Step 4 : Build the database [] Step 5 : Use Step 1 to found invalid video files on NAS [] Step 6 : Recover info from DB with the filename [] Step 7 : Update metadata
Dependencies
sudo apt-get install mediainfo
sudo apt-get install libimage-exiftool-perl
Config
Create a .env
file with the following values
SRC_PATH
: Primary RAW files base treeLIST_FILE
: name of the file containing all the moviesDATES_FILE
:name of the CSV file containing the tuples movies name / dateSRC_NAS_PATH
: export base treeNAS_LIST_FILE
: name of the file containing all the exported moviesFIXED_FILE
: name of the file containing the fixed files pathPROBLEMATIC_FILE
: name of the file containing the problematic files path
SRC_PATH=
LIST_FILE=
DATES_FILE=
SRC_NAS_PATH=
NAS_LIST_FILE=
FIXED_FILE=
PROBLEMATIC_FILE=
Usage
- write config
- run script in order
- check output
If working on a NAS, proccess ccan be slow, dates database can be build locally and then sent to the NAS where script 3
and 4
could be used.
TODO
- Add a params to switch from
file_name
tofull_file_name
in script4
- concat script
1
and3