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

Incorrect total number of audio tracks #95

Closed
LienLotus opened this issue Apr 8, 2020 · 1 comment
Closed

Incorrect total number of audio tracks #95

LienLotus opened this issue Apr 8, 2020 · 1 comment

Comments

@LienLotus
Copy link

LienLotus commented Apr 8, 2020

In the manifest file:
Total audio tracks are 8 tracks
But using mpd-parser, total audio tracks are 4 tracks

const mpdParser = require('mpd-parser');
mpdParser.parse(response.body)
audio_tracks_counter = Object.keys(parsedManifest.mediaGroups.AUDIO.audio).length;

Screenshot from 2020-04-08 17-15-43

Note: response.body is the content of the manifest file (in the attachment)
Env: Ubuntu 18.04, mpd-parser version 0.10.1

manifest.txt

@gkatsev
Copy link
Member

gkatsev commented Apr 9, 2020

Closing this in favor of #77 because they are duplicates. We're going to try and look at this soon because it's definitely an important thing to get right.

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

2 participants