diff options
Diffstat (limited to 'bin/fair-viewer')
-rwxr-xr-x | bin/fair-viewer | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/bin/fair-viewer b/bin/fair-viewer index dd721bb..3d2659e 100755 --- a/bin/fair-viewer +++ b/bin/fair-viewer @@ -460,19 +460,6 @@ sub load_config { $CONFIG{video_player_selected} = 'mpv'; } } - elsif ($CONFIG{video_player_selected} =~ /mpv/i) { # update for mpv 0.32 (#290) -#<<< - my $mpv = $CONFIG{video_players}{$CONFIG{video_player_selected}}; - if ( - ($mpv->{arg} =~ s/(--title)\s+(\*TITLE\*)/$1=$2/g) - | ($mpv->{audio} =~ s/(--audio-file)\s+(\*AUDIO\*)/$1=$2/g) - | ($mpv->{srt} =~ s/(--sub-file)\s+(\*SUB\*)/$1=$2/g) - ) { - say ":: Updated configuration to support mpv 0.32"; - $update_config = 1; - } -#>>> - } # Download with wget if it is installed if (not defined $CONFIG{download_with_wget}) { |