programsam / binkjs

Music archival site BINK, rewritten as a Node.js express app
0 stars 1 forks source link

MP3 Inspection #27

Open programsam opened 6 years ago

programsam commented 6 years ago

If MP3 is the format of choice for BINK, then the idea here is to make it so we can see how long tracks are and how big they are in file size and perhaps even read the ID3 information out of them when viewing.

programsam commented 6 years ago

mediainfo looks like a good npm for the job. Not sure we are as interested in ID3 tags, honestly. (How much of the BINK library has valid ID3 tagging? None of the Gato stuff does...)

We want filetype and it’s duration, and it’s size. It’s also gotta be able to load remote URLs (from S3) so that we aren’t downloading entire songs just to get their duration...

programsam commented 6 months ago

Media info is no good — how about https://www.npmjs.com/package/music-metadata