slackbuilds_ponce/multimedia/straw-viewer/restore_mplayer.diff
B. Watson 02bb379afe
multimedia/straw-viewer: Updated for version 0.1.3.
Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2021-10-13 00:51:30 +07:00

35 lines
1.9 KiB
Diff

diff -Naur straw-viewer-0.1.3/bin/gtk-straw-viewer straw-viewer-0.1.3.patched/bin/gtk-straw-viewer
--- straw-viewer-0.1.3/bin/gtk-straw-viewer 2021-02-23 11:29:38.000000000 -0500
+++ straw-viewer-0.1.3.patched/bin/gtk-straw-viewer 2021-08-03 12:55:18.814976310 -0400
@@ -163,6 +163,13 @@
fs => q{--fullscreen},
arg => q{--really-quiet --force-media-title=*TITLE* --no-ytdl *VIDEO*},
},
+ mplayer => {
+ cmd => q{mplayer},
+ srt => q{-sub *SUB*},
+ audio => q{-audiofile *AUDIO*},
+ fs => q{-fs},
+ arg => q{-prefer-ipv4 -really-quiet -title *TITLE* *VIDEO*},
+ },
},
video_player_selected => undef, # autodetect it later
diff -Naur straw-viewer-0.1.3/bin/straw-viewer straw-viewer-0.1.3.patched/bin/straw-viewer
--- straw-viewer-0.1.3/bin/straw-viewer 2021-02-23 11:29:38.000000000 -0500
+++ straw-viewer-0.1.3.patched/bin/straw-viewer 2021-08-03 12:57:03.187966822 -0400
@@ -158,6 +158,14 @@
arg => q{--really-quiet --force-media-title=*TITLE* --no-ytdl *VIDEO*},
novideo => q{--no-video},
},
+ mplayer => {
+ cmd => q{mplayer},
+ srt => q{-sub *SUB*},
+ audio => q{-audiofile *AUDIO*},
+ fs => q{-fs},
+ arg => q{-prefer-ipv4 -really-quiet -title *TITLE* *VIDEO*},
+ novideo => q{-novideo},
+ },
},
video_player_selected => (