]> git.plutz.net Git - serve0/blobdiff - pages/view.sh
updates in shcgi
[serve0] / pages / view.sh
index 9dc0cc72773243736c16a75e3aa9f4c75cfe0e7b..639bf0af734bf4ecef48d9635322c906bd0aba37 100755 (executable)
@@ -28,15 +28,3 @@ length=0; width=0; height=0;
 eval $(mplayer -noconsolecontrols -input file=/dev/null -slave -really-quiet -identify -frames 0 -ao null -vo null "$video" 2>/dev/null\
 | sed -rn 's:ID_VIDEO_WIDTH=(.*):width=\1:p;s:ID_VIDEO_HEIGHT=(.*):height=\1:p;s:ID_LENGTH=(.*)(\..*)$:length=\1:p;')
 video="videos/$info"
-
-case "$1" in
-  title)
-    echo "Videos"
-  ;;
-  css)
-    . ${_EXEC}/templates/common.css.sh
-  ;;
-  body)
-    . ${_EXEC}/templates/view.html.sh
-  ;;
-esac