GNOME Bugzilla – Bug 515109
bacon_video_widget_has_*_track not implemented
Last modified: 2012-07-13 20:13:16 UTC
bacon_video_widget_has_next_track() and bacon_video_widget_has_previous_track() aren't implemented, but we should be able to implement them by checking the number of chapters in the current title, and seeing whether we're on the first/last ones.
We'd probably need to cache the number of chapters when opening the track. bacon_video_widget_get_mrls() has an example of getting the number of titles, just replace with the number of chapters.
Jan mentioned to me that resindvd already does the right thing for "next" (if we press "next" during the last chapter, it'll go back to the menu). But that's broken for previous chapter.
commit 7841b1c511af57aa376f253c07f0da82e853b101 Author: Bastien Nocera <hadess@hadess.net> Date: Fri Jul 13 20:45:44 2012 +0100 backend: Implement has_{next,previous}_track https://bugzilla.gnome.org/show_bug.cgi?id=515109