Extract chapters from a blu-ray mpls to a matroska recognized xml file
pip install pymplschapters
pymplschapters -p "C:/A Path/To/The/Playlist.mpls"
It will place any found chapters next to the input playlist file.
Thanks PyGuymer for the MPLS parsing code, it has been modified a bit to suit my needs.