Only call endDirectory if we do not try to play a ListItem