Hi,
Is it possible to list audiobook chapters and select a particular audiobook chapter using the Python binding?
Thank you!
Code: Select all
self.player.play()
chapters = []
try:
descriptions = self.player.get_full_chapter_descriptions(0)
for d in descriptions:
chapters.append({
"name": d.name,
"time_offset": d.time_offset,
"duration": d.duration})
except Exception as e:
print(e)
Code: Select all
self.player.set_chapter(11)
Return to “Development around libVLC”
Users browsing this forum: No registered users and 7 guests