summaryrefslogtreecommitdiffstats
path: root/multimedia/pipe-viewer/restore_mplayer.diff
blob: 3188a9fcecd199f9e05e2fb4820fca89305ff4fa (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
diff -Naur pipe-viewer-0.4.7/bin/gtk-pipe-viewer pipe-viewer-0.4.7.patched/bin/gtk-pipe-viewer
--- pipe-viewer-0.4.7/bin/gtk-pipe-viewer	2023-06-11 08:55:44.000000000 -0400
+++ pipe-viewer-0.4.7.patched/bin/gtk-pipe-viewer	2023-06-29 02:19:58.827392189 -0400
@@ -191,6 +191,12 @@
                               fs    => q{--fullscreen},
                               arg   => q{--really-quiet --force-media-title=*TITLE* --no-ytdl --no-terminal *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 pipe-viewer-0.4.7/bin/pipe-viewer pipe-viewer-0.4.7.patched/bin/pipe-viewer
--- pipe-viewer-0.4.7/bin/pipe-viewer	2023-06-11 08:55:44.000000000 -0400
+++ pipe-viewer-0.4.7.patched/bin/pipe-viewer	2023-06-29 02:36:34.948298445 -0400
@@ -200,6 +200,15 @@
                 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 => (