Cosmetics
This commit is contained in:
parent
2a98464bbe
commit
4b2cbfb384
@ -298,7 +298,7 @@ class Mp3Info
|
|||||||
$this->fileObj->seekTo($this->fileObj->getFileSize() - 128);
|
$this->fileObj->seekTo($this->fileObj->getFileSize() - 128);
|
||||||
if ($this->fileObj->getBytes(3) == self::TAG1_SYNC) {
|
if ($this->fileObj->getBytes(3) == self::TAG1_SYNC) {
|
||||||
if ($mode & self::TAGS) {
|
if ($mode & self::TAGS) {
|
||||||
$audioSize -= $this->readId3v1Body();
|
$audioSize -= $this->_readId3v1();
|
||||||
} else {
|
} else {
|
||||||
$audioSize -= 128;
|
$audioSize -= 128;
|
||||||
}
|
}
|
||||||
@ -441,7 +441,7 @@ class Mp3Info
|
|||||||
* @link https://id3.org/ID3v1
|
* @link https://id3.org/ID3v1
|
||||||
* @return int Returns length of id3v1 tag.
|
* @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['song'] = trim($this->fileObj->getBytes(30));
|
||||||
$this->tags1['artist'] = trim($this->fileObj->getBytes(30));
|
$this->tags1['artist'] = trim($this->fileObj->getBytes(30));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user