JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 16.08.2023, 06:11
danzig danzig is offline
Vacuum Cleaner
 
Join Date: Jul 2019
Posts: 16
Default File Names with Non-English Characters in JD2 in Docker

I'm currently using Jdownloader2 in a Docker container under OMV Portainer, and running in a Raspberry Pi using this:

**External links are only visible to Support Staff****External links are only visible to Support Staff**

I added this video

**External links are only visible to Support Staff****External links are only visible to Support Staff**

which has diamond characters in the file name. The folder name doesn't show up correctly, and the video is divided into a dashVideo and dashAudio files, and the file name consists of a string of characters. I have to combine the videos using MKVToolnix and rename the file to the correct movie title.

There's a solution here

https://board.jdownloader.org/showpo...01&postcount=6

to set

Settings-Advanced Settings-LAFSettings.fontname

to a font like Arial Unicode MS, but I couldn't find the setting in the advanced settings in the JD2 version mentioned above. I also searched for "font".

Does anyone also use JD2 in Raspberry Pi? If so, how did you solve this issue?
Reply With Quote
  #2  
Old 17.08.2023, 18:23
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 74,051
Default

Solution:
https://support.jdownloader.org/Know...locale-setting
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #3  
Old 18.08.2023, 06:27
danzig danzig is offline
Vacuum Cleaner
 
Join Date: Jul 2019
Posts: 16
Default

Thanks for the help. I tried "locale" and it came up with the ff:

LC_CTYPE="en_US.UTF-8"
LANG="en_US.UTF-8"
LC_COLLATE="C.UTF-8"

But the entry for LC_COLLATE needs to be "C". I'll try changing that and see what happens.
Reply With Quote
  #4  
Old 18.08.2023, 16:29
danzig danzig is offline
Vacuum Cleaner
 
Join Date: Jul 2019
Posts: 16
Default

Sorry, the problem still takes place.

Here's what I tried to get:

**External links are only visible to Support Staff****External links are only visible to Support Staff**

Name of video:

♦Western Classics♦ 'Quincannon, Frontier Scout' (1956) Tony Martin, Peggie Castle

