From: paul Date: Thu, 20 Jul 2017 12:35:31 +0000 (+0000) Subject: deliver original video, where name faking is unnecessary X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=ddb7aec7f13135a201d99cf931d2eb88732816be;p=serve0 deliver original video, where name faking is unnecessary svn path=/trunk/; revision=187 --- diff --git a/actions/watch.sh b/actions/watch.sh index 4e42ed2..596ca32 100755 --- a/actions/watch.sh +++ b/actions/watch.sh @@ -26,6 +26,8 @@ if [ "${_COOKIE[fakemp4]}" = yes ]; then if [ "$info" != "${fakename}.mp4" ]; then [ -e "${_DATA}/mp4/${fakename}.mp4" ] || ln -s "${_DATA}/videos/$info" "${_DATA}/mp4/${fakename}.mp4" videourl="$(urlsafe "mp4/${fakename}.mp4")" + else + videourl="$(urlsafe "videos/$info")" fi elif [ -n "$foreign" ]; then _COOKIE[watch]=server