Cosmetics

This commit is contained in:
Markus Birth 2024-05-28 01:23:52 +01:00
parent 2a98464bbe
commit 4b2cbfb384

@ -298,7 +298,7 @@ class Mp3Info
$this->fileObj->seekTo($this->fileObj->getFileSize() - 128);
if ($this->fileObj->getBytes(3) == self::TAG1_SYNC) {
if ($mode & self::TAGS) {
$audioSize -= $this->readId3v1Body();
$audioSize -= $this->_readId3v1();
} else {
$audioSize -= 128;
}
@ -441,7 +441,7 @@ class Mp3Info
* @link https://id3.org/ID3v1
* @return int Returns length of id3v1 tag.
*/
private function readId3v1Body(): int
private function _readId3v1(): int
{
$this->tags1['song'] = trim($this->fileObj->getBytes(30));
$this->tags1['artist'] = trim($this->fileObj->getBytes(30));