]> git.plutz.net Git - serve0/commitdiff
playuri for coop mode
authorpaul <paul@plutz.net>
Mon, 28 Nov 2016 20:45:49 +0000 (20:45 +0000)
committerpaul <paul@plutz.net>
Mon, 28 Nov 2016 20:45:49 +0000 (20:45 +0000)
svn path=/trunk/; revision=161

actions/watch.sh

index 5b4119f7612f6b51c32f367f9b4655e5d4531be2..0005d5bf2b2f86f939942caa6857e14975e82d20 100755 (executable)
@@ -56,6 +56,7 @@ case "$_COOKIE[watch]" in
   server)
     [ -n "$location" ] && playuri="${treeroot%/}/${location#/}"
     [ -n "$info" ]     && playuri="${_DATA}/videos/$info"
+    [ -n "$foreign" ]  && playuri="$videourl"
 
     metafile="${_DATA}/meta/${info}.meta"