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

destreamer does not detect aria2 on non-English Linux installations #474

Open
clamintus opened this issue Dec 16, 2022 · 0 comments
Open

Comments

@clamintus
Copy link

OS: Arch Linux 6.0.12-arch1-1

Launch command used: ./destreamer.sh -v -i <Sharepoint video URL>

I'm using the Sharepoint branch of the program.
In Linux, aria2 is distributed with localised strings. For example in the Italian translation, "version" is replaced with "versione" (that's my case).
If I run aria2c --version I'm outputting the following: aria2 versione 1.36.0
Now, because destreamer checks aria2 presence using a regular expression which searches for the "version" word in the previous command's output, it will fail most of the times outside English locale:

[FATAL ERROR] Aria2 is missing!

Destreamer requires a fairly recent release of Aria2 to download videos

Changing the regex solves the problem. I will send a PR later with a solution I found.

Best regards :)

Verbose log
[VERBOSE] Using ffmpeg version n5.1.2-1-g05d6157aab Copyright (c) 2000-2022 the FFmpeg developers



[FATAL ERROR] Aria2 is missing!

Destreamer requires a fairly recent release of Aria2 to download videos´
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