aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* update from upstreamJesús2020-11-093-10/+57
|
* Use the video description from the `description` field when ↵trizen2020-10-031-0/+4
| | | | | | `descriptionHtml` is empty. Signed-off-by: Jesús <heckyel@hyperbola.info>
* quotemeta() the filename of the cookie file when passing it to `hypervideo`.trizen2020-09-282-6/+5
| | | | | | This now allows the filename to contain shell metacharacters. Signed-off-by: Jesús <heckyel@hyperbola.info>
* - Implemented `sort_by` and `date` parameters for `/search`. ↵trizen2020-09-288-480/+413
| | | | | | | | | | | | | | | (https://github.com/iv-org/invidious/wiki/API#get-apiv1search) In the CLI version, we have: --order=s # valid values: relevance rating upload_date view_count --date=s # valid values: hour today week month year In the GTK3 version, this is implemented in the "Order by" and "Published within" comboboxes. Also implemented the `--hd`, `--captions` and `--region=s` options. Signed-off-by: Jesús <heckyel@hyperbola.info>
* Clarify the build dependencies.bodqhrohro2020-09-281-0/+4
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* - During `--debug`, display the invidious instances found. - Also allow ↵trizen2020-09-281-2/+6
| | | | | | "invidiou.site" in the list of instances. It seems to be working OK now. Signed-off-by: Jesús <heckyel@hyperbola.info>
* - Added instance-caching for `_get_video_info()`, `_extract_from_ytdl()` and ↵trizen2020-09-287-8/+20
| | | | | | | | | | | | `_extract_from_invidious()`. Too many requests to `_get_video_info()` and/or `hypervideo` may lead to a "429 - Too Many Requests" issue. Caching these functions may help to prevent this a little bit. Also playing the same video twice, the second time it will load much faster, since `_get_video_info()` is cached. Signed-off-by: Jesús <heckyel@hyperbola.info>
* Recommend "Term::ReadLine::Gnu", which provides "Term::ReadLine::Gnu::XS"trizen2020-09-283-3/+3
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* gtk: fixed the detection of "no results" vs "api down"trizen2020-09-141-5/+5
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* gtk: fixed thumbnails for related videos.trizen2020-09-141-3/+11
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Suggest trying "--api=auto" when the current invidious instance fails.trizen2020-09-144-32/+36
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Save converted in the same folder they are downloaded in.trizen2020-09-141-1/+1
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Reuse the "WWW::FairViewer" in "WWW::FairViewer::GetCaption".trizen2020-09-143-37/+11
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* - Added support for loading cookies from a file.trizen2020-09-143-51/+112
| | | | | | | | | | | | The file must be a "# Netscape HTTP Cookie File"; same format as "hypervideo" requires. The "cookies.txt" extension can be used for exporting the cookies from the browser. This helps with the "429: Too Many Requests" issue. See also: https://github.com/ytdl-org/hypervideo#how-do-i-pass-cookies-to-hypervideo Signed-off-by: Jesús <heckyel@hyperbola.info>
* - Use random instances in `_extract_from_invidious()`.trizen2020-09-141-8/+37
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Ignore the non-working: invidiou.site and invidious.toot.koeln.trizen2020-09-141-0/+2
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* With `--api=auto`, ignore "invidious.snopyta.org". Seems to be too slow.trizen2020-09-141-1/+4
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* modified: README.mdtrizen2020-09-141-1/+1
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Documented `--api=auto`.trizen2020-09-143-6/+14
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* - Added support for automatically picking an invidious instance.trizen2020-09-143-13/+91
| | | | | | | | | | | | | | | | Provided via: fair-viewer --api=auto or by setting in the configuration file: api_host => "auto", The list of instances ("instances.json") is cached locally and updated automatically every hour. In order to distribute the load evenly across the invidious instances, when "api_host" is set to "auto", fair-viewer will pick a random instance every time the program is started. Signed-off-by: Jesús <heckyel@hyperbola.info>
* "Updated the "INVIDIOUS INSTANCES" section."Jesús2020-09-141-3/+3
|
* - No longer prefer a specific version of TLS.trizen2020-09-141-1/+1
| | | | | | Defaults to TLS v1.3 if available. Signed-off-by: Jesús <heckyel@hyperbola.info>
* - Fixed the support for closed-captions for some videos.trizen2020-09-141-2/+1
| | | | | | Also fixes the JSON warning ", or } expected while parsing object/hash". (closes https://github.com/trizen/fair-viewer/issues/21) Signed-off-by: Jesús <heckyel@hyperbola.info>
* When `prefer_mp4` is true and there is no AVC MP4 available, prefer VP9 over ↵trizen2020-08-141-3/+5
| | | | | | AV1. Much faster to decode. Signed-off-by: Jesús <heckyel@hyperbola.info>
* When the current API host is down, suggest `invidious.13ad.de` instead of ↵trizen2020-08-142-2/+2
| | | | | | `yewtu.be`. Signed-off-by: Jesús <heckyel@hyperbola.info>
* gtk: display an helpful message when the API instance fails.trizen2020-08-141-7/+14
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Try to be more helpful when the API instance fails.trizen2020-08-141-1/+8
| | | | | | Instead of dying with "Not an ARRAY reference", it now prints a message saying how to change the API host. Signed-off-by: Jesús <heckyel@hyperbola.info>
* - Changed the default API host to `invidious.snopyta.org`.trizen2020-08-143-4/+10
| | | | | | The instance `invidio.us` seems to be down at the moment. Signed-off-by: Jesús <heckyel@hyperbola.info>
* Minor code simplification in Utils.pmtrizen2020-08-071-3/+1
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* In description, handle decoding of `youtu.be` links and other internal URLs.trizen2020-08-071-0/+10
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Minor fix in the decoding of URLs in video description.trizen2020-08-071-1/+6
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* - Starting with September 30th, use "invidious.snopyta.org" instead.trizen2020-08-071-1/+7
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Use the ".opus" extension for audio streams.trizen2020-07-271-1/+2
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Fixed the printing of channel names in search context.trizen2020-07-271-1/+1
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Changes: updateJesús2020-07-271-0/+4
|
* Fix nake_filenameJesús2020-07-271-1/+1
|
* - Allow YouTube URLs to be passed to `--id`.trizen2020-07-272-2/+2
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Minor code simplification.trizen2020-07-271-15/+12
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* update editJesús2020-07-272-2/+2
|
* - Added support for ignoring high frame rate (HFR) videos.trizen2020-07-274-106/+99
| | | | | | | | | | | | Implemented via the `hfr` config-option. When set to "0", HFR videos will be ignored. Also available as a command-line option: $ fair-viewer --no-hfr By default, `hfr` is set to "1". Signed-off-by: Jesús <heckyel@hyperbola.info>
* Version 1.0.4Jesús2020-06-246-8/+8
|
* Add Makefile to generator tarballJesús2020-06-242-1/+30
|
* Ignore harmless errors.trizen2020-06-231-6/+10
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Changes: ActualizeJesús2020-06-161-0/+9
|
* README.md: fix description appJesús2020-06-161-1/+1
|
* - Added the `--instance=s` alias for `--api-host=s`, for changing the ↵trizen2020-06-161-1/+1
| | | | invidious instance.
* No longer include newlines in the message prompt for Term::ReadLine.trizen2020-06-151-5/+8
| | | | | | Instead, print the extra lines directly to STDOUT. This fixes the backspace key when Term::ReadLine::Gnu::XS is not installed.
* Handle some potential corner cases.trizen2020-06-152-4/+16
|
* modified: README.mdtrizen2020-06-121-2/+2
|
* Documented how to change the default instance of invidious.trizen2020-06-121-0/+16
|