+ if( result &&
+ !current_track->plays() )
+ result = 0;
+ if( result ) {
+ EDL *edl = current_track->edl;
+ int solo_track_id = edl->local_session->solo_track_id;
+ if( solo_track_id >= 0 ) {
+ int visible = 0;
+ int current_id = current_track->get_id();
+ Track *track = edl->tracks->first;
+ while( track ) {
+ int id = track->get_id();
+ if( id == solo_track_id ) { visible = 1; break; }
+ if( id == current_id ) { visible = 0; break; }
+ track = track->next;
+ }
+ if( !track ) visible = 1;
+ result = visible;
+ }