Index: /trunk/install/php/showplaylist.php =================================================================== --- /trunk/install/php/showplaylist.php (リビジョン 103) +++ /trunk/install/php/showplaylist.php (リビジョン 106) @@ -97,5 +97,5 @@ //旧仕様 if($list == "raw"){ -exec ("ls -t $recfolderpath/*.m2?", $m2pfiles); +exec ("ls -t $recfolderpath/*.???", $m2pfiles); @@ -106,5 +106,5 @@ if(($fName == ".") or ($fName == "..") ){ continue; } - if (ereg(".m2.+", $fName)){ + if ((ereg(".m2.+", $fName))|| (ereg(".aac", $fName))){ $filesplit = split("-",$fName); @@ -120,5 +120,5 @@ $rs = sql_query($con, $query, "DBクエリに失敗しました",array($filesplit[0])); $rall = $rs->fetchAll(); - $rowdata = $rall[$row]; + $rowdata = $rall[0]; //print" $fName./$rowdata[1]//$rowdata[2]
\n"; $title = $rowdata[1]; @@ -138,5 +138,5 @@ $rs = sql_query($con, $query, "DBクエリに失敗しました",array($filesplit[0],$filesplit[1])); $rall = $rs->fetchAll(); - $rowdata = $rall[$row]; + $rowdata = $rall[0]; //print" $fName./$rowdata[1]/$rowdata[2]/$rowdata[3]
\n"; $title = $rowdata[1];