Comments (5)
Probably both of mp3file.hasId3v1Tag()
and mp3file.hasId3v2Tag()
return true
for id3v2 tagged files...
from mp3agic.
Are you using the latest version of mp3agic? If the album image description is unicode, it sounds like it might be related to a bug that was fixed in commit ec069e0. Please try the latest version to see if it works for you.
from mp3agic.
Just swap if/else branches, i.e ask for mp3file.hasId3v2Tag()
first.
from mp3agic.
@srBruning - for mp3s that have both an ID3v1 and ID3v2 tag, you'll probably want to use the ID3v2, or use what you can from it, and fall back to the ID3v1 for missing/blank fields in the ID3v2.
As your code stands, for an mp3 with both an ID3v1 and ID3v2 tag, the code that extracts the album image will never be called.
from mp3agic.
Thank you. Worked. had to change the conditional to first check if id3v2
from mp3agic.
Related Issues (20)
- Travis build failure (OracleJDK vs OpenJDK) HOT 1
- Read Cover Art for MP4 Video File
- Required filename-based automodules detected
- Is this library still supported? HOT 3
- Embedded lyric timeline was stripped off HOT 1
- Add support for creating Mp3File from FileDescriptor
- Error using mp3agic library in Android Studio HOT 5
- Equals on Id3v2 tags does not work HOT 4
- ========= THIS LIBRARY SEEMS TO BE UNMAINTAINED ========= HOT 2
- Changing existing ID3v1values doesn't work HOT 2
- Add possibility to add/read custom tags
- Ability to use byte arrays, InputStream and OutputStream
- Replace Ljava/nio/file/Paths; use?
- Error with Metatag bpm - Floating Decimal Error HOT 1
- Title tag: cut off or wrong encoding HOT 1
- Out of bounds when writing Id3v2
- EncodedText toString() is Reserved By Kotlin
- Is this project compatible with js language?
- Reading Chinese encoded tags seems to sometimes have problems. HOT 1
- ArrayIndexOutOfBoundsException in ID3v2TextFrameData
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mp3agic.