function formatType (url, type = '') {
	return (url && !type) ? getTypeFromFile(url) : type;
}
Get the format of a specific media, based on URL and additionally its mime type

@param {String} url
@param {String} type
@return {String}