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

Added undefined check to durationStringToNumber #1089

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

suspi
Copy link

@suspi suspi commented Feb 11, 2024

Ran into this issue with this stack trace

TypeError: Cannot read properties of undefined (reading 'split')
at Object.exports.durationStringToNumber (/app/utils.js:227:35)
at /app/files.js:226:58
at Array.reduce ()
at Object.exports.calculatePlaylistDuration (/app/files.js:226:31)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.exports.createPlaylist (/app/files.js:156:22)
at async /app/downloader.js:403:33

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

Successfully merging this pull request may close these issues.

None yet

1 participant