• R/O
  • HTTP
  • SSH
  • HTTPS

TinyBannavi: Commit

タイニー番組ナビゲータ本体


Commit MetaInfo

Revisión28c6dec8d32ae1bd8b18a999af22add42395463d (tree)
Tiempo2014-09-13 00:30:53
Autorpeeweedee <peeweedee@user...>
Commiterpeeweedee

Log Message

・DBR T-450対応 0.2版

Cambiar Resumen

Diferencia incremental

--- a/TinyBannavi/src/tainavi/pluginrec/PlugIn_RecRD_T450.java
+++ b/TinyBannavi/src/tainavi/pluginrec/PlugIn_RecRD_T450.java
@@ -1037,6 +1037,7 @@ public class PlugIn_RecRD_T450 extends HDDRecorderUtils implements HDDRecorder,C
10371037 "rec_priority",
10381038 "maiyoubi_type",
10391039 "date",
1040+ "date1",
10401041 "start_hour",
10411042 "start_minute",
10421043 "end_hour",
@@ -1169,10 +1170,16 @@ public class PlugIn_RecRD_T450 extends HDDRecorderUtils implements HDDRecorder,C
11691170 int i = 1;
11701171 for ( String s : RPTPTN ) {
11711172 if ( s.equals(r.getRec_pattern()) == true ) {
1172- newdat.put("date", String.valueOf(i));
1173+ break;
11731174 }
11741175 i++;
11751176 }
1177+ if ( i <= RPTPTN_ID_SAT ) {
1178+ newdat.put("date1", String.valueOf(0x0001 << ((i + 5) % 7)));
1179+ }
1180+ else if ( i >= RPTPTN_ID_MON2FRI && i <= RPTPTN_ID_EVERYDAY ) {
1181+ newdat.put("date1", String.valueOf((0x0001 << (i - 4))-1));
1182+ }
11761183 }
11771184
11781185 newdat.put("start_hour", r.getAhh());
Show on old repository browser