aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrizen <trizen@protonmail.com>2020-10-13 21:25:39 +0300
committerJesús <heckyel@hyperbola.info>2020-11-09 16:48:45 -0500
commit6c92307700046f2a2523dfc5dd657248d5aff1d8 (patch)
treebc47883bdea9031d3258f533d27fe38f0265baa7
parentdf38290ff87a81068f1764e05fd007182afb9e8a (diff)
downloadfair-viewer-6c92307700046f2a2523dfc5dd657248d5aff1d8.tar.lz
fair-viewer-6c92307700046f2a2523dfc5dd657248d5aff1d8.tar.xz
fair-viewer-6c92307700046f2a2523dfc5dd657248d5aff1d8.zip
- Replaced "--title" with "--force-media-title" for `mpv` player. (https://github.com/trizen/youtube-viewer/issues/342)
Signed-off-by: Jesús <heckyel@hyperbola.info>
-rwxr-xr-xbin/fair-viewer6
-rwxr-xr-xbin/gtk-fair-viewer2
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/fair-viewer b/bin/fair-viewer
index 660fb55..d8108eb 100755
--- a/bin/fair-viewer
+++ b/bin/fair-viewer
@@ -168,7 +168,7 @@ my %CONFIG = (
srt => q{--sub-file=*SUB*},
audio => q{--audio-file=*AUDIO*},
fs => q{--fullscreen},
- arg => q{--really-quiet --title=*TITLE* --no-ytdl},
+ arg => q{--really-quiet --force-media-title=*TITLE* --no-ytdl},
novideo => q{--no-video},
},
},
@@ -4397,7 +4397,7 @@ When C<download_and_play> is enabled, remove the file after playing it.
=head2 resolution
-Preferred resolution for videos (if available).
+Preferred resolution for videos.
Valid values: best, 2160p, 1440p, 1080p, 720p, 480p, 360p, 240p, 144p, audio.
@@ -4504,7 +4504,7 @@ Command for C<wget> when C<download_with_wget> is set to a true value.
=head2 youtube_video_url
-Sprintf() format for an YouTube video URL, given the video ID.
+Format for C<sprintf()> for constructing an YouTube video URL given the video ID.
=head2 ytdl
diff --git a/bin/gtk-fair-viewer b/bin/gtk-fair-viewer
index a11ef49..25e4749 100755
--- a/bin/gtk-fair-viewer
+++ b/bin/gtk-fair-viewer
@@ -159,7 +159,7 @@ my %CONFIG = (
srt => q{--sub-file=*SUB*},
audio => q{--audio-file=*AUDIO*},
fs => q{--fullscreen},
- arg => q{--really-quiet --title=*TITLE* --no-ytdl},
+ arg => q{--really-quiet --force-media-title=*TITLE* --no-ytdl},
},
smplayer => {
cmd => q{smplayer},