Releases: timusus/KTagLib
Releases · timusus/KTagLib
1.6.0
Full Changelog: 1.5.1...1.6.0
New Features
- Added optional filename parameter to getMetadata(), writeMetadata(), and getArtwork() functions
- Enables extension-based file type detection as a fallback for improved reliability
- Particularly useful for files with large metadata blocks (>1KB) that previously failed detection
- Fully backward compatible - filename parameter defaults to null
Dependencies
- Updated TagLib from 2.0 to 2.1.1
- Updated Gradle wrapper to 9.2.0
Bug Fixes
- Fixed tag reading failure for audio files with large ID3v2 tags or embedded artwork
- Improved file format detection reliability when using file descriptors
API Changes
// Updated signatures (filename parameter is optional)
fun getMetadata(fileDescriptor: Int, filename: String? = null): Metadata?
fun writeMetadata(fileDescriptor: Int, properties: HashMap<String, ArrayList<String?>>, filename: String? = null): Boolean
fun getArtwork(fileDescriptor: Int, filename: String? = null): ByteArray?
1.5.1
1.4
Full Changelog: 1.3...1.4.1