- Code: Select all
// no id3tag
if ( empty( $status[ 'Title' ]) ) {
$status[ 'Artist' ] = basename( $dir );
$status[ 'Title' ] = $pathinfo[ 'filename' ];
$status[ 'Album' ] = '';
}
if ( empty( $status[ 'Album' ]) ) {
$status[ 'Album' ] = '';
}
I have much mp3´s with title and artist tagged - but no album....
Andy