X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=actions%2Fwatch.sh;h=5d503b07d70a08737dbc364ddea5d553b4bd0068;hb=1418058c8b8777e0af4aa21236e12d676942eee9;hp=58c1e1b42858f04ec797b013e89bed731465d9a6;hpb=e542e0a34e796df05efa42cdb091ba4032836bdd;p=serve0 diff --git a/actions/watch.sh b/actions/watch.sh index 58c1e1b..5d503b0 100755 --- a/actions/watch.sh +++ b/actions/watch.sh @@ -30,7 +30,7 @@ if [ "${_COOKIE[fakemp4]}" = yes ] && [ "${info##*.}" != mp4 ]; then videourl="$(urlsafe "mp4/${info%.*}.mp4")" elif [ -z "$info" ]; then videourl="$(urlsafe "${location#/}")" -else [ -z "$foreign" ];then +elif [ -z "$foreign" ]; then _COOKIE[watch]=server videourl="${_GET[url]}" else