gmyth/src/gmyth_programinfo.c
branchtrunk
changeset 321 1c020e9ef06d
parent 316 43dc23e931b6
child 326 81b1f3006eb2
     1.1 --- a/gmyth/src/gmyth_programinfo.c	Tue Jan 30 22:27:59 2007 +0000
     1.2 +++ b/gmyth/src/gmyth_programinfo.c	Thu Feb 01 22:10:18 2007 +0000
     1.3 @@ -309,10 +309,11 @@
     1.4      gmyth_string_list_append_string (slist, prog->chansign); /* 6 */
     1.5      gmyth_string_list_append_string (slist, prog->channame); /* 7 */
     1.6      gmyth_string_list_append_string (slist, prog->pathname); /* 8 */
     1.7 +    gmyth_string_list_append_int (slist, 0); /* 11 */
     1.8  
     1.9      // fixme
    1.10 -    gmyth_string_list_append_int64 (slist, 100/*prog->filesize*/); /* 9 */
    1.11 -    gmyth_string_list_append_int64 (slist, 10); /* 11 */
    1.12 +    //gmyth_string_list_append_int64 (slist, 100/*prog->filesize*/); /* 9 */
    1.13 +    gmyth_string_list_append_int64 (slist, 0); /* 11 */
    1.14  
    1.15      if (prog->startts)
    1.16          gmyth_string_list_append_int (slist, prog->startts->tv_sec);  /* 11 */ //DATETIME_TO_LIST(startts)
    1.17 @@ -346,7 +347,7 @@
    1.18      gmyth_string_list_append_string (slist, prog->chanOutputFilters); /* 32 */
    1.19      gmyth_string_list_append_string (slist, prog->seriesid); /* 33 */
    1.20      gmyth_string_list_append_string (slist, prog->programid); /* 34 */
    1.21 -    gmyth_string_list_append_string (slist, ""); /* 35 */
    1.22 +    gmyth_string_list_append_char_array (slist, ""); /* 35 */
    1.23      gmyth_string_list_append_int (slist, prog->lastmodified != NULL ? prog->lastmodified->tv_sec : 0);  /* 36 */ //DATETIME_TO_LIST(lastmodified)
    1.24      gmyth_string_list_append_int (slist, 0);  /* 37 */ //FLOAT_TO_LIST(stars)
    1.25      gmyth_string_list_append_int (slist, prog->originalAirDate != NULL ? prog->originalAirDate->tv_sec : 0);  /* 38 */ //DATETIME_TO_LIST(QDateTime(originalAirDate))
    1.26 @@ -410,16 +411,18 @@
    1.27      prog->subtitle = gmyth_string_list_get_string (slist, 1);
    1.28      prog->description = gmyth_string_list_get_string (slist, 2);
    1.29      prog->category = gmyth_string_list_get_string (slist, 3);
    1.30 +    //gmyth_string_list_get_string (slist, 4);
    1.31      prog->chanid = gmyth_string_list_get_string (slist, 4);
    1.32 -    prog->chanstr = gmyth_string_list_get_string (slist, 5);
    1.33 -    prog->chansign = gmyth_string_list_get_string (slist, 6);
    1.34 -    prog->channame = gmyth_string_list_get_string (slist, 7);
    1.35 -    prog->pathname = gmyth_string_list_get_string (slist, 8);
    1.36 +    prog->channame = gmyth_string_list_get_string (slist, 5);
    1.37 +    prog->chanstr = gmyth_string_list_get_string (slist, 6);    
    1.38 +    prog->chansign = gmyth_string_list_get_string (slist, 7);    
    1.39 +    prog->pathname = gmyth_string_list_get_string (slist, 8);    
    1.40 +    //gmyth_string_list_get_int (slist, 9);
    1.41 +    
    1.42      prog->filesize = gmyth_string_list_get_int64 (slist, 9);
    1.43 -    gmyth_string_list_get_int64 (slist, 10);
    1.44  
    1.45      prog->startts = gmyth_util_string_to_time_val( (gmyth_util_time_to_isoformat( 
    1.46 -    					(time_t)gmyth_string_list_get_int (slist, 11) ))->str ); //DATETIME_TO_LIST(startts)
    1.47 +    					(time_t)gmyth_string_list_get_int64 (slist, 11) ))->str ); //DATETIME_TO_LIST(startts)
    1.48      prog->endts = gmyth_util_string_to_time_val( (gmyth_util_time_to_isoformat( 
    1.49      					(time_t)gmyth_string_list_get_int (slist, 12) ))->str ); //DATETIME_TO_LIST(endts)
    1.50      prog->duplicate = gmyth_string_list_get_int (slist, 13);