Commit graph

114 commits

Author SHA1 Message Date
Roland
5342d573c2
Using yt-dlp's match-filter to skip live videos. 2022-02-20 10:45:53 -07:00
Roland
f2af5e048b
Configs are initialized on import so Manager is started for all processes. 2022-02-16 23:05:43 -07:00
Roland
08065155cf
Squashing config rework. 2022-02-16 21:57:27 -07:00
StruckCroissant
9a1fe7323a Added channel whitespace test 2022-02-13 00:06:42 -06:00
StruckCroissant
d04a9c05d0
Merge branch 'lrnselfreliance:master' into master 2022-02-10 20:29:39 -06:00
Roland
59bd675afd
Adding video format 18 for 360p format. 2022-02-08 10:00:32 -07:00
StruckCroissant
8bfa2cdba9
Update api.py 2022-02-07 13:47:17 -06:00
StruckCroissant
d26ddd2ee0 Stripping whitespace from posted channel names 2022-02-07 12:04:38 -06:00
Roland
a550b7d27b
Using lib in otp tests. 2022-02-03 13:16:10 -07:00
Roland
f2e4fcfa9c
Importing modules so its easier to see the relation between an api and its dependencies. 2022-02-03 12:39:14 -07:00
Roland
b4c1565fbb
Using new openapi.definition to show validation in docs. 2022-02-03 11:36:26 -07:00
Roland
56f31639db
Adding link to /docs for new Sanic version. 2022-02-03 10:07:04 -07:00
Roland
72cb9ce4ff
Missing Archive titles are filled in during refresh. 2022-02-03 08:50:40 -07:00
Roland
01bfe4de97
Limiting maximum title length in Archive files. 2022-02-02 20:48:43 -07:00
Roland
7b1c07f076
Archive files are migrated to new format. 2022-02-02 20:43:11 -07:00
Roland
8d3f65425a
Creating method that returns all Video files. Using this new method to delete the video files. 2022-02-02 16:30:58 -07:00
Roland
f655924c82
Fixing bug with DirectoriesRequest. 2022-02-02 16:18:08 -07:00
Roland
829f5eea08
Fixing archive counting. 2022-02-02 16:10:59 -07:00
Roland
a6a3284b49
Removing accidental print. 2022-02-02 16:09:39 -07:00
Roland
2946255fc6
Default to false to avoid non-archive files. 2022-02-02 16:08:18 -07:00
Roland
c1baeabe1f
Archive files with title in the name can be found. 2022-02-02 15:58:22 -07:00
Roland
284efedb80
Including title in archive file names. 2022-02-02 15:13:47 -07:00
Roland
3f08bce9ea
Removing consolidated hook because values were not being passed up. 2022-02-02 14:02:51 -07:00
Roland
812369fdb3
Refresh files removed files that were deleted. 2022-02-02 08:50:03 -07:00
Roland
22f603e567
Adding log when refreshing files. 2022-02-02 08:31:13 -07:00
Roland
643c86e9a4
Files can be searched. 2022-02-01 14:11:14 -07:00
Roland
a5e8ef16b6
Files are indexed by the words in their stem. Files can be searched via API. 2022-02-01 12:22:29 -07:00
Roland
30ca95d627
Creating files search api endpoint. 2022-02-01 10:02:39 -07:00
Roland
cd2ce1d691
Testing bad captions file parsing. 2022-02-01 09:56:59 -07:00
Roland
c79e28ff02
Upgrading base packages. Fixing failing test from merge. 2022-01-31 21:45:46 -07:00
Roland
c277a75a1a
Video tests pass with updated Sanic. 2022-01-31 21:30:07 -07:00
Roland
b1ed453466
Upgrading Sanic. Updating tests and schemas. 2022-01-31 21:30:07 -07:00
Roland
d17ad50d56
Archive tabs are handled by TabRouter. 2022-01-29 21:24:39 -07:00
Roland
dc888c6392
Squashed commit of the following:
commit 54d06bf8045fceaa2684348d110792e6833b170c
Author: Roland <roland@learningselfreliance.com>
Date:   Sat Jan 29 16:46:14 2022 -0700

    Can't delete files when WROL Mode is enabled.

