if (schedule.getRepeat() && xtvdProgram.getOriginalAirDate() == null) {
prog.setTextField(ProgramFieldType.REPETITION_OF_TYPE, "unknown previous program");
}
Crew crew = xtvd.getProductionCrew().get(xtvdProgram.getId());
if (crew != null) {
StringBuilder actors = new StringBuilder();
StringBuilder director = new StringBuilder();
StringBuilder host = new StringBuilder();
StringBuilder producer = new StringBuilder();
StringBuilder writer = new StringBuilder();
StringBuilder additional = new StringBuilder();
for (CrewMember member : crew.getMember()) {
final String role = member.getRole();
if ("Actor".equalsIgnoreCase(role) || "Guest Star".equals(role)) {
appendPerson(actors, member);
} else if ("Director".equalsIgnoreCase(role)) {
appendPerson(director, member);