aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/fair-viewer13
-rwxr-xr-xbin/gtk-fair-viewer8
2 files changed, 0 insertions, 21 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}) {
diff --git a/bin/gtk-fair-viewer b/bin/gtk-fair-viewer
index 7dfd4c7..e8ea8c4 100755
--- a/bin/gtk-fair-viewer
+++ b/bin/gtk-fair-viewer
@@ -750,14 +750,6 @@ if (not $CONFIG{video_player_selected}) {
$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}};
- $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;
-#>>>
-}
{
my $update_config = 0;