Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'null' tags returned for correctly tagged file... ? #35

Open
ghost opened this issue Aug 23, 2017 · 4 comments
Open

'null' tags returned for correctly tagged file... ? #35

ghost opened this issue Aug 23, 2017 · 4 comments

Comments

@ghost
Copy link

ghost commented Aug 23, 2017

Hi,

I'm trying to create a small app, using webpack, with an audio file located in my project folder. Here is my code:

import fs from 'fs'
import id3 from 'id3js'

tagReader: () => {
  id3('./../data/test.ogg', function(err, tags) {
    console.log('tags: ', tags)
  })
}

I checked the file which is correctly tagged (it is an .ogg), but for some reason I can't understand, all properties remains 'null'... Someone having the same issue, and/or able to give me some help? Thnak you in advance!

@abdulhannanali
Copy link

@soykje Does this work properly for MP3 Files or is this problem only occuring OGG Files?

@ghost
Copy link
Author

ghost commented Aug 28, 2017

Hi,

Thx for your answer. Yes it occurs only with ogg, not with mp3 files. Is this a know limitation, or is there any way to fix that?

@abdulhannanali
Copy link

@soykje Weird! However, I am going to fork it, and create an updated ID3 Metadata Parser for JavaScript within a few days. Most of the solutions on the web are totally outdated and don't use many of the today's best web practices. I was even unable to use this on Web now, also this and others have their fair share of bloatware, which hurts browsers a lot.

@ghost
Copy link
Author

ghost commented Aug 29, 2017

Ooow great, I'll be watching for it then!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant