Giter Site home page Giter Site logo

Comments (7)

leetreveil avatar leetreveil commented on July 20, 2024

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.

enbrent avatar enbrent commented on July 20, 2024

Not sure how you want to get it but I've uploaded it on Dropbox. Japanese. Korean.

from musicmetadata.

leetreveil avatar leetreveil commented on July 20, 2024

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.

leetreveil avatar leetreveil commented on July 20, 2024

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.

enbrent avatar enbrent commented on July 20, 2024

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.

leetreveil avatar leetreveil commented on July 20, 2024

You have to pass a parameter to read the duration:

var parser = mm(fs.createReadStream('sample.mp3'), { duration: true });

from musicmetadata.

enbrent avatar enbrent commented on July 20, 2024

Well that solves that. Thank you.

from musicmetadata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.