146 Commits

Author SHA1 Message Date
zrose584
12e56c7e71 add hotkeys.js 2020-09-09 21:01:16 +02:00
James Taylor
ac9b7f0162 Switch to desktop endpnt w/ new ctoken format except sort by old>1
Sorting by old for pages > 1 currently broken on some channels;
it's still using the mobile endpoint.
2020-08-12 14:46:29 -07:00
James Taylor
8e12551471 Switch to mobile api endpoint to fix 'Unknown error' blockage
See https://github.com/iv-org/invidious/issues/1319#issuecomment-671732646
2020-08-11 21:09:59 -07:00
James Taylor
e78d239323 Add support for &t parameter 2020-07-25 21:25:23 -07:00
James Taylor
a7ff3a5217 Playlist page: Fix error on failure to extract playlist title
Such as when the playlist was deleted or doesn't exist
2020-07-25 21:03:42 -07:00
James Taylor
9fc347e093 Add video transcript to downloads
Generated from the video captions
2020-07-25 19:40:37 -07:00
James Taylor
aa3e5aa441 Add dialog for copying urls to external player for livestreams
Also for livestreams which are over whose other sources
aren't present or aren't ready yet.
2020-06-28 17:52:24 -07:00
James Taylor
d7a4b03fdf Add option for reloading video without invidious
For faster usage of new identity button as an alternative
2020-05-27 11:55:47 -07:00
James Taylor
d5e661dfd3 Indicate that video is live 2020-05-27 11:14:19 -07:00
James Taylor
5554d5afff Add playlist sidebar for videos in playlist, including autoplay 2020-04-04 22:52:09 -07:00
James Taylor
00cf61d625 Change px values to rem values in font-size declarations 2020-02-22 22:14:11 -08:00
James Taylor
9f090dbbf8 Watch page: add info box with allowed countries and tor exit node
Should help with debugging various content blocks
2020-02-01 16:16:49 -08:00
James Taylor
c13a8f677d local playlists: Display error message if no videos are selected or no playlist is chosen when using "add to playlist"
See #4
2020-01-19 14:29:50 -08:00
James Taylor
f7a5f7fbaa items: commatize channel video count and playlist video count 2019-12-24 13:18:46 -08:00
James Taylor
a428d47bde Channel searching: indicate if there's no results 2019-12-23 15:09:44 -08:00
James Taylor
777ed756dc Channel: Change search results to use next and previous page buttons
Because youtube doesn't give the number of search results, so previous behavior would give an error if a page number out of range was selected.
2019-12-23 14:39:59 -08:00
James Taylor
7a6bcb6128 Rewrite channel extraction with proper error handling and new extraction names. Extract subscriber_count correctly.
Don't just shove english strings into info['stats']. Actually give semantic names for the stats.
2019-12-21 15:45:01 -08:00
James Taylor
66746d0ca8 Watch: Add padding in description box and urlize links 2019-12-20 21:00:10 -08:00
James Taylor
4b6efb0e0b Watch: display comment count and whether comments are disabled 2019-12-20 20:52:01 -08:00
James Taylor
98fbdf77cb Add custom 500 error page. Display the traceback. Center and format error page in general.
Also add a link to github for reporting the exception.
2019-12-20 20:21:29 -08:00
James Taylor
310585ae9e Subscriptions: Display currently selected tag in page title 2019-12-20 18:58:39 -08:00
James Taylor
0bc2e43822 Watch: Add border around badges such as unlisted badge
Especially for the light theme
2019-12-20 18:54:24 -08:00
James Taylor
c3321d31d0 Subscriptions: Display selected tag above videos.
Otherwise, it wasn't clear enough that a tag was selected.
2019-12-20 12:44:42 -08:00
James Taylor
b4406df9cf Merge branch 'modular-data-extract'
Commits in this branch are prefixed with "Extraction:"
This branch refactors data extraction. All such functionality has been moved to the yt_data_extract module.
Responses from requests are given to the module and it parses them into a consistent, more useful format.
The dependency on youtube-dl has also been dropped and this functionality has been built from scratch for these reasons:
(1) I've noticed youtube-dl breaks more often than invidious (which uses watch page extraction built from scratch) in response to changes from Youtube, so I'm hoping what I wrote will also be less brittle.
(2) Such breakage is inconvenient because I have to manually merge the fixes since I had to make changes to youtube-dl to make it do things such as extracting related videos.
(3) I have no control over error handling and request pooling with youtube-dl, since it does all the requests (these would require intrusive changes I don't want to maintain).
(4) I will now be able to finally display the number of comments and whether comments are disabled without making additional requests.
2019-12-19 21:33:54 -08:00
James Taylor
02848a1a32 Extraction: Adjust related videos box to fit new time_published information well
time_published will be put to the right of the view_count in related videos
Author will now always be above the other stats, since it doesn't make a difference in the big search result boxes since the description snippet is always very short
(However, it's important the author isn't inline with the other stats in related video boxes since those are so narrow and the author name can be very long)
2019-12-19 15:46:16 -08:00
James Taylor
98777ee825 Extraction: Rewrite item_extraction for better error handling and readability, rename extracted names for more consistency 2019-12-18 19:39:16 -08:00
James Taylor
ee0a118a6c Extraction: Fix thumbnail and remove badges on related videos 2019-12-17 21:52:31 -08:00
James Taylor
45a4ab5ace Extraction: Detect limited state and fix false detection as unlisted 2019-12-17 20:58:15 -08:00
James Taylor
ecc1ce42b8 Extraction: Display that video is age-restricted 2019-12-12 22:13:37 -08:00
James Taylor
79d9a18f81 Extraction: return and display any errors preventing video playback 2019-11-22 14:56:53 -08:00
James Taylor
b614fcdb85 Fix regression: Can't remove videos from local playlists 2019-10-21 21:14:13 -07:00
James Taylor
4c07546e7a Extraction: Replace youtube-dl with custom-built watch page extraction 2019-10-17 19:58:13 -07:00
James Taylor
fd327ae653 Fix muted channels not being faded out on subscription manager page 2019-10-17 19:23:58 -07:00
James Taylor
9abb83fdbc Extraction: Fix did_you_mean and showing_results_for 2019-09-27 19:27:19 -07:00
James Taylor
33a8898656 Only display local playlist controls in header on pages with videos 2019-09-15 14:59:19 -07:00
James Taylor
57c37a57e9 Add optional javascript for adding videos to playlists without the browser cancelling loading of the video, and to display a status message 2019-09-15 14:55:57 -07:00
James Taylor
21c617faf7 Local playlists list: center list and add background to it 2019-09-10 17:57:32 -07:00
James Taylor
652cef15ec Watch page: Background color on video when scrubbing bar larger than video 2019-09-09 20:40:38 -07:00
James Taylor
89e5761f8d Extraction: Move playlist extraction to yt_data_extract 2019-09-08 18:42:08 -07:00
James Taylor
0ca12270a8 Search: Add some space around the number of results 2019-09-08 10:38:23 -07:00
James Taylor
d356e40f1c Subscription manager: Hide export box for now until it's functional 2019-09-07 20:06:03 -07:00
James Taylor
8f6730af71 Subscription manager: Add some space around import subscriptions box 2019-09-07 20:05:11 -07:00
James Taylor
b3fe5abcd7 Subscriptions: Add some space around video grid 2019-09-07 18:28:32 -07:00
James Taylor
93bbe1179b Subscriptions: fix author not being included 2019-09-07 18:26:31 -07:00
James Taylor
ac32b24b2a Merge subscriptions into master 2019-09-06 15:45:01 -07:00
James Taylor
e14ec88591 Settings: Fix centering and color scheme on other themes 2019-09-06 14:47:37 -07:00
James Taylor
3dd0371af1 Merge branch 'settings' 2019-09-06 14:23:29 -07:00
James Taylor
e9b16ef71f Layout: Add themes 2019-08-25 16:08:08 -07:00
James Taylor
00e4951fd0 Layout: Add links to homepage 2019-08-24 19:05:24 -07:00
James Taylor
69e64f726e Layout: Prevent long author name from overflowing in items with vertical stats 2019-08-24 18:25:37 -07:00