(It's the presence of the diamond symbols that causes the problem.)

Here are the container details:

JAVA_HOME /usr/lib/jvm/jdk-10.0.2-bellsoft-armv7l
LANG en_US.UTF-8
LANGUAGE C.UTF-8
LC_ALL C.UTF-8
LC_COLLATE C
LC_CTYPE en_US.UTF-8

Here are the contents of what was downloaded:

Folder: _QWC1C~5

Contents:

_3G1F6~I.TXT
_4KV2X~R.SRT
_FQALE~P.SRT
3gU8dTO_vMI_MP4_H264_1080P_30FPS_AAC_128KBIT_DASH_cc656f39610c044c36e29fb7d70b1bea.dashAudio
3gU8dTO_vMI_MP4_H264_1080P_30FPS_AAC_128KBIT_DASH_cc656f39610c044c36e29fb7d70b1bea.dashVideo
Reply With Quote
  #5  
Old 18.08.2023, 16:55
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 74,051
Default

EDIT
How do you access those files?
Directly via shell or samba/network?

Please post your log-ID here
If your bugreport is about a specific website which JD supports via plugin, please also provide example URLs which can be used to reproduce the issue you are having.

Bitte poste deine Log-ID hier.
Falls dein gemeldetes Problem ein Problem mit einer Webseite ist, die per Plugin unterstützt wird, stelle bitte zusätzlich Testlinks zur Verfügung, mit denen sich dein Problem nachstellen lässt.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?

Last edited by pspzockerscene; 18.08.2023 at 16:57. Reason: EDIT
Reply With Quote
  #6  
Old 19.08.2023, 12:04
danzig danzig is offline
Vacuum Cleaner
 
Join Date: Jul 2019
Posts: 16
Default

I use Samba/Network, via Windows explorer. Other videos with no non-ASCII characters in the file names are downloaded and merged correctly. The ones with those characters, like the diamond, are downloaded misnamed and not merged. What I do is read any .txt or .srt file or view the video to get the correct video title and rename them, and then I merge the video and audio files using MKVToolnix.

The same problem happens for videos with characters like an umlaut or Cyrillic, Korean, Japanese, and Arabic script.
Reply With Quote
  #7  
Old 19.08.2023, 19:31
danzig danzig is offline
Vacuum Cleaner
 
Join Date: Jul 2019
Posts: 16
Default

Thank you. I used Arial in a desktop version of JD2 in Windows, and the problem disappeared. I'll experiment first and try another font for JD2 in the Docker.
Reply With Quote
  #8  
Old 31.08.2023, 13:49
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 74,051
Default

Thanks for the feedback.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?

Last edited by pspzockerscene; 31.08.2023 at 13:50. Reason: Fixed typo
Reply With Quote
  #9  
Old 06.10.2023, 09:47
danzig danzig is offline
Vacuum Cleaner
 
Join Date: Jul 2019
Posts: 16
Default

Hello. I found out that there are settings for environmental variables in Portainer, so I entered the ff. variables given

https://support.jdownloader.org/Know...locale-setting

LC_CTYPE=en_US.UTF-8
LANG=en_US.UTF-8
LC_COLLATE=C

in the container where Jdownloader is running, but it didn't work. The video

**External links are only visible to Support Staff****External links are only visible to Support Staff**

shows up correctly in Jdownloader docker when I download it, but the video isn't muxed. The file name is composed of random characters and consists of .dashVideo and .dashAudio files.

When I combine the files using MKVToolNix in Windows, the video plays fine, though.

Also, when I use Jdownloader for Windows, the video muxes correctly when I change the ff. setting:

Settings-Advanced Settings-LAFSettings.fontname

However, this setting doesn't show up in Jdownloader for docker.
Reply With Quote
  #10  
Old 06.10.2023, 11:57
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 74,051
Default

The setting you mention in your post is not related to your problem.

Please post your log-ID here
If your bugreport is about a specific website which JD supports via plugin, please also provide example URLs which can be used to reproduce the issue you are having.

Bitte poste deine Log-ID hier.
Falls dein gemeldetes Problem ein Problem mit einer Webseite ist, die per Plugin unterstützt wird, stelle bitte zusätzlich Testlinks zur Verfügung, mit denen sich dein Problem nachstellen lässt.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #11  
Old 06.10.2023, 17:22
danzig danzig is offline
Vacuum Cleaner
 
Join Date: Jul 2019
Posts: 16
Default

I'm only following the solution you gave. I changed the environment in the OS and also in the container.
Reply With Quote
  #12  
Old 06.10.2023, 17:36
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 74,051
Default

I'm out of ideas.
Please wait for other team members or users to reply to this thread.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #13  
Old 08.10.2023, 06:29
danzig danzig is offline
Vacuum Cleaner
 
Join Date: Jul 2019
Posts: 16
Default

Thanks for the help. I checked the docker version developer site, and found the ff.

**External links are only visible to Support Staff****External links are only visible to Support Staff**

**External links are only visible to Support Staff****External links are only visible to Support Staff**

**External links are only visible to Support Staff****External links are only visible to Support Staff**

**External links are only visible to Support Staff****External links are only visible to Support Staff**

**External links are only visible to Support Staff****External links are only visible to Support Staff**

The docker version developer also tried adding the environment variables in both the OS and the container, and the problem still took place. The problem remains unresolved.

FWIW, I set the following in Jdownloader for Windows Desktop,

Advanced Settings - LAFSettings: Font Name - Arial Unicode MS

and the problem disappeared.

Maybe I should try installing Jdownloader in the Raspbian OS instead of in a docker container, and then see what happens.
Reply With Quote
  #14  
Old 08.10.2023, 18:34
danzig danzig is offline
Vacuum Cleaner
 
Join Date: Jul 2019
Posts: 16
Default

OK, I installed Jdownloader in the OS itself (headless RPi), and it worked fine. That means the problems's with the docker.

For now, I'll just use this install instead of the container.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 23:44.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.