Fix for #363 change the way a media scan is triggered.