commit 2d91f1983aae47bdb3f6dc7fc2bd2ae642c1126a
Author: Roland <roland@learningselfreliance.com>
Date:   Sat Jan 29 16:37:42 2022 -0700

    Fixing bug where files could not be deleted in series.

commit eed818c50682b19de9f18da2d4daedc54408cc49
Author: Roland <roland@learningselfreliance.com>
Date:   Sat Jan 29 16:26:31 2022 -0700

    Fixing fake_now to reset now() when complete.

commit 183e98cbec25784720ebaeabfac8af4a3fc87da8
Author: Roland <roland@learningselfreliance.com>
Date:   Sat Jan 29 16:08:14 2022 -0700

    Files can be deleted and downloaded.

commit c5bcd25a3da041f42b9e11eae804aa359ab9e985
Author: Roland <roland@learningselfreliance.com>
Date:   Sat Jan 29 14:41:07 2022 -0700

    Files can be deleted or downloaded.

commit 690b332bb4f89aa4e97ce2590b35bd4a71fefd87
Author: Roland <roland@learningselfreliance.com>
Date:   Sat Jan 29 14:11:05 2022 -0700

    File is opened in new tab when file is selected.

commit ba8ead6f3185d0a398c4f89cecb5958f5e7731a3
Author: Roland <roland@learningselfreliance.com>
Date:   Sat Jan 29 13:32:32 2022 -0700

    Removing files sort because React FE sorts them itself.

commit 4e04753234b11d615c5992bc08e9dd9fb7226c05
Author: Roland <roland@learningselfreliance.com>
Date:   Sat Jan 29 13:29:52 2022 -0700

    Duplicate directories are ignored.

commit c2f7d7929f37655e5c2d11767a512571263b35ef
Author: Roland <roland@learningselfreliance.com>
Date:   Sat Jan 29 12:22:38 2022 -0700

    Multiple directories can be requested.

commit 31678139c0799d0034d564cc1f8ae448234df90c
Author: Roland <roland@learningselfreliance.com>
Date:   Fri Jan 28 17:21:33 2022 -0700

    Files are displayed with the correct modified time.  Files can be recursively viewed.

commit a2d10a1dd792e518c8c6ad8f699b5d416c3d07e4
Author: Roland <roland@learningselfreliance.com>
Date:   Thu Jan 27 22:37:19 2022 -0700

    Files can be viewed.  Folders display their children.
2022-01-29 16:50:22 -07:00
Roland
83b9e3fc8f
Adding more video name parse tests. Using limiting match. 2022-01-27 21:09:22 -07:00
Roland
30b235a04e
Using greedy regex match on source_id. 2022-01-27 21:06:30 -07:00
Roland
8b0196ede3
Using new methods in download_channel. 2022-01-27 20:47:52 -07:00
Roland
8e47d2a9a0
Removing spread_channel_downloads function in favor of DownloadManager managing next_download. 2022-01-27 20:36:34 -07:00
Roland
b0465cb7f2
Restoring pytest fixture so PyCharm can find fixtures. 2022-01-26 17:15:35 -07:00
Roland
3dda813b9e
Download.next_download is assigned by the DownloadManager. 2022-01-26 17:10:18 -07:00
Roland
93204a0b2a
Displaying captions on video page. 2022-01-25 10:16:29 -07:00
Roland
0315def174
Videos can be sorted by their modification date. 2022-01-25 08:51:55 -07:00
Roland
f305d7912f
channel may be None. 2022-01-16 13:37:44 -07:00
Roland
6f58a2b563
Chrome attempts to screenshot in the current directory, but if the current directory is not a real user directory, the screenshot fail.s 2022-01-16 13:35:18 -07:00
Roland
1d9fe2f649
Setting channel id rather than channel because the channel may be in a different session. 2022-01-16 10:27:24 -07:00
Roland
89e3edb157
Creating functions to unify finding/making video directories. 2022-01-16 10:17:06 -07:00
Roland
a70e049823
Creating channel directory if it does not exist. 2022-01-16 09:28:22 -07:00
Roland
ca96bce6b7
Finding yt-dlp bin on startup. 2022-01-15 20:07:38 -07:00
Roland
e0b5966717
Creating videos and archives directory when they don't exist. 2022-01-15 19:58:38 -07:00
Roland
474e68cc3d
Fixing a few bugs in preparation for sneak peek. 2022-01-15 18:05:51 -07:00