Page 1 of 1

Failed to write tags!

Posted: Sat Aug 01, 2015 7:43 pm
by tnmk
Failed to write tags!
WriteID3v2() failed with message(s):
Invalid Language in COMM (eng)
$this->GenerateID3v2FrameData() failed for "COMM"
$this->GenerateID3v2Tag() failed
How to fix this bugs

Re: Failed to write tags!

Posted: Sun Aug 02, 2015 6:09 pm
by James Heinrich
Tag writing is generally unsupported, but let's take a quick look.


I assume you're using the latest version of getID3 from Github?

"eng" should be a valid language for COMM. What data are you passing to GenerateID3v2Tag?

Re: Failed to write tags!

Posted: Mon Aug 03, 2015 10:15 am
by tnmk
Here is my script ...
please check it and tell me how to fix it ....

http://maxwap.in/scan_dir/my_getid_script.zip


Thank you.

Re: Failed to write tags!

Posted: Mon Aug 03, 2015 1:16 pm
by James Heinrich
Your link is broken.

I don't need your whole code, please just copy-paste the very small relevant section where you're calling GenerateID3v2Tag()

And before you do that, please confirm what version of getID3 you're using.

Re: Failed to write tags!

Posted: Tue Aug 04, 2015 7:52 pm
by tnmk
Sorry for the previous link sir

check it please ~ http://goo.gl/yUZMiE

Re: Failed to write tags!

Posted: Tue Aug 04, 2015 9:11 pm
by James Heinrich
See my previous post.