From ddb7aec7f13135a201d99cf931d2eb88732816be Mon Sep 17 00:00:00 2001 From: paul Date: Thu, 20 Jul 2017 12:35:31 +0000 Subject: [PATCH] deliver original video, where name faking is unnecessary svn path=/trunk/; revision=187 --- actions/watch.sh | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2