onempty for media service