Commit Graph

347 Commits (5076efac45d3d68f363b5e8e024cde32adb8521f)

Author SHA1 Message Date
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
voussoir 413f9af568
Replace some flask.abort with exc.jsonify responses. 2021-10-26 12:18:55 -07:00
voussoir 39f78a7fbe
Return the channel ID during endpoints that change it. 2021-10-26 12:03:40 -07:00
voussoir c435b1ada5
Add some flasktools.required_fields where missing. 2021-10-26 11:57:55 -07:00
voussoir 2d2a45a2a1
Add web interface for Channel.set_name. 2021-10-26 11:53:49 -07:00
voussoir 199f2030f7
Add command download_video. 2021-10-25 14:11:58 -07:00
voussoir 87407d39c1
Return the queuefile from download_video. 2021-10-25 14:10:11 -07:00
voussoir e5129b5946
Add command video_list. 2021-10-25 14:08:30 -07:00
voussoir 257c54d19b
Commit when adding channel after navigating to its page. 2021-10-25 14:05:02 -07:00
voussoir b33a01065e
Don't bother trying to iterate refresh_ids if it's empty. 2021-10-25 14:04:08 -07:00
voussoir 6aeff3bc9f
Only recheck premieres / lives for the channel being refreshed. 2021-10-25 14:02:58 -07:00
voussoir 6370e36c84
Log these objects using their str instead of .id. 2021-10-25 14:02:21 -07:00
voussoir 8821491ff3
Log the total number of snippets retrieved. 2021-10-25 14:00:12 -07:00
voussoir 7ec78da0a4
Improve channel_list helptext with examples, "flags". 2021-10-25 13:22:08 -07:00
voussoir 21dcf6a6b1
Let delete_channel use pipeable to support !c, !i. 2021-10-25 13:21:28 -07:00
voussoir d08415eaad
Add assert_valid_state so I can stop copypasting this code. 2021-10-25 13:20:05 -07:00
voussoir 787cec38aa
Add remark to common.css, ycdl.css. 2021-10-24 16:47:48 -07:00
voussoir c22f20fcf8
Use worms, add more ycli functions. 2021-10-15 21:00:04 -07:00
voussoir 0adeb55790
Match renamed flasktools.json_response. 2021-10-01 23:04:41 -07:00
voussoir 2d7868477e
Match Etiquette update re prod launching. 2021-10-01 14:11:00 -07:00
voussoir ca94ecce46
Match configlayers update. 2021-10-01 14:10:36 -07:00
voussoir 86c0530b17
Make these arguments keyword-only. 2021-09-30 19:43:26 -07:00
voussoir 5f5d8141f1
Move logic to separate function normalize_autorefresh. 2021-09-15 18:55:52 -07:00
voussoir ec402dcd0b
Let endpoint return new values of queuefile_ext, download_dir. 2021-09-15 18:55:14 -07:00
voussoir bf1bbe8748
Bind enter to submit for download_directory. 2021-09-15 18:53:36 -07:00
voussoir b038099573
Fix template to expect pathclass for download_directory. 2021-09-15 18:53:23 -07:00
voussoir bf7407daa2
Add call to download_directory.correct_case. 2021-09-15 18:52:46 -07:00
voussoir 47b87d023a
Update screenshots. 2021-09-13 20:49:20 -07:00
voussoir faabe53400
Fix wording "keeping track of". 2021-09-09 14:40:23 -07:00
voussoir be6b3a0d29
Improve setup and run instructions. 2021-09-08 20:06:44 -07:00
voussoir 2c133d18f3
Improve the way prod imports flask backend. 2021-09-08 20:02:20 -07:00
voussoir d5b50ff1f6
Improve ycdl_flask_dev helptext. 2021-09-08 19:32:21 -07:00
voussoir ad306ae771
Make better use of vlogging. 2021-09-08 19:31:56 -07:00
voussoir e17b6668f3
Add link to channel/videos page in the settings list. 2021-09-07 14:05:36 -07:00
voussoir 69924b0b13
Add operatornotify to YCDL flask dev. 2021-09-05 01:27:02 -07:00
voussoir 6068d644b9
Add autorefresh to Channel to include/exclude in refresh_all loop. 2021-09-05 01:26:34 -07:00
voussoir 0418cae57a
Move truthystring to stringtools. 2021-09-05 01:22:21 -07:00