# [ -f "$reenc.mp4" ] && reenc="$reenc.mp4" || reenc="$reenc.mkv"
[ -r "$meta" ] || ". ${_EXEC}/helpers/genmeta.sh" "$video" "$meta"
[ -r "$thumb" ] || ". ${_EXEC}/helpers/genthumb.sh" "$video" "$thumb"
- [ -L "$mpfake" ] || ln -s "../$video" "$mpfake"
- [ -L "$mvfake" ] || ln -s "../$video" "$mvfake"
+ [ -L "$mpfake" ] || ln -s "../videos/$info" "$mpfake"
+ [ -L "$mvfake" ] || ln -s "../videos/$info" "$mvfake"
video="$(echo "videos/$info" |sed 's/\?/\%6F/g')"
thumb="$(echo "thumbs/$info.jpg" |sed 's/\?/%6F/g')"
mpfake="$(echo "$info" |sed -r 's:^(.*)\.[a-zA-Z0-9]{3,4}$:mp4/\1.mp4:' |sed 's/\?/%6F/g')"
<a class="videolink" href="$video">$info</a>
<!-- a href="$reenc">VP8</a -->
<a class="videolink fake-mp4" href="$mpfake">fake-mp4</a>
- <a class="videolink fake-wmv" href="$mvfake">fake-mp4</a>
+ <a class="videolink fake-mp4" href="$mvfake">fake-wmv</a>
<input type="checkbox" name="tagsel" value="$info">
<span class="info property">${minutes}min</span>
<span class="info property">${width}x${height}</span>