Armin Hierstetter
Armin Hierstetter
That's odd – there used to be a question which was: $socket is assigned a value and then, in the next line, assigned the result of the stream_socket_client call. What...
Tried that doing this: `\falahati\PHPMP3\MpegAudio::fromFile($names[0])->trim(0, 30)->->stripTags()->saveFile($trimmed='tmp/trimmed/trimmed.mp3'); ` No difference, unfortunately. It seems that it works correctly with a few files, but it fails with most mp3s I try.
My routine was done for UPC and EAN-13 codes. It might not work with other codes as nicely. You should inspect the object `codeResult.decodedCodes` closely, especially its `error` field. Have...