getid3_write_lyrics3 라이브러리를 사용했습니다. 작동하지나는 getid3_write_lyrics3 라이브러리를 사용했다. 작동하지 않음
이 내 코드 :
// Enter your filename here
$filename = 'C:\xampp\htdocs\source2\test.mp3';
//Include getID3() library (can be in a different
directory if full path is specified)
require_once('getid3.php');
// Include desired writer module
require_once('write.lyrics3.php');
//Instantiate desired tag class
$tw = new getid3_write_lyrics3($filename);
// Attempt to write new tag -- NOTE: all values must be in ISO-8859-1
try
{
$tw->title = 'bhavi';
$tw->artist = 'asas';
$tw->album = 'A new album';
$tw->author = 'bhavi author';
$tw->comment = 'bhavika commment';
$tw->images = 'C:\xampp\htdocs\source2\image.jpg';
$tw->synched = true;
$tw->lyrics = "[00:02]Let's talk about time\r\n[00:02]tickin' away
every day\r\n[00:05]so wake on up before it's gone away\r\n";
if(!$tw->write())
{
echo "not success";
}else{
print 'New tag written<br>';
}
}catch (Exception $e)
{
print $e->message;
}
OUTPUT
새로운 태그가
를 작성하지만, MP 번호 파일 쇼 빈 MP3 태그. 내 아래 스크린 샷을 보여주세요.스크린 샷 :
지금까지 무엇을 했습니까? –
* lyric3이 작동하지 않습니다. * 그 의미는 무엇입니까? – donald123
mp3에 가사 태그를 추가하고 싶지만 ID3은 지원되지 않습니다. – Bhavika