#!/bin/bash # List of media file extensions mediaext='(mp4|avi|mkv|webm|mp3|m4a|flac)' # Command for triggering cache cache='curl -Ss --range 0-0 >/dev/null' # Script for sed, to remove the first section from a log line popsec='s/^[^|]*| //' # Log format: 12/Aug/2023:hh:mm:ss | : | # to in