]> git.plutz.net Git - serve0/blobdiff - index.cgi
transcoding option for additional resolutions
[serve0] / index.cgi
index d17b4c3f6815823bc828e054916b2e1b9ef587e9..40b67f1d1d4f65e92812dd400cf3dc4758d430d7 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -17,7 +17,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with Serve0.  If not, see <http://www.gnu.org/licenses/>. 
 
-export LC_ALL=de_DE.UTF-8
+export LC_ALL=C
 
 # basic functions
 die() {
@@ -42,7 +42,7 @@ _DATA="$(dirname "$call")"  #storage directory
 [ -w "$_DATA" ] && [ -d "$_DATA" ] || die "storage directory must be writable"
 
 # create directories for object storage
-for each in "$_DATA"/{cache,meta,mp4,videos,thumbs,trash,by_length}; do
+for each in "$_DATA"/{cache,meta,mp4,videos,thumbs,trash,by_length,transcoded}; do
   [ ! -e "$each" ] && mkdir "$each"
   [ -w "$each" ] && [ -d "$each" ] || die "storage $each must be a writable directory"
 done