aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--[-rwxr-xr-x]Build.PL3
-rw-r--r--README.md2
-rwxr-xr-xbin/fair-viewer22
3 files changed, 15 insertions, 12 deletions
diff --git a/Build.PL b/Build.PL
index d60b4e8..05c9410 100755..100644
--- a/Build.PL
+++ b/Build.PL
@@ -1,4 +1,3 @@
-#!/usr/bin/perl
use utf8;
use 5.010;
@@ -20,6 +19,8 @@ my $builder = Module::Build->new(
'Test::More' => 0,
},
+ extra_manify_args => { utf8 => 1 },
+
configure_requires => {
'Module::Build' => 0,
},
diff --git a/README.md b/README.md
index 6225e42..5924145 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
## fair-viewer
-A lightweight application (fork of [youtube-viewer](https://github.com/trizen/youtube-viewer)) for searching and playing videos from YouTube, using the [API](https://github.com/omarroth/invidious/wiki/API) of [invidio.us](https://invidio.us/) and [hypervideo](https://framagit.org/heckyel/hypervideo) support.
+A lightweight application (fork of [youtube-viewer](https://github.com/trizen/youtube-viewer)) for searching and playing videos from YouTube, using the [API](https://github.com/iv-org/invidious/wiki/API) of [invidio.us](https://invidio.us/) and [hypervideo](https://framagit.org/heckyel/hypervideo) support.
### fair-viewer
diff --git a/bin/fair-viewer b/bin/fair-viewer
index 8b4e76f..660fb55 100755
--- a/bin/fair-viewer
+++ b/bin/fair-viewer
@@ -25,6 +25,8 @@
# This is a fork of youtube-viewer:
# https://github.com/trizen/youtube-viewer
+=encoding utf8
+
=head1 NAME
fair-viewer - YouTube from command line.
@@ -4210,6 +4212,8 @@ If C<merge_into_mkv> and C<merge_with_captions> are both enabled, there is no ne
Use a custom layout for video results, defined in C<custom_layout_format>.
+Requires: L<Unicode::GCString> or L<Text::CharWidth>.
+
=head2 custom_layout_format
An array of hash values specifying a custom layout for video results.
@@ -4233,10 +4237,6 @@ Include or exclude MP4/M4A (AAC) audio files.
Include or exclude streams in "Dynamic Adaptive Streaming over HTTP" (DASH) format.
-See also:
-
- https://en.wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP
-
=head2 dash_support
Enable or disable support for split videos.
@@ -4335,8 +4335,6 @@ If authentication is required, use:
Ignore videos in AV1 format.
-Recommended to be enabled on slow/old hardware.
-
=head2 interactive
Interactive mode, prompting for user-input.
@@ -4419,7 +4417,7 @@ Results with extra details.
=head2 show_video_info
-Show extra-video info when selected.
+Show extra info for videos when selected.
=head2 skip_if_exists
@@ -4488,7 +4486,7 @@ When set to C<"3d">, retrieve only 3D videos in search results.
=head2 videoDuration
-Retrieve only videos of short or long videos in search results.
+Retrieve only short or long videos in search results.
Valid values: "any", "short", "long".
@@ -4516,7 +4514,7 @@ When set to C<0>, invidious instances will be used instead.
=head2 ytdl_cmd
-Command for C<youtube-dl> when C<ytdl> is set to a true value.
+Command for C<hypervideo> when C<ytdl> is set to a true value.
=head1 CONFIGURATION FILES
@@ -4525,9 +4523,13 @@ The configuration files are:
~/.config/fair-viewer/fair-viewer.conf
~/.config/fair-viewer/gtk-fair-viewer.conf
+=head1 INVIDIOUS API REFERENCE
+
+https://github.com/iv-org/invidious/wiki/API
+
=head1 REPOSITORY
-https://github.com/trizen/fair-viewer
+https://libregit.org/heckyel/fair-viewer
=head1 LICENSE AND COPYRIGHT