如何在Pear PHP($id3->getTag('artists')
)中增加艺术家的字符串长度?
它向艺术家们展示:“Jaspreet Jasz,Arjun Chandy,Y” 但艺术家的全名是“Jaspreet Jasz,Arjun Chandy,Yazin Nizar”。
<?php
$file = "Movie/Tamil/2017/Indrajith/Indrajith/Kbps/Ennenna%20Kaatchigal.mp3";
$r = r($file);
$filesize = filesize($file);
$opis = @file_get_contents('opis/'.$basename.'.txt');
if ($r == 'mp3')
{
include $mp3;
$id3 = new MP3_Id();
$result = $id3->read($file);
$result = $id3->study();
$bitrate = $id3->getTag('bitrate') OR $bitrate='';
if ($id3->getTag('artists'))
{ print 'Artists: '.iconv('windows-1251','UTF-8',$id3->getTag('artists')); }
// output is "Artists: Jaspreet Jasz, Arjun Chandy, Y".
// but artist full name "Jaspreet Jasz, Arjun Chandy, Yazin Nizar".
/****************************/
}
?>