CGUIWindow should not need to know about the player.  Surely the record action belongs in the player action handling at the app level?