added "url" to $maindata for albums