]> git.plutz.net Git - serve0/blobdiff - constants.sh
moved cgi components to different repository
[serve0] / constants.sh
index 84d7c7a152ddf0f08336bbeba88bcca529c1ad03..727952d4de8d0a6db296146472a647a9dfe922b9 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/zsh
 
-# Copyright 2014 Paul Hänsch
+# Copyright 2014,2015 Paul Hänsch
 #
 # This file is part of Serve0.
 # 
@@ -17,4 +17,9 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with Serve0.  If not, see <http://www.gnu.org/licenses/>. 
 
-_GET['page']=videoview
+alias _wiki="stx2any --no-template --link-abbrevs --quote -T html"
+[ -z "$_GET[\"page\"]" ] && _GET["page"]=list
+pagesize=100
+file_pattern='^.*(mov|ts|mpg|mpeg|mp4|m4v|avi|mkv|flv|sfv|wmv|ogm|webm|iso|rmvb)$'
+
+data_dirs cache meta mp4 videos thumbs trash by_length transcoded