]> git.plutz.net Git - serve0/blobdiff - constants.sh
split up functions in filter box generator
[serve0] / constants.sh
index 84d7c7a152ddf0f08336bbeba88bcca529c1ad03..1791215f596fe47accdd53a7de968c7a9291df37 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[\"p\"]" ] && _GET["p"]=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