Commit Graph

15 Commits (c0235901c640e9705e79cfe39289c950d56f3d7e)

Author SHA1 Message Date
voussoir c22f20fcf8
Use worms, add more ycli functions. 2021-10-15 21:00:04 -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 69924b0b13
Add operatornotify to YCDL flask dev. 2021-09-05 01:27:02 -07:00
voussoir 74d4a55d32
Rename import bot -> youtube_credentials.
In the days of making reddit bots I always put creds into bot.py.
But for this project it wouldn't make any sense to newcomers.
2021-04-25 18:02:26 -07:00
voussoir 6db7fe9a24
Punctuate pid line. 2021-01-30 04:34:46 -08:00
voussoir acf29b9e9f
Show pid when server starts. 2021-01-30 04:31:48 -08:00
voussoir 5bedabdc66
Move site.debug to _dev, _prod launchers. 2021-01-28 16:46:54 -08:00
voussoir 8de342b054 Set log level by argv. 2020-11-20 16:23:36 -08:00
voussoir e4b769336b Set ytrss log level during flask launch. 2020-11-15 17:57:07 -08:00
voussoir 11414b4088 Add log_level param to constructor, like Etq. 2020-11-09 20:22:54 -08:00
voussoir be7c5982e9 Don't use a default refresh rate. User must provide --refresh_rate. 2020-11-03 00:04:32 -08:00
voussoir d1b42b71cb Enforce keyword-only args, alphabetize args. 2020-09-30 15:17:27 -07:00
voussoir bb72c40c53 Add option --localhost_only. 2020-09-30 15:15:30 -07:00
voussoir 038ce9cffb Rename flask launchers -> _dev, _prod.
I want to reduce some complexity around here, part of which is that
launch imported entrypoint imported backend, all to do some proxy
wrapping which isn't necessary for the dev case anyway. Less
layers of wrapping and importing is good. Plus I think this naming
is more clear.
Additionally, I realized that the entrypoint aka prod launcher was
never updated to init the ycdldb as that was only done by the argparse
launcher. Now it's hardcoded and I'll consider adding a config file.
2020-09-30 15:03:29 -07:00