svn path=/trunk/; revision=32
_by_name(){ find ${_DATA}/videos/ -mindepth 1 -maxdepth 1 -printf '%f\n' |sort |egrep -i "$file_pattern" }
_by_date(){ ls -c ${_DATA}/videos/ |egrep -i "$file_pattern" }
-_by_length(){ ls ${_DATA}/by_length/ |sed -r 's:[0-9]{5} - ::g' }
+_by_length(){ find ${_DATA}/by_length/ -mindepth 1 -maxdepth 1 -ptintf '%f\n' |sort |sed -r 's:[0-9]{5} - ::g' }
thumblist() {
cache="${_DATA}/cache/?o=${order}&s=${search}&f=${filter}&p=${page}"