Closed lsaranto closed 4 years ago
On my Linux box it's in ~/.config/youtube-dlg.
~/.config is a hidden folder, so you have to press CTRL + H to see it.
I'm not a Linux expert, but I know my basics. It's not there.
# ls -al
total 0
drwxr-xr-x 1 root root 6 Dec 7 2019 .
drwxr-xr-x 1 root root 22 Dec 7 2019 ..
-rw-r--r-- 1 root root 0 Dec 7 2019 log
# find / -name settings.json
find: '/proc/695/map_files': Permission denied
find: '/proc/748/map_files': Permission denied
find: '/proc/749/map_files': Permission denied
find: '/proc/796/map_files': Permission denied
find: '/proc/821/map_files': Permission denied
find: '/sys/kernel/slab': Input/output error
If you have it, could you just post it here, please? I'll place it in the ~/.config/youtube-dlg/ and hope it reads it.
{
"keep_video": false,
"opts_win_size": "640/490",
"open_dl_dir": false,
"second_video_format": "0",
"native_hls": true,
"write_subs": false,
"sudo_password": "",
"workers_number": 3,
"max_filesize": 0,
"youtube_dl_debug": false,
"shutdown": false,
"selected_format": "0",
"write_all_subs": false,
"enable_log": true,
"embed_thumbnail": false,
"audio_quality": "5",
"main_win_size": "740/490",
"restrict_filenames": false,
"min_filesize_unit": "",
"video_password": "",
"selected_audio_formats": [
"mp3",
"m4a",
"vorbis"
],
"selected_video_formats": [
"webm",
"mp4"
],
"save_path": "/home/myname",
"output_template": "%(uploader)s/%(title)s.%(ext)s",
"show_completion_popup": true,
"locale_name": "en_US",
"to_audio": false,
"confirm_deletion": true,
"min_filesize": 0,
"save_path_dirs": [
"/home/myname",
],
"audio_format": "",
"max_downloads": 0,
"output_format": 1,
"embed_subs": false,
"write_auto_subs": false,
"video_format": "0",
"confirm_exit": true,
"referer": "",
"proxy": "",
"add_metadata": false,
"ignore_errors": true,
"log_time": true,
"password": "",
"playlist_end": 0,
"write_description": false,
"retries": 10,
"cmd_args": "",
"write_thumbnail": false,
"playlist_start": 1,
"nomtime": false,
"write_info": false,
"username": "",
"subs_lang": "en",
"user_agent": "",
"max_filesize_unit": "",
"ignore_config": true,
"youtubedl_path": "/home/myname/.config/youtube-dlg"
}
This settings.json file does not contain default settings.
Also, there are three lines containing a filepath, so you should replace /home/myname/
with the equivalent on your system
Also, if youtube-dlg will not run on your system, I maintain a fork that probably will.
Thank you for the file. I'll go through it before using it.
I'll check your fork.
I've looked at the locations given in FAQ on both Windows and Linux setups, but there is no settings.json file. Can someone provide an example file what is in it?