xbmc.PLAYER_CORE_DVDPLAYER missing in xbmc python after kodi 17 update

After OSMC’s February update addons show AttributeError: ‘module’ object has no attribute ‘PLAYER_CORE_DVDPLAYER’. This usually occurs on the line xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER).play(file).

Has the python xbmc library changed in Kodi 17? I saw somewhere else that you don’t have to give the player type xbmc.PLAYER_CORE_DVDPLAYER anymore. Would this require all addons to change this line of code?

I checked the latest api docs for Kodi 16 and they seem to still have the following values in the data section:
PLAYER_CORE_AUTO = 0
PLAYER_CORE_DVDPLAYER = 1
PLAYER_CORE_MPLAYER = 2
PLAYER_CORE_PAPLAYER = 3

I can’t find the api document for Kodi 17 though. Has this been removed in that version?

We believe this is a Kodi issue or a specific Kodi function and as such you should look at addressing the issue there. We are unable to resolve your issue. If you do believe that this is an OSMC specific issue, please let us know.

Probably refactored to PLAYER_CORE_VIDEOPLAYER now

Just don’t specify - it is not for the add-on but kodi to choose the player. Use:
xbmc.Player().play(file).