[pipe-viewer] upstream update

This commit is contained in:
lara 2021-08-27 20:37:05 +02:00
parent c6812303b5
commit 50f6350f2f

View file

@ -1,6 +1,6 @@
#!/usr/bin/perl #!/usr/bin/perl
# CLI Pipe Viewer 0.0.5 - configuration file # CLI Pipe Viewer 0.0.7 - configuration file
our $CONFIG = { our $CONFIG = {
api_host => "auto", api_host => "auto",
@ -14,7 +14,17 @@ our $CONFIG = {
convert_to => undef, convert_to => undef,
cookie_file => undef, cookie_file => undef,
copy_caption => 0, copy_caption => 0,
custom_layout => 0, custom_channel_layout_format => [
{ align => "right", color => "bold", text => "*NO*.", width => 3 },
{ align => "left", color => "bold blue", text => "*AUTHOR*", width => "55%" },
{ align => "right", color => "green", text => "*VIDEOS* videos", width => 14 },
{
align => "right",
color => "green",
text => "*SUBS_SHORT* subs",
width => 10,
},
],
custom_layout_format => [ custom_layout_format => [
{ align => "right", color => "bold", text => "*NO*.", width => 3 }, { align => "right", color => "bold", text => "*NO*.", width => 3 },
{ align => "left", color => "bold blue", text => "*TITLE*", width => "55%" }, { align => "left", color => "bold blue", text => "*TITLE*", width => "55%" },
@ -23,6 +33,12 @@ our $CONFIG = {
{ align => "right", color => "green", text => "*VIEWS_SHORT*", width => 5 }, { align => "right", color => "green", text => "*VIEWS_SHORT*", width => 5 },
{ align => "right", color => "blue", text => "*TIME*", width => 8 }, { align => "right", color => "blue", text => "*TIME*", width => 8 },
], ],
custom_playlist_layout_format => [
{ align => "right", color => "bold", text => "*NO*.", width => 3 },
{ align => "left", color => "bold blue", text => "*TITLE*", width => "55%" },
{ align => "right", color => "green", text => "*ITEMS* videos", width => 14 },
{ align => "left", color => "magenta", text => "*AUTHOR*", width => "20%" },
],
dash => 1, dash => 1,
date => undef, date => undef,
debug => 0, debug => 0,
@ -53,14 +69,12 @@ our $CONFIG = {
order => undef, order => undef,
page => 1, page => 1,
prefer_av1 => 0, prefer_av1 => 0,
prefer_invidious => 0,
prefer_mp4 => 0, prefer_mp4 => 0,
region => undef, region => undef,
remember_watched => 0, remember_watched => 0,
remove_played_file => 0, remove_played_file => 0,
resolution => "720p", resolution => "720p",
results_fixed_width => 0,
results_with_colors => 0,
results_with_details => 0,
show_video_info => 1, show_video_info => 1,
skip_if_exists => 1, skip_if_exists => 1,
skip_watched => 0, skip_watched => 0,