using relative paths
tmp directory config
fixup
fixup
fixup
more exception info
fixup
more exception handling
changed thumbname to filename
exception printed to stderr
temp dir
moved isVideo
fixed shuffle hardcoded path
added config.media_dir and fixed shuffle
fixed typo
fixed typo
fixing browse
fixing shuffle
cleanup imports and mains
Fixed exit conditions