Really need a better way to handle local media.