# HG changeset patch # User Sushi-k # Date 1248778310 -32400 # Node ID 6f961c8ab3047f32fa44c9ccae06aa4cd0ab0ab1 # Parent 5096001c49959a363af0dabfd32c1e8687c0fb15 modified: Settings.class.php diff -r 5096001c4995 -r 6f961c8ab304 Settings.class.php --- a/Settings.class.php Tue Jul 28 19:45:50 2009 +0900 +++ b/Settings.class.php Tue Jul 28 19:51:50 2009 +0900 @@ -32,7 +32,7 @@ if(defined("GR_TUNERS")) $xml->gr_tuenrs = GR_TUNERS; else $xml->gr_tuners = 1; - if(defined("USE_KUROBON")) $xml->use_kurobon = USE_KUROBON; + if(defined("USE_KUROBON")) $xml->use_kurobon = USE_KUROBON ? 1 : 0; else $xml->use_kurobon = 0; if(defined("FORMER_TIME")) $xml->former_time = FORMER_TIME; @@ -41,16 +41,16 @@ if(defined("EXTRA_TIME")) $xml->extra_time = EXTRA_TIME; else $xml->extra_time = 0; - if(defined("FORCE_CONT_REC")) $xml->force_cont_rec = FORCE_CONT_REC; + if(defined("FORCE_CONT_REC")) $xml->force_cont_rec = FORCE_CONT_REC ? 1 : 0; else $xml->force_cont_rec = 0; if(defined("REC_SWITCH_TIME")) $xml->rec_switch_time = REC_SWITCH_TIME; else $xml->rec_switch_time = 5; - if(defined("USE_THUMBS")) $xml->use_thumbs = USE_THUMBS; + if(defined("USE_THUMBS")) $xml->use_thumbs = USE_THUMBS ? 1 : 0; else $xml->use_thumbs = 0; - if(defined("MEDIATOMB_UPDATE")) $xml->mediatomb_update = MEDIATOMB_UPDATE; + if(defined("MEDIATOMB_UPDATE")) $xml->mediatomb_update = MEDIATOMB_UPDATE ? 1 : 0; else $xml->mediatomb_update = 0; if(defined("FILENAME_FORMAT")) $xml->filename_format = FILENAME_FORMAT;