Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wrong song duration

See original GitHub issue

I have issues with wrong song durations. The song from the example data has actually a length of 04:18 minutes. I saw that TagTypes contains ID3v2.3 and that the tagType is not supported (#101).

Could the not supported tagType be the Problem for the wrong duration?

I’m using parseStream.

data from example song

   format:   {
     lossless: false,
     dataformat: 'mp3',
     bitrate: 320000,
     sampleRate: 44100,
     numberOfChannels: 2,
     codecProfile: 'CBR',
     numberOfSamples: 3793536,
     duration: 86.02122448979591,
     encoder: 'LAME 3.99.5',
     tagTypes: [ 'ID3v2.3' ]
  native: undefined,
  common:   {
     track: { no: 5, of: null },
     disk: { no: null, of: null },
     album: '10YEARS',
     artist: 'Jaxx & Vega vs. David Puentez vs. Mashup-Germany',
     bpm: '130',
     comment: [ 'Promotion only' ],
     encodedby: 'LAME in FL Studio 12',
     genre: [ 'Mashup' ],
     title: 'We found Arcando',
     year: 2018,
     picture: [ [Object] ],
     artists: [ 'Jaxx & Vega vs. David Puentez vs. Mashup-Germany' ] 

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

kmathmanncommented, Jun 18, 2018

Yes it’s working now and the performance is gorgeous, 12 ms instead of up to 30 seconds.

Thank you 👍

Borewitcommented, Jun 15, 2018

@kmathmann: Can you confirm Kevin?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spotify showing wrong song lengths of some local files
This has been an issue for months now. For some reason Spotify shows some local files length's as 1 second shorter than they...
Read more >
iTunes gives incorrect song length
That is wrong as the song is only about 4 minutes in duration.
Read more >
How to fix iTunes wrong song time? - Ask Different
Check if the song was really removed from the device, into the device itself with iTunes on the iPhone or iPad. If not,...
Read more >
Wrong Song duration/ length.
For tracks in my playlist this was usually between 3 and 20 seconds. Actually I only noticed because cross fade is set to...
Read more >
How can I fix incorrect mp3 duration?
I have a number of songs in my Music library that display incorrect duration values, and so play only partially in Clementine. In...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found