Commit Graph

1645 Commits

Author SHA1 Message Date
Omar Roth
8956623347 Add fix to top_videos for empty database 2018-02-15 11:55:44 -06:00
Omar Roth
d6b49bc0ae Fix rank_videos 2018-02-13 13:14:21 -06:00
Omar Roth
e46ce28939 Format and add function for vflCCoUi2 and vflg4IfMn 2018-02-13 10:44:11 -06:00
Omar Roth
5b47be2b4d Run 'crystal tool format' 2018-02-13 10:43:15 -06:00
Omar Roth
4d1fa61bf0 Only add signature if stream has decrypted signature 2018-02-12 19:54:11 -06:00
Omar Roth
1d301a5055 Add support for different signature functions 2018-02-11 22:06:29 -06:00
Omar Roth
42df0df5a0 Clean up argument creation 2018-02-11 22:05:22 -06:00
Omar Roth
489ae35f1d Split audio and video into seperate views 2018-02-11 17:15:49 -06:00
Omar Roth
6adbcd050c Clarify listen param and update icon 2018-02-11 17:01:32 -06:00
Omar Roth
da97dfad8e Fix arg parsing 2018-02-11 16:48:27 -06:00
Omar Roth
ea044ec2da Fix rank_videos 2018-02-10 10:06:37 -06:00
Omar Roth
dc45fbfad6 Use error template for 404 and 500 2018-02-10 09:15:23 -06:00
Omar Roth
ecb1999795 Ensure clients are recycled properly 2018-02-08 20:19:44 -06:00
Omar Roth
a27c556904 Fix 500 for livestream 2018-02-08 20:18:47 -06:00
Omar Roth
655a593c87 Fix poster for videos that don't have thumbnail url 2018-02-07 22:05:18 -06:00
Omar Roth
5159ec0f6e Pull rank_videos into seperate thread 2018-02-07 22:04:47 -06:00
Omar Roth
567856363b Remove assets from repo 2018-02-06 18:52:01 -06:00
Omar Roth
d4c88f2844 Fix watch for videos that don't have fmt_stream 2018-02-06 17:30:53 -06:00
Omar Roth
6167ce30b0 Disable logging for connection pool 2018-02-06 17:30:14 -06:00
Omar Roth
76c008d319 Make sure extra options don't override Kemal defaults 2018-02-05 19:37:09 -06:00
Omar Roth
e9ee41846c Fix formatting 2018-02-05 19:11:57 -06:00
Omar Roth
c8d2d12282 Add default number of threads 2018-02-05 19:08:36 -06:00
Omar Roth
fb80d2f484 Add padding for video description 2018-02-05 19:08:20 -06:00
Omar Roth
990bca5af5 Refactor client creation 2018-02-05 19:07:49 -06:00
Omar Roth
0e704056a1 Make sure client gets returned to pool 2018-02-05 18:52:21 -06:00
Omar Roth
2e402c1977 Clean up views 2018-02-05 18:44:42 -06:00
Omar Roth
f47eb3016a Remove resize for larger screens 2018-02-05 18:41:24 -06:00
Omar Roth
d3e159ffbe Add youtube hotkeys 2018-02-05 18:36:16 -06:00
Omar Roth
39b271585a Add margin for footer 2018-02-05 18:05:41 -06:00
Omar Roth
66f28c8f63 Use same layout for search as for index 2018-02-05 18:05:23 -06:00
Omar Roth
d1a2b193aa Change client timeout and make sure there is always a client available 2018-02-05 17:57:53 -06:00
Omar Roth
25434c676c Run 'crystal tool format' 2018-02-05 17:57:03 -06:00
Omar Roth
a9cea62d5b Add home page 2018-02-05 17:56:40 -06:00
Omar Roth
3bd6f0151b Change layout for recommended variables 2018-02-04 19:44:15 -06:00
Omar Roth
7a7b1382c0 Use more consistent variables for search.ecr 2018-02-04 19:43:16 -06:00
Omar Roth
a9ef931856 Fix error handling 2018-02-04 19:42:42 -06:00
Omar Roth
d79c1ff3e9 Fix video indexing 2018-02-04 19:42:13 -06:00
Omar Roth
1facca5408 Replace unnecessary constant 2018-02-04 19:40:06 -06:00
Omar Roth
03aeb27b40 Add ability to specify number of threads 2018-02-03 16:13:14 -06:00
Omar Roth
1e2139d78c Add ability to decrypt signature for vflxuxnEY/en_US/base.js 2018-02-03 14:41:59 -06:00
Omar Roth
859517e206 Change layout for larger screens 2018-02-02 22:21:34 -06:00
Omar Roth
2fcdb7f6ec Partially bypass age-gate 2018-02-02 22:04:34 -06:00
Omar Roth
26c9a87e88 Add published field 2018-02-02 21:44:10 -06:00
Omar Roth
d7d905447f Change license 2018-01-28 11:32:40 -06:00
Omar Roth
a951f4a2f8 Replace chomp with rstrip 2018-01-27 20:10:37 -06:00
Omar Roth
03de6fbf06 Use likes, dislikes from record 2018-01-27 20:10:08 -06:00
Omar Roth
236fdb85ff Move functions into helpers.cr 2018-01-27 20:09:27 -06:00
Omar Roth
cf49306ffb Fix index out of bounds error 2018-01-21 17:49:27 -06:00
Omar Roth
5c1bd5fae6 Run 'crystal tool format' 2018-01-21 11:07:32 -06:00
Omar Roth
e192b55ffa Allow for views to supply tags to header 2018-01-21 11:07:02 -06:00
Omar Roth
3c29cc71bb Remove unneeded style from layout 2018-01-21 11:06:27 -06:00
Omar Roth
92f2e61624 Style 'next' link for search view 2018-01-21 11:05:54 -06:00
Omar Roth
1305410f4d Move script tags into video view 2018-01-21 11:05:30 -06:00
Omar Roth
02b6990240 Get videos from search 2018-01-21 11:04:58 -06:00
Omar Roth
daba77d665 Merge changes 2018-01-20 18:21:47 -06:00
Omar Roth
a236d7a4e8 Fix several bugs in connection pool 2018-01-20 18:19:55 -06:00
Omar Roth
01d16ec6af Move helpers into seperate file 2018-01-20 18:19:12 -06:00
Omar Roth
6418d87a63 Add fix for videos that don't have specific keys 2018-01-19 18:31:47 -06:00
Omar Roth
19309f5ef6 Fix client refresh 2018-01-20 00:20:12 +00:00
Omar Roth
f77dcb7f9b Randomly refresh HTTP clients 2018-01-19 18:51:57 +00:00
Omar Roth
61e3b47210 Add id 'pool' for connetion pool 2018-01-19 03:46:29 +00:00
Omar Roth
c36b22a16d Refresh connection pool 2018-01-16 21:42:48 -06:00
Omar Roth
634b5f6c87 Add thumbnails for related videos 2018-01-16 16:28:49 -06:00
Omar Roth
6b5426b5f6 Remove unnecessary view 2018-01-16 16:28:49 -06:00
Omar Roth
f09f971af7 Fix audio-only for video.js 2018-01-16 16:28:49 -06:00
Omar Roth
9e4d0bd3a5 Add video,js, Genesis 3:6 2018-01-16 16:28:49 -06:00
Omar Roth
9f63fcaa1e Fix up search 2018-01-16 16:28:40 -06:00
Omar Roth
b21365248d Add speed control 2018-01-15 20:30:57 -06:00
Omar Roth
38cff5a752 Freshen up for the big dance 2018-01-14 21:16:09 -06:00
Omar Roth
60c618942f Add wait for empty connection pool 2018-01-07 17:18:24 -06:00
Omar Roth
dfdeb02c7f Try using connection pool for getting videos 2018-01-07 13:03:53 -06:00
Omar Roth
070de12391 Fix broken title for related video and add link to author's channel 2018-01-07 12:35:13 -06:00
Omar Roth
225907b507 Fix unbalanced div 2018-01-07 11:50:04 -06:00
Omar Roth
9bfb663848 Move seperator to templates 2018-01-07 11:49:48 -06:00
Omar Roth
c4c1b43e5c Add thumbnail to search 2018-01-07 11:43:13 -06:00
Omar Roth
d65106d8b1 Speed up get_video 2018-01-07 11:42:24 -06:00
Omar Roth
eed7a25e7d Add header 2018-01-07 11:40:03 -06:00
Omar Roth
060c4da96d Add related videos and clean up video class 2018-01-06 20:39:24 -06:00
Omar Roth
d1eb81b653 Add audio-only 2018-01-03 20:06:16 -06:00
Omar Roth
87601d1400 Run 'crystal tool format' 2017-12-30 15:38:09 -06:00
Omar Roth
7fc7a47849 Remove unused info 2017-12-30 15:36:29 -06:00
Omar Roth
266ec3fa03 Add error page and give video.ecr more detailed video info 2017-12-30 15:35:48 -06:00
Omar Roth
a0d34367bc Adds description, video class, wilson score... 2017-12-30 15:35:28 -06:00
Omar Roth
f7f5f91316 Adds description, video class, wilson score... 2017-12-30 15:34:51 -06:00
Omar Roth
5d48215a5f Update layout.ecr, replace navbar and add functional search 2017-12-30 15:22:55 -06:00
Omar Roth
86a8e181bf Add search 2017-12-30 15:21:43 -06:00
Omar Roth
127e140130 Add fontawesome 2017-12-30 15:20:13 -06:00
Omar Roth
764fdf42ef Add fix for args order and rename videos table 2017-12-01 07:07:10 -06:00
Omar Roth
740caf8fd9 Update shard.yml and fix postgres queries 2017-11-30 18:23:16 -06:00
Omar Roth
8d6de7deba Add primitive postgres support 2017-11-29 21:49:26 -06:00
Omar Roth
383ed8b209 Rename project 2017-11-29 18:12:23 -06:00
Omar Roth
8ee5423af6 Move views to src/ directory 2017-11-29 15:33:46 -06:00
Omar Roth
7feec0c00d Add engagement rating, rating, likes, dislikes, and form of logging (primitive but in the hope of reverse-engineering requests) 2017-11-28 19:59:51 -06:00
Omar Roth
31a3e1bb3a Add view counter, likes/dislikes, rating, and HTML parser 2017-11-23 22:06:43 -06:00
Omar Roth
26959020b7 Initial commit 2017-11-23 01:48:55 -06:00