Comments (7)
Can you send me the audio file?
On Sat, Apr 19, 2014 at 10:27 AM, kirasagi [email protected]
wrote:
I was testing this on japanese songs and it returns squares instead of japanese characters in the tags. Mind adding support for other languages, such as Japanese and Korean characters?
Reply to this email directly or view it on GitHub:
#48
from musicmetadata.
Not sure how you want to get it but I've uploaded it on Dropbox. Japanese. Korean.
from musicmetadata.
Both files work correctly for me, here's the output from the second one:
{ title: '지하철에서',
artist: [ '악동뮤지션 (AKMU)' ],
albumartist: [ '악동뮤지션 (AKMU)' ],
album: '1집 PLAY',
year: '20140407',
track: { no: 4, of: 0 },
genre: [ 'Folk' ],
disk: { no: 1, of: 0 },
picture:
[ { format: 'jpg',
data: <Buffer ff d8 ff e0 00 10 4a 46 49 46 00 01 01 01 00 48 00 48 00 00 ff db 00 43 00 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 ...> } ],
duration: 0 }
from musicmetadata.
If you're on windows your console might not be displaying the unicode characters correctly.
http://stackoverflow.com/questions/388490/unicode-characters-in-windows-command-line-how
from musicmetadata.
Yes you're right it wasn't displaying right on the console. Thank you for your help.
A little offtopic, but I don't want to open up another issue. I'm getting 0 duration for all the songs I've tried with this module. Is there going to be a fix anytime soon?
from musicmetadata.
You have to pass a parameter to read the duration:
var parser = mm(fs.createReadStream('sample.mp3'), { duration: true });
from musicmetadata.
Well that solves that. Thank you.
from musicmetadata.
Related Issues (20)
- 'Could not find metadata header' with some mp3s HOT 5
- No metadata in file that has metadata HOT 2
- Webpack, fs and HTML 5 File object HOT 1
- Misleading examples: the Readable Stream should be closed HOT 3
- error when extract image HOT 3
- Error: expected frame header but was not found. FLAC files parsed with id3v2 parser? HOT 2
- Dump complete metadata? HOT 1
- Rating tag support HOT 3
- Chapter Addendum? HOT 1
- Warning: Possible EventEmitter memory leak detected. HOT 1
- [Question] Is there a way to not parse / load the picture buffer HOT 3
- Chrome freezes/locks up while loading FLAC metadata from arraybuffer HOT 2
- Completion callback invoked twice HOT 1
- Callback is never called HOT 4
- Webpack with electron-renderer target imports non-browser-wrapped version
- using file upload control HOT 1
- Doesn't support OGG. HOT 2
- Do not provide duration of audio HOT 5
- File's picture
- Metadata output doesn't include composer tag
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 musicmetadata.