228 Commits

Author SHA1 Message Date
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
James Taylor
9f67a970c6 Layout: Make item titles non-clickable in empty space after wrapped text 2019-08-24 18:19:22 -07:00
James Taylor
3d911e4987 Layout: Theater layout: Expand video width across page only as necessary based on length of video 2019-08-24 17:55:14 -07:00
James Taylor
cb5f36581d Layout: add option to hide comments/related vids by default but click to show using <details> 2019-08-24 16:45:01 -07:00
James Taylor
943e1cd751 Layout: Make downloads click-to-show instead of hover-to-show using <details> element 2019-08-24 14:25:11 -07:00
James Taylor
d9fbf82bb2 Layout: Add option to use 720p resolution 2019-08-24 13:35:11 -07:00
James Taylor
fa2fa7fe16 Layout: Add theater mode 2019-08-24 12:43:58 -07:00
James Taylor
f2eb354197 Layout: Simplify color scheme 2019-08-24 11:59:23 -07:00
James Taylor
400d17e613 Layout: simplify CSS layout on most pages 2019-08-24 11:35:58 -07:00
James Taylor
d9517a3322 Layout: Put related videos below video when page is too small 2019-08-23 19:24:42 -07:00
James Taylor
102c21132a Layout: simplify watch page space distribution on edges 2019-08-23 15:37:40 -07:00
James Taylor
85572c94de Layout: refactor item system to be more maintainable, add vertical item type 2019-08-23 14:48:00 -07:00
James Taylor
7f3ca7ee49 Layout: Replace local playlists link with home link in header and use flexbox to make it work on smaller window sizes 2019-08-18 15:57:27 -07:00
James Taylor
dc4008a210 Add settings page 2019-08-17 23:13:39 -07:00
James Taylor
899b088cdc Subscriptions: show when video was published 2019-08-16 21:48:40 -07:00
James Taylor
e69ea5910f subscriptions.html: Add horizontal rule between tag list and channel list 2019-08-14 00:14:27 -07:00
James Taylor
38792081d4 subscription-manager: fix items being cut off at the bottom and top of the columns in chrome 2019-08-12 15:34:55 -07:00
James Taylor
da8243085b subscription_manager: fix bug where checkbox size decreases when there's too many tags 2019-08-12 15:18:56 -07:00
James Taylor
de33ee6bb8 When restricting subscriptions to a tag, make that tag unclickable and add link to unrestrict 2019-08-12 15:09:28 -07:00