#!/bin/bash

KEEP=5
SLEEP=10
PLAYLIST="https://demo.solid.live/playlist.ttl"
FILES="/var/www/ld/solid-live/slideshow/static/j"

for i in $( cat $FILES ) ;
do
  bin/playlistreplace.js "$PLAYLIST" "$i" -k "$KEEP"
  sleep $SLEEP
done
