Commit Graph

383 Commits (de22dff161264dae75fab0c52d51eea12b8cb654)

Author SHA1 Message Date
voussoir de22dff161
Let video_list show thumbnail urls for easy downloading. 2022-09-07 18:02:18 -07:00
voussoir 834c25882f
Update worms, insert data renamed to pairs. 2022-08-13 07:25:29 -07:00
voussoir 2aa23ac2aa
Do all the non-rss refreshes last. 2022-07-20 18:04:36 -07:00
voussoir ca353e9977
Update to new worms version. 2022-07-20 18:04:35 -07:00
voussoir 12400b407c
Add commit=True to the refresher thread. 2022-06-11 14:47:57 -07:00
voussoir 82a6739768
Use worms select_column. 2022-06-03 19:54:52 -07:00
voussoir b3390940a5
Use worms select_one_value. 2022-06-03 19:54:35 -07:00
voussoir 738e7ab235
Add favicon link to all HTML templates. 2022-05-28 16:21:39 -07:00
voussoir 0fb5c4d3e8
Use https video thumbnails. 2022-04-30 07:19:59 -07:00
voussoir 88579a3e8f
Update license copyright. 2022-03-26 13:17:48 -07:00
voussoir f5abb8d815
Add newline at end of file. 2022-03-24 19:35:21 -07:00
voussoir b78edf8c81
Add proxyfix to the dev server as well.
Obviously the dev server shouldn't be used in prod, but when testing
it's helpful for them to behave a little more similarly.
2022-03-23 14:57:57 -07:00
voussoir a069cc97cb
Add spinners.close_button_spinner so user doesn't need spinnerCloser.
The window[button.spinnerCloser]() was always weird.
2022-03-23 14:56:13 -07:00
voussoir efcc224a50
Use sql.row_factory = sqlite3.Row. 2022-03-15 18:19:32 -07:00
voussoir cf01ca24ff
Add show_download_directory, and a few ui fixes. 2022-03-15 18:12:11 -07:00
voussoir 35353a1d83
Some small tidy ups. 2022-03-15 18:12:10 -07:00
voussoir ec0bf50490
Remove pragma count_changes, which is deprecated. 2022-03-15 18:12:10 -07:00
voussoir bad5ed0355
Rename spinner.js -> spinners.js. 2022-03-15 18:12:09 -07:00
voussoir 1479f79667
Add css-js class bind-enter-to-button, bind-ctrl-enter-to-button. 2022-03-15 13:51:22 -07:00
voussoir 9b35afb79c
Add hotkeys.register_help, forward the event to the hotkey's func. 2022-03-15 13:51:09 -07:00
voussoir 3512768c5d
Use new betterhelp. 2022-02-12 19:52:30 -08:00
voussoir 5bf6fe0cd7
Fix handling of premiered videos in ycdldb.refresh_all. 2022-01-26 21:20:08 -08:00
voussoir 134bcb5a87
Fix state filter removing video cards. 2022-01-17 15:50:33 -08:00
voussoir 0239ae6b76
Use absolute_path instead of Path object in log statement. 2022-01-14 23:42:15 -08:00
voussoir 7f18a2b9f7
Let the user paste video ids into the filter box. 2022-01-13 17:24:35 -08:00
voussoir f35a2c7750
Remove double space. 2022-01-13 17:22:11 -08:00
voussoir 06d45c4e1a
Improve use of last_refresh + rate wait. 2022-01-09 21:59:18 -08:00
voussoir 8840599be0
Add a few more docstrings. 2021-12-19 19:20:58 -08:00
voussoir ecf96d531a
Improve use of SQL selecting livestream video ids. 2021-12-19 19:07:13 -08:00
voussoir 03b88ec5f8
Improve documentation around Channel.refresh. 2021-12-19 19:06:40 -08:00
voussoir 89621d2976
Remove unnecessary use of .absolute_path thanks to fspath. 2021-12-07 12:43:17 -08:00
voussoir 62a90096fb
Remove donate.md. 2021-11-11 12:37:12 -08:00
voussoir 4279d39958
Add last_refresh so the bg thread knows about manual refreshes. 2021-11-11 12:37:11 -08:00
voussoir 8376a0d4f2
Add note about --yes. 2021-11-10 23:43:58 -08:00
voussoir 7503b41c3b
Add --video_list, --channel_list listargs to improve ergonomics.
This reduces the need to pipe two ycli processes together, which
makes commands easier to type and avoids opening two connections
to the same database.
2021-11-10 23:43:57 -08:00
voussoir 9e4b1803ff
Remove '''.strip, now unnecessary thanks to betterhelp updates.
betterhelp.print_helptext normalizes the whitespace before printing.
2021-11-10 23:43:57 -08:00
voussoir 5076efac45
Pass raise_for_missing=True to worms. 2021-11-10 23:43:57 -08:00
voussoir 424113f061
Improve refresh_channels helptext. 2021-11-10 22:20:24 -08:00
voussoir 5929a7689c
Let download_video take download_directory, queuefile overrides. 2021-11-10 22:19:41 -08:00
voussoir 074f33342d
Use flex with gap instead of margin. 2021-11-08 02:01:14 -08:00
voussoir da8a6f0505
Use flex instead of grid to overcome 1,000 row browser limit.
Chrome stops adding grid rows after 1,000 and just piles them all
up on the bottom.
2021-11-08 02:01:01 -08:00
voussoir 63c332ea52
Add method get_videos_by_id. 2021-11-07 18:51:49 -08:00
voussoir 1b422544d9
Update readme with different frontend instructions. 2021-11-07 18:51:38 -08:00
voussoir ef356986a6
Add some type hints to ytapi. 2021-11-07 18:50:34 -08:00
voussoir 9ebda4e38b
Add BROWSER_CACHE_DURATION constant. 2021-11-01 16:04:25 -07:00
voussoir 3fb2a63185
Turn the spinner off after a refresh fails. 2021-10-31 12:51:50 -07:00
voussoir a03ee5de90
Don't bother calling ytapi.get_videos if no new ids from RSS. 2021-10-31 12:51:17 -07:00
voussoir 2efc5ed38d
Fix subscript typo. 2021-10-28 23:30:38 -07:00
voussoir 5d9abf6e65
Add ublock filters to readme. 2021-10-26 18:16:53 -07:00
voussoir c0235901c6
Separate try-except for the get_video loop and mark loop.
This will help prevent inconsistent state where some videos get marked,
then one raises, and the db rolls back but the other objects still have
their state attribute set.
2021-10-26 12:23:45 -07:00