aboutsummaryrefslogtreecommitdiffstats
path: root/bin/gtk-fair-viewer
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gtk-fair-viewer')
-rwxr-xr-xbin/gtk-fair-viewer12
1 files changed, 3 insertions, 9 deletions
diff --git a/bin/gtk-fair-viewer b/bin/gtk-fair-viewer
index 42ab174..096f9a9 100755
--- a/bin/gtk-fair-viewer
+++ b/bin/gtk-fair-viewer
@@ -162,13 +162,6 @@ my %CONFIG = (
fs => q{--fullscreen},
arg => q{--really-quiet --title=*TITLE* --no-ytdl},
},
- mplayer => {
- cmd => q{mplayer},
- srt => q{-sub *SUB*},
- audio => q{-audiofile *AUDIO*},
- fs => q{-fs},
- arg => q{-prefer-ipv4 -really-quiet -title *TITLE*},
- },
smplayer => {
cmd => q{smplayer},
srt => q{-sub *SUB*},
@@ -3050,8 +3043,9 @@ sub get_player_command {
my ($streaming, $video) = @_;
my %MPLAYER;
- $MPLAYER{fullscreen} = $CONFIG{fullscreen} ? $CONFIG{video_players}{$CONFIG{video_player_selected}}{fs} : q{};
- $MPLAYER{mplayer_arguments} = $CONFIG{video_players}{$CONFIG{video_player_selected}}{arg} // q{};
+
+ $MPLAYER{fullscreen} = $CONFIG{fullscreen} ? $CONFIG{video_players}{$CONFIG{video_player_selected}}{fs} : q{};
+ $MPLAYER{arguments} = $CONFIG{video_players}{$CONFIG{video_player_selected}}{arg} // q{};
my $cmd = join(
q{ },