diff options
-rwxr-xr-x | bin/fair-viewer | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/bin/fair-viewer b/bin/fair-viewer index b06dcda..dd721bb 100755 --- a/bin/fair-viewer +++ b/bin/fair-viewer @@ -238,7 +238,6 @@ my %CONFIG = ( downloads_dir => curdir(), keep_original_video => 0, download_and_play => 0, - autohide_watched => 0, skip_watched => 0, remember_watched => 0, watched_file => $watched_file, @@ -762,7 +761,6 @@ usage: $execname [options] ([url] | [keywords]) --max-seconds=i : ignore videos longer than i seconds --min-seconds=i : ignore videos shorter than i seconds --get-term-width! : allow $execname to read your terminal width - --autohide! : automatically hide watched videos --skip-watched! : don't play already watched videos --highlight! : remember and highlight selected videos --confirm! : show a confirmation message after each play @@ -1603,7 +1601,6 @@ sub parse_arguments { 'get-term-width!' => \$opt{get_term_width}, 'page=i' => \$opt{page}, 'novideo|no-video|n|audio!' => \$opt{novideo}, - 'autohide!' => \$opt{autohide_watched}, 'highlight!' => \$opt{highlight_watched}, 'skip-watched!' => \$opt{skip_watched}, 'results=i' => \$opt{maxResults}, @@ -4116,10 +4113,6 @@ sub print_videos { if (@for_play and not play_videos([@{$videos}[@for_play]])) { __SUB__->($results); } - - if ($opt{autohide_watched}) { - splice(@{$videos}, $key, 1) for @for_play; - } } else { push @for_search, $key; |