リビジョン | 256d182840df67ed2bdadff4a6e0d9b1f2ad118d (tree) |
---|---|
日時 | 2014-09-13 11:59:59 |
作者 | peeweedee <peeweedee@user...> |
コミッター | peeweedee |
・DBR T-450対応 0.3版
@@ -1167,7 +1167,7 @@ public class PlugIn_RecRD_T450 extends HDDRecorderUtils implements HDDRecorder,C | ||
1167 | 1167 | } |
1168 | 1168 | else { |
1169 | 1169 | newdat.put("maiyoubi_type", "1"); |
1170 | - int i = 1; | |
1170 | + int i = 0; | |
1171 | 1171 | for ( String s : RPTPTN ) { |
1172 | 1172 | if ( s.equals(r.getRec_pattern()) == true ) { |
1173 | 1173 | break; |
@@ -1175,10 +1175,10 @@ public class PlugIn_RecRD_T450 extends HDDRecorderUtils implements HDDRecorder,C | ||
1175 | 1175 | i++; |
1176 | 1176 | } |
1177 | 1177 | if ( i <= RPTPTN_ID_SAT ) { |
1178 | - newdat.put("date1", String.valueOf(0x0001 << ((i + 5) % 7))); | |
1178 | + newdat.put("date1", String.valueOf(0x0001 << ((i + 6) % 7))); | |
1179 | 1179 | } |
1180 | 1180 | else if ( i >= RPTPTN_ID_MON2FRI && i <= RPTPTN_ID_EVERYDAY ) { |
1181 | - newdat.put("date1", String.valueOf((0x0001 << (i - 4))-1)); | |
1181 | + newdat.put("date1", String.valueOf((0x0001 << (i - 3))-1)); | |
1182 | 1182 | } |
1183 | 1183 | } |
1184 | 1184 |