diff -r 1c020e9ef06d -r 81b1f3006eb2 gmyth/src/gmyth_programinfo.c --- a/gmyth/src/gmyth_programinfo.c Thu Feb 01 22:10:18 2007 +0000 +++ b/gmyth/src/gmyth_programinfo.c Tue Feb 06 00:33:35 2007 +0000 @@ -309,25 +309,25 @@ gmyth_string_list_append_string (slist, prog->chansign); /* 6 */ gmyth_string_list_append_string (slist, prog->channame); /* 7 */ gmyth_string_list_append_string (slist, prog->pathname); /* 8 */ - gmyth_string_list_append_int (slist, 0); /* 11 */ + gmyth_string_list_append_int (slist, 0); /* 9 */ // fixme //gmyth_string_list_append_int64 (slist, 100/*prog->filesize*/); /* 9 */ - gmyth_string_list_append_int64 (slist, 0); /* 11 */ + //gmyth_string_list_append_int (slist, 0); /* 10 */ if (prog->startts) - gmyth_string_list_append_int (slist, prog->startts->tv_sec); /* 11 */ //DATETIME_TO_LIST(startts) + gmyth_string_list_append_int64 (slist, prog->startts->tv_sec); /* 10 */ //DATETIME_TO_LIST(startts) else - gmyth_string_list_append_int (slist, 0); + gmyth_string_list_append_int64 (slist, 0); if (prog->endts) - gmyth_string_list_append_int (slist, prog->endts->tv_sec); /* 12 */ //DATETIME_TO_LIST(endts) + gmyth_string_list_append_int64 (slist, prog->endts->tv_sec); /* 12 */ //DATETIME_TO_LIST(endts) else - gmyth_string_list_append_int (slist, 0); + gmyth_string_list_append_int64 (slist, 0); - gmyth_string_list_append_int (slist, prog->duplicate); /* 13 */ - gmyth_string_list_append_int (slist, prog->shareable); /* 14 */ - gmyth_string_list_append_int (slist, prog->findid); /* 15 */ + gmyth_string_list_append_int (slist, prog->duplicate); /* 14 */ + gmyth_string_list_append_int (slist, prog->shareable); /* 15 */ + gmyth_string_list_append_int (slist, prog->findid); /* 16 */ gmyth_string_list_append_string (slist, prog->hostname); /* 16 */ gmyth_string_list_append_int (slist, prog->sourceid); /* 17 */ gmyth_string_list_append_int (slist, prog->cardid); /* 18 */ @@ -338,8 +338,8 @@ gmyth_string_list_append_int (slist, 0 /*prog->rectype*/); /* 23 */ gmyth_string_list_append_int (slist, 0 /*prog->dupin*/); /* 24 */ gmyth_string_list_append_int (slist, 0 /*prog->dupmethod*/); /* 25 */ - gmyth_string_list_append_int (slist, prog->recstartts != NULL ? prog->recstartts->tv_sec : 0); /* 26 */ //DATETIME_TO_LIST(recstartts) - gmyth_string_list_append_int (slist, prog->recendts != NULL ? prog->recendts->tv_sec : 0); /* 27 */ //DATETIME_TO_LIST(recendts) + gmyth_string_list_append_int64 (slist, prog->recstartts != NULL ? prog->recstartts->tv_sec : 0); /* 26 */ //DATETIME_TO_LIST(recstartts) + gmyth_string_list_append_int64 (slist, prog->recendts != NULL ? prog->recendts->tv_sec : 0); /* 27 */ //DATETIME_TO_LIST(recendts) gmyth_string_list_append_int (slist, prog->repeat); /* 28 */ gmyth_string_list_append_int (slist, prog->programflags); /* 29 */ gmyth_string_list_append_char_array (slist, "Default"); /* 30 */ //prog->(recgroup != "") ? recgroup : "Default") @@ -348,9 +348,9 @@ gmyth_string_list_append_string (slist, prog->seriesid); /* 33 */ gmyth_string_list_append_string (slist, prog->programid); /* 34 */ gmyth_string_list_append_char_array (slist, ""); /* 35 */ - gmyth_string_list_append_int (slist, prog->lastmodified != NULL ? prog->lastmodified->tv_sec : 0); /* 36 */ //DATETIME_TO_LIST(lastmodified) + gmyth_string_list_append_int64 (slist, prog->lastmodified != NULL ? prog->lastmodified->tv_sec : 0); /* 36 */ //DATETIME_TO_LIST(lastmodified) gmyth_string_list_append_int (slist, 0); /* 37 */ //FLOAT_TO_LIST(stars) - gmyth_string_list_append_int (slist, prog->originalAirDate != NULL ? prog->originalAirDate->tv_sec : 0); /* 38 */ //DATETIME_TO_LIST(QDateTime(originalAirDate)) + gmyth_string_list_append_int64 (slist, prog->originalAirDate != NULL ? prog->originalAirDate->tv_sec : 0); /* 38 */ //DATETIME_TO_LIST(QDateTime(originalAirDate)) gmyth_string_list_append_int (slist, prog->hasAirDate); /* 39 */ gmyth_string_list_append_char_array (slist, "Default"); /* 40 */ //prog->(playgroup != "") ? playgroup : "Default") gmyth_string_list_append_int (slist, prog->recpriority2); /* 41 */ @@ -422,7 +422,7 @@ prog->filesize = gmyth_string_list_get_int64 (slist, 9); prog->startts = gmyth_util_string_to_time_val( (gmyth_util_time_to_isoformat( - (time_t)gmyth_string_list_get_int64 (slist, 11) ))->str ); //DATETIME_TO_LIST(startts) + (time_t)gmyth_string_list_get_int (slist, 11) ))->str ); //DATETIME_TO_LIST(startts) prog->endts = gmyth_util_string_to_time_val( (gmyth_util_time_to_isoformat( (time_t)gmyth_string_list_get_int (slist, 12) ))->str ); //DATETIME_TO_LIST(endts) prog->duplicate = gmyth_string_list_get_int (slist, 13); @@ -457,7 +457,7 @@ (time_t)gmyth_string_list_get_int (slist, 38) ))->str ); //DATETIME_TO_LIST(QDateTime(originalAirDate)) prog->hasAirDate = gmyth_string_list_get_int (slist, 39); prog->playgroup = gmyth_string_list_get_string (slist, 40); //prog->(playgroup != "") ? playgroup : "Default") - prog->recpriority2 = gmyth_string_list_get_int (slist, 41); + //prog->recpriority2 = gmyth_string_list_get_int (slist, 41); return prog; }