libvlc_media_player_get_chapter_count() returns the correct value only after the player is started
Posted: 30 Aug 2021 21:29
Hello all,
Coming from https://github.com/oaubert/python-vlc/issues/189, the issue I'm observing is that libvlc_media_player_get_chapter_count() and libvlc_media_player_get_full_chapter_descriptions() only work after the video started playing, despite the media itself being parsed().
The project I'm working on requires the chapter list to be visible to the user before the video starts playing such that they can start playing the video at a specific chapter directly.
Is that possible or do I have to extract the chapter information from the media upfront through some other means?
Thanks,
Marc
Coming from https://github.com/oaubert/python-vlc/issues/189, the issue I'm observing is that libvlc_media_player_get_chapter_count() and libvlc_media_player_get_full_chapter_descriptions() only work after the video started playing, despite the media itself being parsed().
The project I'm working on requires the chapter list to be visible to the user before the video starts playing such that they can start playing the video at a specific chapter directly.
Is that possible or do I have to extract the chapter information from the media upfront through some other means?
Thanks,
Marc