Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/GetId3.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,18 @@ public function getYear()
return isset($this->comments()['year'][0]) ? $this->comments()['year'][0] : null;
}

/**
* Get ISRC of track.
*
* @return string|null
*
* @throws \getid3_exception
*/
public function getISRC()
{
return isset($this->comments()['isrc'][0]) ? $this->comments()['isrc'][0] : null;
}

/**
* Convert base64 image to jpeg.
*
Expand Down