Releases: kiwilan/php-audio
Releases · kiwilan/php-audio
v3.0.08
v3.0.07
v3.0.06
- Add
getAudioFormats()
toAudio::class
to get an array with all audio formats of file. - Add param to
getTags(?string $audioFormat = null)
to select a specific tag format, default will be maximum tags found. - Add same param to
getTag(string $tag, ?string $audioFormat = null)
to select a specific tag format, default will be maximum tags found. - Add
getPodcastDescription()
method toAudio::class
to get the podcast description. - Add
getLanguage()
method toAudio::class
to get the language of the podcast.
v3.0.05
- Add
toArray()
method toAudio::class
to get all properties without cover. - Add
getTags()
method toAudio::class
to get all tags asarray<string, string>
. - Add
getTag(string $tag)
method toAudio::class
to get a single tag.
v3.0.04
v3.0.03
v3.0.02
- Id3Writer:
trackNumber()
anddiscNumber()
accept now integers (and strings)
v3.0.01
- Add
getContents()
to AudioCover - Old method
getContent()
is deprecated
3.0.0
BREAKING CHANGES
- All simple getters have now
get
prefix. For example,getTitle()
instead oftitle()
,getAlbum()
instead ofalbum()
, etc. It concerns all simple getters ofAudioCore
,AudioCover
,AudioMetadata
,AudioStat
,Id3Reader
classes.
Why?
All these classes have some methods like setters or actions. To be consistent and clear, all simple getters have nowget
prefix.
2.0.0
BREAKING CHANGES
update
chained methods are now withoutset
prefix
Features
update
have nowtags
to set tags manuallyupdate
have nowtagFormats
to set tag formats manuallyupdate
have nowpreventFailOnError
to prevent fail on error