- Plugin *plugin = track->get_current_plugin(mwindow->edl->local_session->get_selectionstart(1),
- number,
- PLAY_FORWARD,
- 1,
- 0);
- char *plugin_title = plugin->title;
+ double start = mwindow->edl->local_session->get_selectionstart(1);
+ Plugin *plugin = track->get_current_plugin(start, number, PLAY_FORWARD, 1, 0);
+ if( !plugin ) continue;