PySport/kloppy

Missing "own goals" in Sportec deserializer

UnravelSports opened this issue · 1 comments

I noticed the Sportec Deserializer does not support Own Goal events.

For reference, this is what an anonymized Sportec own goal looks like.

<Event Y-Source-Position="37.11" Y-Position="34.05" EventId="182094" EventTime="2023-12-17T12:19:56.700+01:00" MatchId="DFL-MAT-A" X-Position="91.90" X-Source-Position="102.20">
 <OwnGoal Player="DFL-OBJ-PLAYER_A" BallPossessionPhase="700" TeamOwnGoalCountsFor="DFL-CLU-TEAM_B" Team="DFL-CLU-TEAM_A" ShotOrigin="3" GoalZone="13" OwnGoalFromCounterAttack="false" TypeOfShot="leftLeg" CurrentResult="3:3" SetupOrigin="left" ScorerBallTouch="direct" ScorerSetup="oppositionGoalkeeperAction" BuildUp="crossOpenPlay"/>
</Event>

Fixed, PR to follow