infinite scroll

This commit is contained in:
Gabriel Radureau
2025-10-13 15:05:54 +02:00
parent cc9fb9cede
commit 0fa5a30809
10 changed files with 274 additions and 263 deletions

View File

@@ -15,6 +15,7 @@ register_video() {
local lat=${9:-0.000000}
local long=${10:-0.000000}
local address=${11:-Unknown}
address=$(sed "s|'| |g" <<< $address)
if [ -z "$raw_file" ] || [ -z "$mp4_file" ]; then
echo "Error: raw_file and mp4_file are required"
exit 1

View File

@@ -11,5 +11,7 @@ CREATE TABLE IF NOT EXISTS videos (
record_time TIME GENERATED ALWAYS AS (TIME(record_datetime)) VIRTUAL,
lat DECIMAL(10,6),
long DECIMAL(11,7),
address VARCHAR(255)
);
address VARCHAR(255),
difficulty_level VARCHAR(255) DEFAULT 'Tout niveau'
);