3 # Youtube Viewer 3.5.8 - configuration file
4 # original, 2160p, 1440p, 1080p, 720p, 480p, 360p, 240p, 144p, audio
10 cache_dir
=> "/home/hassan/.cache/youtube-viewer",
11 captions_dir
=> "/tmp",
14 comments_order
=> "time",
16 convert_cmd
=> "ffmpeg -i *IN* *OUT*",
20 custom_layout_format
=> "*NO*. *TITLE* (*AUTHOR*) (*RATING*) [*TIME*]\\n",
25 download_and_play
=> 0,
26 download_in_parallel
=> 0,
27 download_with_wget
=> 1,
31 ffmpeg_cmd
=> "/usr/bin/ffmpeg",
35 highlight_color
=> "bold",
36 highlight_watched
=> 1,
38 history_file
=> "/home/hassan/.config/youtube-viewer/history.txt",
39 history_limit
=> 10000,
43 keep_original_video
=> 0,
46 merge_into_mkv_args
=> "-loglevel warning -c:s srt -c:v copy -c:a copy -disposition:s forced",
47 merge_with_captions
=> 1,
51 publishedAfter
=> undef,
52 publishedBefore
=> undef,
55 remove_played_file
=> 0,
57 results_fixed_width
=> 0,
58 results_with_colors
=> 0,
59 results_with_details
=> 0,
63 srt_languages
=> ["en", "es"],
64 subscriptions_order
=> "relevance",
65 thousand_separator
=> ",",
66 use_invidious_api
=> 0,
67 video_filename_format
=> "*FTITLE* - *ID*.*FORMAT*",
68 video_player_selected
=> "mpv",
71 arg
=> "-prefer-ipv4 -really-quiet -title *TITLE*",
72 audio
=> "-audiofile *AUDIO*",
75 novideo
=> "-novideo",
79 arg
=> "--really-quiet --title *TITLE* --no-ytdl",
80 audio
=> "--audio-file *AUDIO*",
81 cmd
=> "/usr/bin/mpv",
83 novideo
=> "--no-video",
84 srt
=> "--sub-file *SUB*",
87 arg
=> "--quiet --play-and-exit --no-video-title-show --input-title-format *TITLE*",
88 audio
=> "--input-slave *AUDIO*",
91 novideo
=> "--intf dummy --novideo",
92 srt
=> "--sub-file *SUB*",
95 videoCaption
=> undef,
96 videoDefinition
=> undef,
97 videoDimension
=> undef,
98 videoDuration
=> undef,
99 videoLicense
=> undef,
100 videoSyndicated
=> undef,
101 wget_cmd
=> "/usr/bin/wget",
102 youtube_video_url
=> "https://www.youtube.com/watch?v=%s",