podcastで aac形式を 使いたくなったので Dircaster を 改修した ときのメモ
dircaster.php
switch (strrchr(strtolower($file), ".")) {
case ".mp3";
case ".aac";
$tit = @$ThisFileInfo['id3v2']['comments']['title'][0]; // artist from any/all available tag formats
$alb = @$ThisFileInfo['id3v2']['comments']['album'][0]; // artist from any/all available tag formats
$art = @$ThisFileInfo['id3v2']['comments']['artist'][0]; // artist from any/all available tag formats
$com = @$ThisFileInfo['id3v2']['comments']['comment'][0];
と .mp3 の case 文のつぎの行に .aac を 追加する。
config_inc.php
// Allowed File Types (file extensions) in Feed URL, make sure your type is listed
$sftypes = "(.mp3 .aac .m4a .asf .wma .wav .avi .mov .m4b .m4v)";
設定ファイルの 対象ファイルに .aac を 追加する。
これだけです。