LocationPlayer, partially rewrited.