void MythConnection::DefaultTimer(MythTimer &timer) { timer.SetAutoTranscode(atoi(GetSetting("NULL", "AutoTranscode").c_str()) > 0); timer.SetUserJob(1, atoi(GetSetting("NULL", "AutoRunUserJob1").c_str()) > 0); timer.SetUserJob(2, atoi(GetSetting("NULL", "AutoRunUserJob2").c_str()) > 0); timer.SetUserJob(3, atoi(GetSetting("NULL", "AutoRunUserJob3").c_str()) > 0); timer.SetUserJob(4, atoi(GetSetting("NULL", "AutoRunUserJob4").c_str()) > 0); timer.SetAutoCommFlag(atoi(GetSetting("NULL", "AutoCommercialFlag").c_str()) > 0); timer.SetAutoExpire(atoi(GetSetting("NULL", "AutoExpireDefault").c_str()) > 0); timer.SetTranscoder(atoi(GetSetting("NULL", "DefaultTranscoder").c_str())); timer.SetStartOffset(atoi(GetSetting("NULL", "DefaultStartOffset").c_str())); timer.SetStartOffset(atoi(GetSetting("NULL", "DefaultEndOffset").c_str())); }