rem: gtk_playlist_set_next (totem->playlist); update_buttons (totem); mrl = gtk_playlist_get_current_mrl (totem->playlist); totem_action_set_mrl (totem, mrl); totem_action_play (totem, 0); g_free (mrl);
add: if (totem_playing_dvd (totem) == TRUE) { gtk_xine_dvd_event (GTK_XINE (totem->gtx), GTX_DVD_NEXT_CHAPTER); } else { gtk_playlist_set_next (totem->playlist); mrl = gtk_playlist_get_current_mrl (totem->playlist); totem_action_set_mrl (totem, mrl); totem_action_play (totem, 0); g_free (mrl); }
context: totem_action_next (Totem *totem){	char *mrl;	if (gtk_playlist_has_next_mrl (totem->playlist) == FALSE)		                return;	gtk_playlist_set_next (totem->playlist);	update_buttons (totem);	mrl = gtk_playlist_get_current_mrl (totem->playlist);	totem_action_set_mrl (totem, mrl);	totem_action_play (totem, 0);	g_free (mrl);}