Open ItsMe-Haris opened 1 month ago
Would also love this feature, really miss it from Kodi, not sure if something similar can be implemented where the dpad up and down buttons navigate between the chapters, but the dpad up is already in use to bring up the menu
Description
Ordered chapters provide seamless, uninterrupted viewing experience when chapters reference external files or segments within the same file. They can be used to create an episode playlist or skip certain segments within the same file. We can skip intros, credits etc with this support easily.
If you are able to parse the chapters of MKV file, then you can check if
EditionEntry
containsEditionFlagOrdered
flag. Then modify ExoPlayer's Timeline accordingly to create a dynamic timeline that only plays the timestamps included in the chapters hence skipping parts that are not included.Additional information
If you are having trouble reading
txt
files due to Android limitations, this feature can help as an alternative. I asked for this feature in Just Player repository as well (moneytoo/Player#604) but I didn't get any response. In my testing, only 'mpv-android' supports this. It'd be nice to have it implemented in a player based on ExoPlayer since 'mpv-android' have trouble playing HDR.