From 693edc9183f4a206ee9b7f6e243194544717d2c0 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 3 Mar 2025 07:11:01 -0300 Subject: bin/process: Fix data/ paths --- bin/process | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/process') diff --git a/bin/process b/bin/process index 31b8db0..8de7e00 100755 --- a/bin/process +++ b/bin/process @@ -31,14 +31,14 @@ all: $(sources.webmx) $(combined.webmx) $(combined.webmx): ffmpeg $(FFMFLAGS) `printf ' -i %s' $?` $*.webm - ln $*.webm queue/$(*D).webm + ln $*.webm queue/"`basename $(*D)`".webm touch $@ EOF } mkdeps() { find data/*/*/live.mpd | varlist 'sources.mpd' - find data/*/*/live.mpd | cut -d/ -f1 | sed 's|$|/combined.webmx|' | + find data/*/*/live.mpd | cut -d/ -f1,2 | sed 's|$|/combined.webmx|' | LANG=POSIX.UTF-8 sort | uniq | varlist 'combined.webmx' printf '\n' @@ -47,7 +47,7 @@ mkdeps() { printf '\n' find data/*/*/live.mpd | sed 's/\.mpd$/.webm/' | LANG=POSIX.UTF-8 sort | - awk -F/ '{ printf "%s/combined.webmx:\t%s\n", $1, $0 }' + awk -F/ '{ printf "data/%s/combined.webmx:\t%s\n", $2, $0 }' } -- cgit v1.2.3