voussoir
56dfb6db19
Add the state filter's name into the "X items" line.
2020-11-26 18:24:15 -08:00
voussoir
083e9dd2ee
Add (p) link to pending videos from generic listing page.
2020-11-21 11:25:46 -08:00
voussoir
bc8de9fc52
Add a couple more log statements.
2020-11-20 16:37:49 -08:00
voussoir
2bfc1a00d4
Add log.warning when a channel fails to refresh.
2020-11-20 16:24:03 -08:00
voussoir
8de342b054
Set log level by argv.
2020-11-20 16:23:36 -08:00
voussoir
a81af363ff
Pass rss_assisted=False during traditional fallback.
2020-11-20 16:15:11 -08:00
voussoir
4d80237456
Rename variables uid->channel_id, most_recent_video->video_id.
2020-11-20 16:13:14 -08:00
voussoir
5a868dc7bd
Use voussoirkit.gentools for chunk_generator.
2020-11-15 22:07:41 -08:00
voussoir
3f32ab1664
Incorporate __name__ into ycdldb's logger.
2020-11-15 22:02:21 -08:00
voussoir
b659a6da5f
Wrap this long line.
2020-11-15 21:11:25 -08:00
voussoir
ced16d9063
Don't traceback.print_exc.
2020-11-15 21:10:01 -08:00
voussoir
bac6efe108
Use voussoirkit.stringtools for pascal_to_loudsnakes.
2020-11-15 21:08:58 -08:00
voussoir
ca8a2a2d55
Add channel's RSS link to the settings tab.
2020-11-15 17:57:23 -08:00
voussoir
e4b769336b
Set ytrss log level during flask launch.
2020-11-15 17:57:07 -08:00
voussoir
8ac31562b7
Add github/gitlab link at bottom of readme.
2020-11-15 17:56:40 -08:00
voussoir
81bd7b9ca2
Move playlist paginator out to get a clean looking generator.
2020-11-10 17:54:21 -08:00
voussoir
294ccb77d9
More logging updates.
2020-11-10 17:53:52 -08:00
voussoir
648d2af560
Add rss_assisted parameter to Channel.refresh too.
2020-11-10 17:15:19 -08:00
voussoir
11414b4088
Add log_level param to constructor, like Etq.
2020-11-09 20:22:54 -08:00
voussoir
13e6f7e1f0
Use vlogging and a distinct logger name instead of __name__.
2020-11-09 20:20:45 -08:00
voussoir
8cdf18b987
Wrap long line.
2020-11-09 20:20:45 -08:00
voussoir
927b5a559e
Add parameter rss_assisted in case you want to turn it off.
2020-11-09 16:48:17 -08:00
voussoir
b7ce46bef2
Make these keyword arguments kw-only.
2020-11-09 16:32:44 -08:00
voussoir
aabb6691f0
Use voussoirkit.vlogging for loud.
2020-11-09 16:30:54 -08:00
voussoir
a3f69573a4
Use requests.Session to greatly speed up RSS requests.
2020-11-09 16:30:25 -08:00
voussoir
1263123a03
Dedent by performing loop outside of this function.
2020-11-09 16:29:59 -08:00
voussoir
c2d10da6b6
Add log line when RSS assist fails, fallback to traditional.
2020-11-09 16:23:18 -08:00
voussoir
c075133bdb
Fix pascal_to_loudsnakes to handle repeated caps as single term.
...
Previous code made "R_S_S_ASSIST_FAILED", now "RSS_ASSIST_FAILED".
2020-11-09 16:19:37 -08:00
voussoir
5841279f9e
Sync common.js with Etiquette.
2020-11-08 19:32:04 -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
4b1fde386d
Add some docstrings to the request code.
2020-11-03 00:03:59 -08:00
voussoir
e09153c5e3
Alert response if download/ignore/pending action fails.
2020-10-29 16:14:58 -07:00
voussoir
afe82b9c98
Add a dash more logging.
2020-10-25 20:16:43 -07:00
voussoir
6270665737
Add repr for channel and video.
2020-10-25 20:16:24 -07:00
voussoir
08290d7c6d
Fix incorrect call to log.
2020-10-25 20:16:00 -07:00
voussoir
42417ed008
Sync common.js with Etiquette.
2020-10-23 07:44:18 -07:00
voussoir
b8ab1503c3
Don't use RSS when force=True.
2020-10-23 07:44:09 -07:00
voussoir
c5c67b9c69
Let select_all, deselect_all ignore hidden cards.
...
So that ctrl+a after filtering only selects the filter results.
2020-10-11 18:43:47 -07:00
voussoir
67a3472aad
Avoid creating emptystring promptclass.
2020-10-04 16:53:27 -07:00
voussoir
14ab3f3b06
Reorganize a bunch of functions and other indulgences.
2020-10-02 19:46:36 -07:00
voussoir
ed3942b943
Let response status be 0 even if request didn't complete.
...
Since meta.status would be undefined for an incomplete request,
I would have to check response.completed && response.meta.status,
which is too much burden. Let's set the status immediately, and
if a callback wants to do further diving we'll use completed then.
2020-10-02 19:43:25 -07:00
voussoir
94e3bcd21d
Set tabbed_container data-active-tab-id on tab change.
2020-10-02 13:17:38 -07:00
voussoir
0f9fbfa6e8
Add synchronized hotkeys.js from Etiquette; add ctrl+a, ctrl+d.
2020-10-02 13:17:08 -07:00
voussoir
6cc5fed930
Improve error handling surrounding most_recent_video.
2020-10-02 12:31:39 -07:00
voussoir
b2115f88be
Add better indexes and delete redundant ones.
2020-10-02 11:22:47 -07:00
voussoir
7910e12bc8
Add RSS-assisted refresh to single channel refresh method.
2020-10-02 11:13:02 -07: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
voussoir
f77809e793
Add top docstring and log format like Etiquette.
2020-09-30 14:47:05 -07:00