deniscerri / ytdlnis

Android Video/Audio Downloader app using yt-dlp
GNU General Public License v3.0
3.62k stars 123 forks source link

[BUG] The file name cannot contain Cyrillic characters #386

Closed Korb closed 7 months ago

Korb commented 7 months ago

Describe the bug When saving a video from YouTube, the file name is formed with complete disregard for national characters. At least in the case of the Russian language.

To Reproduce

  1. Open the application and specify the link https://www.youtube.com/watch?v=2qRCVeWJJwA
  2. Filename Template: %(playlist_title)s. %(playlist_id)s. %(fulltitle)s
  3. Saved video file name: " by (20240124).webm"

Expected behavior Saved video file name: "Как валютный контроль обвалит рубль by Радио Свобода (20240124).webm".

Screenshots / Video Recording Screenshot_2024_0130_133420 Screenshot_2024_0130_133442 Screenshot_2024_0130_133457_com cxinventor file explorer

(please complete the following information):

OS version: Funtouch OS 13 Global Model: Vivo T1 4G / V2153 Hardware version: MP_0.1 Build number: PD22010F_EX_A_13.1.16.4.W20.V000L1 Baseband version: 6.HA.1.1.c2-00012-KD_ALL_PACK-1.6347.130 Kernel version: 4.19.157-perf+, 1 Tue Dec 5 10:36:31 CST 2023 Compile time: 5 Dec 2023 05:25:06 Android security update: 1 December 2023 Google Play system update: 1 November 2023

zaednasr commented 7 months ago

Do you have restrict filenames on?

Korb commented 7 months ago

Yes, you are right, this setting was enabled. After disabling it, files began to be saved with the correct names. Thank you!