Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Check if m3u8 contains audio stream before use #185

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

larezende
Copy link

Hi fellows.

When using I had issues with some m3u8 videos without audio, failing to download the video and crashing the script.

I just added a quick check if there is an audio stream before accessing it.

I hope it help anybody with the same issue 👍

@Avnsx
Copy link
Owner

Avnsx commented Nov 16, 2023

Did you actually test this fix in quantity and did this solve the issue for you, every time?

@larezende
Copy link
Author

It did work for my cases, but unfortunately there are not many videos without audio, just a few, so the quantity is not high.

@neiljohn150
Copy link

neiljohn150 commented Dec 12, 2023

I was creating a similar one as well. I confirm this fixes the same issues as I encountered

00cfb53

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

Successfully merging this pull request may close these issues.

3 participants