45 Commits

Autor SHA1 Mensagem Data
trizen d10903c9fc Allow setting the video player title to *ID* or *URL* in the configuration file. (https://github.com/trizen/youtube-viewer/issues/348) 2020-11-30 19:58:44 +02:00
trizen 91f7d9594c Filter out private and deleted videos from playlists. 2020-11-28 03:04:43 +02:00
trizen e041b0dd22 Version 0.0.4 0.0.4 2020-11-27 01:14:35 +02:00
trizen d0b99faeeb More entries in the list of invidious instances. 2020-11-21 04:57:47 +02:00
trizen 69df15f4cd Make "publishedText" to include the word "ago". 2020-11-21 04:01:50 +02:00
trizen 14bf3075bd Display the relative age of videos, instead of the publication date (which was inaccurate anyway). 2020-11-21 00:28:38 +02:00
trizen fe37299fb3 weeklyRatio for invidious instances is no longer available. 2020-11-19 15:59:07 +02:00
trizen ec341f6a0e Always set the "liveNow" entry for videos. 2020-11-12 20:43:17 +02:00
trizen 0c1d8bf942 - Fixed live stream videos in search results. (fixes https://github.com/trizen/pipe-viewer/issues/1)
Videos with time == 00:00 are now marked as LIVE videos. Previously, they were ignored, which was a bug.

Thanks to @jharingkaye for reporting the issue.
2020-11-12 20:33:50 +02:00
trizen c3e5e96c2c - Health status for invidious instances is back.
- Minor code tweaks in Utils `has_entries()`.
2020-11-05 15:35:26 +02:00
trizen 245ab8728e Apparently, Invidious no longer includes the status class for instances. 2020-11-05 15:01:47 +02:00
trizen 782b01a022 - Support for YouTube usernames (-u=username).
In addition to channel names and channel IDs.

When `/c/` fails, we now try `/user/`.
2020-11-05 14:32:48 +02:00
trizen 07c0b0146d Version 0.0.3 0.0.3 2020-11-04 22:24:08 +02:00
trizen fb00f6707a Make the invidious URLs on-demand. 2020-11-04 20:58:49 +02:00
trizen 2b980603a6 - Return undef when there are no results.
This allows falling back to invidious.
2020-11-04 20:48:31 +02:00
trizen 6b9f69d3c4 - Stricter selection of ividious instances.
When `api_host => "auto"`, try to pick a good invidious instance that has an overall "success" status.
2020-11-04 18:38:36 +02:00
trizen 03b8155000 Fixed the "odd number of elements in hash" warning when there are no results. 2020-11-04 18:31:55 +02:00
trizen a60ec93bef - Added support for next pages in --author context. 2020-11-04 18:20:19 +02:00
trizen b7b6237142 Don't cache if "cache-control" says "no-cache". 2020-11-04 02:10:48 +02:00
trizen 984b124f9b - Implemented support for searching for videos from a given channel.
Example:

	pipe-viewer --author=DistroTube ubuntu

equivalently, given a channel ID:

	pipe-viewer --author=UCVls1GmFKf6WlTraIb_IaJg ubuntu

Fixes the following issue in straw-viewer: https://github.com/trizen/straw-viewer/issues/34

- Better finding of the sectionList, without depending on the specific tab number.
2020-11-04 01:33:17 +02:00
trizen fa2af6de56 - Added support for multiple search parameters.
Example:

	# Long "linux" videos published last week
	pipe-viewer --date=week --duration=long linux
2020-11-03 19:23:15 +02:00
trizen 9195d7bb4a - Fixed the parsing of numbers like "3.5K" and "12.5M".
- Added `:i=n` STDIN option for channels.
- Use "hl=en" in URLs.
- Display the number of subscribers in channel search results (instead of video count).
2020-11-02 14:41:07 +02:00
trizen fab941b13b Version 0.0.2 0.0.2 2020-11-01 20:03:52 +02:00
trizen 7b901b85a8 - Added support for next pages.
This was hard... :-)
2020-11-01 19:44:43 +02:00
trizen 69cfe03047 - With api_host => "auto", try to pick an invidious instance with "monitor" enabled that has "statusClass = success". 2020-11-01 01:12:23 +02:00
trizen 48ae1101e4 Better quality for playlist thumbnails. 2020-11-01 00:54:56 +02:00
trizen 243f5fa231 - Implemented support for listing the most popular videos from a channel. 2020-11-01 00:32:32 +02:00
trizen ad4e60ae82 - Implemented support for searching playlists and channels.
- Implemented support for search filtering. (currently, only one filter per search)
- Display the number of videos for channel and playlist results.
2020-11-01 00:19:58 +02:00
trizen 64c64c821d Implemented support for listing a playlist of videos by playlistID. 2020-10-31 21:46:13 +02:00
trizen 565dcfd83c - Extended right-click "Play as audio" to support playlists. 2020-10-31 18:16:03 +02:00
trizen 9ac917318c - Implemented support for playlists from a given channelID or username.
Example:

	pipe-viewer -up=google
2020-10-31 18:06:09 +02:00
trizen f52110ae5f Hide the non-working right-click "Author->Llikes" and "Author->Activity" entries. 2020-10-31 14:03:33 +02:00
trizen 7ae7550410 Allow the username in YouTube URLs to contain encoded characters of the form "%FF". 2020-10-31 13:14:25 +02:00
trizen 5360ca0053 Support channel URLs of the form "https://www.youtube.com/c/USERNAME/videos" 2020-10-31 13:09:46 +02:00
trizen 3347b0737e - Renamed config-option "dash" to "split_videos".
- Renamed config-option "dash_segmented" to "dash".
- Renamed config-option "dash_mp4_audio" to "m4a_audio".
2020-10-31 12:50:30 +02:00
trizen 80010c63ba Implemented support for uploads from channel (-u=channelID and :a=i) 2020-10-31 00:57:06 +02:00
trizen c4155faa88 Fallback to invidious when failing to extract video info. 2020-10-30 22:45:43 +02:00
trizen c1025bb669 Fixed the "TRY" section. 2020-10-30 22:29:10 +02:00
trizen 71db0b2c14 - Extract video info using the fallback method. 2020-10-30 22:01:43 +02:00
trizen ad3a191c07 gtk: pass "--no-dash-segmented" to the CLI version when dash_segmented is disabled.
gtk: added a few more tooltips in the GUI.
2020-10-30 20:41:15 +02:00
trizen 6ec35f1dfb modified: README.md -- updated screenshot for CLI version 2020-10-30 19:42:25 +02:00
trizen 95bd129ad4 gtk: added the "Video License" combobox.
Allows filtering videos by license in search results.

- Minor internal fixes.
2020-10-30 19:28:01 +02:00
trizen 47f284e38b new file: META.json
new file:   META.yml
2020-10-30 18:37:15 +02:00
trizen 353ee7b23e Added files. 0.0.1 2020-10-30 18:25:50 +02:00
Daniel Șuteu 32668ec36b Initial commit 2020-10-30 16:21:29 +00:00