OS/2, eCS & ArcaOS - Technical > Applications
Media downloader
Remy:
I progressed (give a try on python 3.12)
Now, trying to download a video, I have:
WARNING: [xxxxxxx] No supported JavaScript runtime could be found. Only deno is enabled by default; to use another runtime add --js-runtimes RUNTIME[:PATH] to your command/config. YouTube extraction without a JS runtime has been deprecated, and some formats may be missing. See https://github.com/yt-dlp/yt-dlp/wiki/EJS for details on installing one
...
ERROR: 'charmap' codec can't encode character '\uff1a' in position 18: character maps to <undefined>
[media-downloader] Download Failed(ErrorCode=1)
note: xxxxxxx = removed name
TeLLie:
Hi Remy
Not sure if you do this from readme...
How to install:
If you get error that it cannot download yt-dlp then you have to set in ?:\Home\.local\share\media-downloader\settings\settings.ini to NetworkTimeOutInSeconds=300
REQUIREMENTS
PYTHON3
You need python 3 to run this software, you can get it from the netlabs rpm, but sometimes there are a conflict issue to install this software.
The issue was listed here: https://mantis.arcanoae.com/view.php?id=3523
The trick to install python 3 is:
- In ANPM (Arca Noae Package Manager) go to "Available - RPM"
- Select "python2.7", "python3", "python-unversioned-command" and run "Install".
It will take some time while it obsolete some packaged and get the new ones.
After that you will be able to run Media-Downloader and will automatically download "yt-dlp runtime" that is required.
CONFIGURATION CHANGES
'By default, youtube-dl and its forks create files that are in title-id.extension format and what you seem
to not want is the id part and you can remove it by doing the following:-
On OS2 we cant have utf8 filenames, and we need to stick with ascii, that's why we need to
add --restrict-filenames
- Go to Configure tab.
- Go to Engines's Default Options tab.
- At the Engine's Name drop down list, select an engine you want to change its option.
- At the "Options To Add" text field, add --newline --ignore-config --no-playlist --restrict-filenames -o %(title).200s-%(id)s.%(ext)s
- Click Add.
- Right click the newly added entry and then select Set As Default.
Now you won't get an error while trying to download the file.
Remy:
--- Quote from: TeLLie on January 20, 2026, 02:16:13 pm ---Hi Remy
Not sure if you do this from readme...
How to install:
If you get error that it cannot download yt-dlp then you have to set in ?:\Home\.local\share\media-downloader\settings\settings.ini to NetworkTimeOutInSeconds=300
REQUIREMENTS
PYTHON3
You need python 3 to run this software, you can get it from the netlabs rpm, but sometimes there are a conflict issue to install this software.
The issue was listed here: https://mantis.arcanoae.com/view.php?id=3523
The trick to install python 3 is:
- In ANPM (Arca Noae Package Manager) go to "Available - RPM"
- Select "python2.7", "python3", "python-unversioned-command" and run "Install".
It will take some time while it obsolete some packaged and get the new ones.
After that you will be able to run Media-Downloader and will automatically download "yt-dlp runtime" that is required.
CONFIGURATION CHANGES
'By default, youtube-dl and its forks create files that are in title-id.extension format and what you seem
to not want is the id part and you can remove it by doing the following:-
On OS2 we cant have utf8 filenames, and we need to stick with ascii, that's why we need to
add --restrict-filenames
- Go to Configure tab.
- Go to Engines's Default Options tab.
- At the Engine's Name drop down list, select an engine you want to change its option.
- At the "Options To Add" text field, add --newline --ignore-config --no-playlist --restrict-filenames -o %(title).200s-%(id)s.%(ext)s
- Click Add.
- Right click the newly added entry and then select Set As Default.
Now you won't get an error while trying to download the file.
--- End quote ---
The python 3 from official repositories is 3.9 and doesn't work due mediadownloader requires 3.10 as minimum level.
>> python 3.12 is available on experimental repository only
Will try your suggestions
Thanks
Remy:
Ok, this " --newline --ignore-config --no-playlist --restrict-filenames -o %(title).200s-%(id)s.%(ext)s " corrected the latest issue
Thanks
Navigation
[0] Message Index
[*] Previous page
Go to full version