diff options
| author | Vito Graffagnino <vito@graffagnino.xyz> | 2020-09-08 18:10:49 +0100 |
|---|---|---|
| committer | Vito Graffagnino <vito@graffagnino.xyz> | 2020-09-08 18:10:49 +0100 |
| commit | 3b0142cedcde39e4c2097ecd916a870a3ced5ec6 (patch) | |
| tree | 2116c49a845dfc0945778f2aa3e2118d72be428b /.config/youtube-viewer | |
| parent | 8cc927e930d5b6aafe3e9862a61e81705479a1b4 (diff) | |
Added the relevent parts of the .config directory. Alss add ssh config
Diffstat (limited to '.config/youtube-viewer')
| -rw-r--r-- | .config/youtube-viewer/api.json | 5 | ||||
| -rwxr-xr-x | .config/youtube-viewer/youtube-viewer.conf | 108 |
2 files changed, 113 insertions, 0 deletions
diff --git a/.config/youtube-viewer/api.json b/.config/youtube-viewer/api.json new file mode 100644 index 0000000..7ab6233 --- /dev/null +++ b/.config/youtube-viewer/api.json @@ -0,0 +1,5 @@ +{ + "key": "AIzaSyAMc8ISWh-WZ6tX16gxlkM7SJua206ThJE", + "client_id": "526003644271-2scpssqf8fdbtgkud41rigmv0n8h2013.apps.googleusercontent.com", + "client_secret": "x-j3Qlf6vnQEbWiJIi1WSl0v" +} diff --git a/.config/youtube-viewer/youtube-viewer.conf b/.config/youtube-viewer/youtube-viewer.conf new file mode 100755 index 0000000..678b5b5 --- /dev/null +++ b/.config/youtube-viewer/youtube-viewer.conf @@ -0,0 +1,108 @@ +#!/usr/bin/perl + +# YouTube Viewer 3.7.5 - configuration file + +our $CONFIG = { + auto_captions => 0, + autohide_watched => 0, + autoplay_mode => 0, + cache_dir => "/home/archlinux/vgg/.cache/youtube-viewer", + captions_dir => "/tmp", + colors => 1, + comments_order => "time", + confirm => 0, + convert_cmd => "ffmpeg -i *IN* *OUT*", + convert_to => undef, + copy_caption => 0, + custom_layout => 0, + custom_layout_format => [ + { align => "right", color => "bold", text => "*NO*.", width => 3 }, + { text => "*TITLE*", width => "60%" }, + { align => "right", color => "green", text => "*AUTHOR*", width => "20%" }, + { align => "right", color => "blue", text => "*TIME*", width => 8 }, + ], + dash_mp4_audio => 1, + dash_segmented => 1, + dash_support => 1, + debug => 0, + download_and_play => 1, + download_with_wget => 1, + downloads_dir => "/home/archlinux/vgg/dwhelper", + env_proxy => 1, + fat32safe => 0, + ffmpeg_cmd => "/usr/bin/ffmpeg", + fullscreen => 0, + get_captions => 0, + get_term_width => 1, + highlight_color => "bold", + highlight_watched => 0, + history => 0, + history_file => "~/.config/youtube-viewer/history.txt", + history_limit => 10000, + hl => "en_US", + http_proxy => undef, + interactive => 1, + keep_original_video => 0, + maxResults => 30, + merge_into_mkv => 1, + merge_into_mkv_args => "-loglevel warning -c:s srt -c:v copy -c:a copy -disposition:s forced", + merge_with_captions => 1, + order => undef, + page => 1, + prefer_av1 => 0, + prefer_mp4 => 0, + publishedAfter => undef, + publishedBefore => undef, + regionCode => undef, + remember_watched => 0, + remove_played_file => 0, + resolution => "original", + results_fixed_width => 0, + results_with_colors => 0, + results_with_details => 0, + safeSearch => undef, + show_video_info => 1, + skip_if_exists => 0, + skip_watched => 0, + srt_languages => ["en", "es"], + subscriptions_order => "relevance", + thousand_separator => ",", + use_invidious_api => 0, + video_filename_format => "*FTITLE*.*FORMAT*", + video_player_selected => "mpv", + video_players => { + mplayer => { + arg => "-prefer-ipv4 -really-quiet -title *TITLE*", + audio => "-audiofile *AUDIO*", + cmd => "/usr/bin/mplayer", + fs => "-fs", + novideo => "-novideo", + srt => "-sub *SUB*", + }, + mpv => { + arg => "--really-quiet --title=*TITLE* --no-ytdl", + audio => "--audio-file=*AUDIO*", + cmd => "mpv", + fs => "--fullscreen", + novideo => "--no-video", + srt => "--sub-file=*SUB*", + }, + vlc => { + arg => "--quiet --play-and-exit --no-video-title-show --input-title-format *TITLE*", + audio => "--input-slave *AUDIO*", + cmd => "vlc", + fs => "--fullscreen", + novideo => "--intf dummy --novideo", + srt => "--sub-file *SUB*", + }, + }, + videoCaption => undef, + videoDefinition => undef, + videoDimension => undef, + videoDuration => undef, + videoLicense => undef, + videoSyndicated => undef, + watched_file => "$ENV{HOME}/.config/youtube-viewer/watched.txt", + wget_cmd => "wget", + youtube_video_url => "https://www.youtube.com/watch?v=%s", +} |
