def libvlc_media_player_get_chapter_count(p_mi):
    f = _Cfunctions.get('libvlc_media_player_get_chapter_count', None) or \
        _Cfunction('libvlc_media_player_get_chapter_count', ((1,),), None,
                    ctypes.c_int, MediaPlayer)
    if not __debug__:  # i.e. python -O or -OO
        global libvlc_media_player_get_chapter_count
        libvlc_media_player_get_chapter_count = f
    return f(p_mi)
Get movie chapter count.
dataset/ETHPy150Open disqus/playa/playa/lib/vlc.py/libvlc_media_player_get_chapter_count