destreamer icon indicating copy to clipboard operation
destreamer copied to clipboard

destreamer does not detect aria2 on non-English Linux installations

Open clamintus opened this issue 1 year ago • 0 comments

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´

clamintus avatar Dec 16 '22 13:12 clamintus