change mediaServer scanNetwork callback method