ensure that template exists
check if script succeeded.
adding music mimetypes
cache mimetype + helper functions
another helper function
Merge branch 'misc_helpers'