database64128 / youtube-dl-wpf

A simple GUI wrapper for youtube-dl and yt-dlp.
GNU General Public License v3.0
847 stars 66 forks source link

not recognize subtitle options #161

Closed Stepan-H closed 1 year ago

Stepan-H commented 1 year ago

yt-dlp.exe: error: no such option: --write-subs --sub-langs "cs,sk,en, -live_chat"

see the "Subtitle Options" https://github.com/yt-dlp/yt-dlp#subtitle-options

database64128 commented 1 year ago

You need to select the correct backend type in settings. Select yt-dlp instead of youtube-dl.

Stepan-H commented 1 year ago

What am I doing wrong?

This is my global setting: CYTD_01

This is my download/command setting: CYTD_02

and

This is log (I would like to add txt file, but only md supported. I tryed to convert do md but It's not readeble...): 2022-12-11T23:18:30.4744764+01:00 [I] Initializing to normal mode (.cctor) 2022-12-11T23:18:30.8591914+01:00 [W] The class YoutubeDl.Wpf.MainWindow property rootDialogHost is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:30.8894016+01:00 [W] The class YoutubeDl.Wpf.MainWindow property mainTabControl is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.3444290+01:00 [W] The class YoutubeDl.Wpf.Views.PresetDialogView property nameTextBox is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.3460482+01:00 [W] The class YoutubeDl.Wpf.Views.PresetDialogView property formatTextBox is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.3462211+01:00 [W] The class YoutubeDl.Wpf.Views.PresetDialogView property containerTextBox is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.3543300+01:00 [W] The class YoutubeDl.Wpf.Views.PresetDialogView property backendYoutubeDlCheckBox is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.3588902+01:00 [W] The class YoutubeDl.Wpf.Views.PresetDialogView property backendYtDlpCheckBox is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.3668317+01:00 [W] The class YoutubeDl.Wpf.Views.PresetDialogView property argumentsItemsControl is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.3806012 +01:00 [W] The class YoutubeDl.Wpf.Views.HomeView property linkTextBox is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.3890435+01:00 [W] The class YoutubeDl.Wpf.Views.HomeView property downloadButton is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.3964918+01:00 [W] The class YoutubeDl.Wpf.Views.HomeView property presetComboBox is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.4017101+01:00 [W] The class YoutubeDl.Wpf.Views.HomeView property subtitlesDefaultCheckBox is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.4019439+01:00 [W] The class YoutubeDl.Wpf.Views.HomeView property subtitlesAllLanguagesCheckBox is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.4021448+01:00 [W] The class YoutubeDl.Wpf.Views.HomeView property subtitlesAutoGeneratedCheckBox is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.4027488+01:00 [W] The class YoutubeDl.Wpf.Views.HomeView property metadataToggle is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.4030348+01:00 [W] The class YoutubeDl.Wpf.Views.HomeView property thumbnailToggle is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.4032269+01:00 [W] The class YoutubeDl.Wpf.Views.HomeView property playlistToggle is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.4036954+01:00 [W] The class YoutubeDl.Wpf.Views.HomeView property filenameTemplateToggle is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.4055828+01:00 [W] The class YoutubeDl.Wpf.Views.HomeView property filenameTemplateTextBox is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.4075881+01:00 [W] The class YoutubeDl.Wpf.Views.HomeView property pathToggle is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.4077912+01:00 [W] The class YoutubeDl.Wpf.Views.HomeView property pathComboBox is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.4141406+01:00 [W] The class YoutubeDl.Wpf.Views.HomeView property argumentsItemsControl is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.4152436+01:00 [W] The class YoutubeDl.Wpf.Views.HomeView property resultTextBox is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.4715202+01:00 [W] The class YoutubeDl.Wpf.Views.AddArgumentView property argumentTextBox is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.4814435+01:00 [W] The class YoutubeDl.Wpf.Models.BackendArgument property Argument is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.4819029+01:00 [W] The class YoutubeDl.Wpf.Views.ArgumentChipView property argumentChip is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:31.6181092+01:00 [I] Latest version: 2022.11.11, Current version: 2022.11.11 2022-12-11T23:18:31.6182881+01:00 [I] yt-dlp is up to date (2022.11.11) 2022-12-11T23:18:47.5743299+01:00 [W] The class YoutubeDl.Wpf.Views.SettingsView property systemColorModeRadioButton is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:47.5766821+01:00 [W] The class YoutubeDl.Wpf.Views.SettingsView property lightColorModeRadioButton is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:47.5769493+01:00 [W] The class YoutubeDl.Wpf.Views.SettingsView property darkColorModeRadioButton is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:47.5804560+01:00 [W] The class YoutubeDl.Wpf.Views.SettingsView property ytdlBackendTypeRadioButton is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:47.5826412+01:00 [W] The class YoutubeDl.Wpf.Views.SettingsView property ytdlpBackendTypeRadioButton is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:47.5838628+01:00 [W] The class YoutubeDl.Wpf.Views.SettingsView property dlPathTextBox is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:47.5844254+01:00 [W] The class YoutubeDl.Wpf.Views.SettingsView property argumentsItemsControl is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:47.5854124+01:00 [W] The class YoutubeDl.Wpf.Views.SettingsView property autoUpdateDlToggle is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:47.5927409+01:00 [W] The class YoutubeDl.Wpf.Views.SettingsView property lastUpdateCheckTextBlock is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:47.5934698+01:00 [W] The class YoutubeDl.Wpf.Views.SettingsView property ffmpegPathTextBox is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:47.5937385+01:00 [W] The class YoutubeDl.Wpf.Views.SettingsView property proxyTextBox is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:47.5984255+01:00 [W] The class YoutubeDl.Wpf.Views.SettingsView property maxLogEntriesTextBox is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:18:47.5993833+01:00 [W] The class YoutubeDl.Wpf.Views.SettingsView property versionTextBlock is a POCO type and won't send change notifications, WhenAny will only return a single value! 2022-12-11T23:25:00.1208741+01:00 [I] 2022-12-11T23:25:00.1211173+01:00 [I] Usage: yt-dlp.exe [OPTIONS] URL [URL...] 2022-12-11T23:25:00.1211534+01:00 [I] 2022-12-11T23:25:00.1211807+01:00 [I] yt-dlp.exe: error: no such option: --write-subs --sub-langs "cs,sk,en, -live_chat"

database64128 commented 1 year ago

The custom argument you specified are actually 3 separate arguments and need to be specified separately. Instead of having a single --write-subs --sub-langs "cs,sk,en, -live_chat", you need to add:

Also, are you sure you wanted --write-subs, not --embed-subs? If --embed-subs is what you want, you can select "Default" subtitles and only add the last two custom arguments.