Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "id3"
-
Recently for a project I needed to read/write ID3 tags from MP3 files. And after a long search, I found this bloated, monolithic but quite stable library, "getID3".
So, I was looking through the code-base and I found this. This guy literally storing the key value based data embedded as comments within the class file. Then wrote a method to parse the data and even used caching to ensure maximum speed! And such usage is repeated all over the code-base.
So, this is what people used do before arrays were invented :314 -
Wanted to make a script for batch downloading lyrics for the mp3s on my phone
✔️Read ID3 tags to get title and artist
✔️Scrap a lyrics website
✔️Add a USLT frame to store lyrics within
✔️Lyrics show up on Clementine/Amarok/Whatever
❌Lyrics show up on my phone stock music player
Why the ffffffuuuuuuck!!! As if the ID3 lyrics tag were documented enough, now my phone gets picky and can't find them...1