Commit Graph
100 Commits
Author SHA1 Message Date
tcely 4f4ff960c2 Moved download_media_metadata in tasks.py 2025-06-24 11:19:57 -04:00
tcely 424fda5c52 Moved download_media_thumbnail in tasks.py 2025-06-24 11:14:05 -04:00
tcely 4bc748d0dd Moved download_media in tasks.py 2025-06-24 11:11:09 -04:00
tcely ffd98bfd51 Moved save_all_media_for_source in tasks.py 2025-06-24 11:08:08 -04:00
tcely 5159c56c38 Clean up django.db imports 2025-06-24 10:57:22 -04:00
tcely ab12cfdfb3 Reorganize tasks 2025-06-24 10:53:11 -04:00
tcely ce63b2806c Move more work into huey queues 2025-06-23 21:48:07 -04:00
tcely 93c9cc386a Store the queue name in the class 2025-06-23 11:42:05 -04:00
tcely 724a9a1842 fixup: use try/else 2025-06-23 11:23:26 -04:00
tcely 8969ac5484 fixup: access huey through self 2025-06-23 11:17:22 -04:00
tcely f7e7a83cfb Create cache-huey.py 2025-06-23 11:08:47 -04:00
tcely d03ab79fa6 [TubeSync-fs] Check for cookiefile option directly 2025-06-23 10:15:28 -04:00
tcely 9fe40cd81f Sort the files 2025-06-23 00:28:52 -04:00
tcely dcbe8b1d17 Clean up dynamic locks before indexing a source 2025-06-22 14:11:43 -04:00
tcely fff550c301 fixup: need a Path not a str 2025-06-22 12:39:49 -04:00
tcely 0ee9a2c087 The settings are empty 2025-06-21 21:33:47 -04:00
tcely 7c66b3b005 Check that the cookies file exists 2025-06-21 18:56:22 -04:00
tcely b96348f3b0 fixup: typing 2025-06-21 15:35:51 -04:00
tcely d66665ce69 Adjust for key already being hashed and clean up 2025-06-21 15:17:06 -04:00
tcely b9270336fc fixup: quoting 2025-06-21 13:08:04 -04:00
tcely 13bd4c83e0 fixup: adjust the example preference 2025-06-21 13:06:04 -04:00
tcely 9e98eedea7 Create cache-filesystem.py 2025-06-21 12:59:14 -04:00
tcely 7bcb06d271 Create the XDG_STATE_HOME directory 2025-06-21 11:45:23 -04:00
tcely 1aaed36985 Add XDG_CONFIG_HOME directory 2025-06-21 11:42:06 -04:00
tcely 0102f4f92f Stop using BACKGROUND_TASK_ASYNC_THREADS setting 2025-06-21 07:02:48 -04:00
tcely 60c74785de Ignore TUBESYNC_WORKERS entirely 2025-06-21 06:56:30 -04:00
tcely e15319cc01 Remove TUBESYNC_WORKERS 2025-06-21 06:31:35 -04:00
tcely 9f19eefbfe Silence a silly logged message 2025-06-21 05:39:28 -04:00
tcely 24749e18b2 Turn off ignoreerrors
We only download one video at a time, so skipping over a failed download isn't something that we want.
2025-06-21 05:21:10 -04:00
tcely 15b4091714 Add to tests 2025-06-20 19:21:58 -04:00
tcely 18f26f9eaa Add to variables listing 2025-06-20 19:17:31 -04:00
tcely 2c93784623 Add to validation function 2025-06-20 19:14:42 -04:00
tcely 413c3af38b Tweak the display of the message 2025-06-20 16:37:35 -04:00
tcely bb184ba7dd Add a message about the paused queues to the running section 2025-06-20 13:57:39 -04:00
tcely 3cb6ff410c Add wait_for_database_queue tasks to the web UI 2025-06-20 13:41:30 -04:00
tcely 56620fdc07 Add a convenience format: yyyy_0mm_dd 2025-06-19 20:22:40 -04:00
tcely 6d14b5aa57 Do not store keys that only return None anyway 2025-06-19 17:31:12 -04:00
tcely 5960bb5d17 Use the WARNING level from logging 2025-06-19 16:31:18 -04:00
tcely 12de44f6ea Use the default logging level 2025-06-19 15:58:02 -04:00
tcely 800a2a5eb8 Use the level provided in logging 2025-06-19 15:55:47 -04:00
tcely f492d7acdd Set using DATABASES['default'] 2025-06-19 15:44:53 -04:00
tcely f63fb74e17 Log at the specified level 2025-06-19 15:36:37 -04:00
tcely 25755c0a47 Specify the log level 2025-06-19 15:22:23 -04:00
tcely 7874f0b05d Append messages to be logged 2025-06-19 15:06:07 -04:00
tcely 61ba748d4d Log from a list of messages 2025-06-19 14:59:48 -04:00
tcely 03e7d2dac3 Access _msg through settings.DATABASES 2025-06-19 14:51:37 -04:00
tcely ad6156e370 fixup: syntax 2025-06-19 14:40:58 -04:00
tcely 7e58f61e86 fixup: grouping 2025-06-19 14:32:29 -04:00
tcely bcfa7e515a Log the stored message 2025-06-19 14:27:10 -04:00
tcely a01d72e3ce Warn against using multiple workers 2025-06-19 13:40:53 -04:00
tcely 0e93af60d3 Merge branch 'main' into patch-7 2025-06-19 11:30:53 -04:00
tcely f4f345c656 Allow underscores 2025-06-19 10:54:08 -04:00
tcely cb08f475d0 Specify the encoding also 2025-06-19 10:48:05 -04:00
tcely 5ccd50799d fixup: formatting and syntax 2025-06-19 10:27:11 -04:00
tcely a016c8a9c9 Use str.translate 2025-06-19 10:24:35 -04:00
tcely d26a820e17 Round-trip through the encoder like slugify does for ASCII 2025-06-19 10:15:52 -04:00
tcely 9f5f35ce13 Add allow_unicode=True to slugify 2025-06-19 09:45:48 -04:00
tcely c2f7863a0f Show the targeted schedule on the sources page 2025-06-18 18:14:44 -04:00
tcely 6160e15781 Do not store True as a result 2025-06-18 16:56:58 -04:00
tcely ea88c7bedd Lock each Media instance to prevent racing 2025-06-18 16:07:42 -04:00
tcely b9d46ac36f Add running tasks 2025-06-18 13:36:31 -04:00
tcely 2ebcaf42ac Provide a string where it is expected 2025-06-18 12:26:03 -04:00
tcely 7a2155be7a Merge branch 'main' into patch-14 2025-06-18 10:11:23 -04:00
tcely 41b2642921 Create task queue configuration using sync.choices.TaskQueue 2025-06-18 09:29:17 -04:00
tcely 58e665f5db fixup: drop a useless comment 2025-06-18 09:17:15 -04:00
tcely 2962d612f5 Merge branch 'meeb:main' into patch-14 2025-06-18 09:14:49 -04:00
tcely 1107a1f4ed Merge branch 'main' into patch-4 2025-06-18 09:07:44 -04:00
tcely 4b064623a5 Merge branch 'main' into patch-refresh-formats 2025-06-18 08:57:02 -04:00
tcely ce5e84d385 Merge branch 'main' into patch-10 2025-06-18 08:49:24 -04:00
tcely 54aaf07df9 Remove register_huey_signals function from signals.py 2025-06-18 08:16:26 -04:00
tcely dd7f9550c6 Move register_huey_signals function into common/huey.py 2025-06-18 08:14:47 -04:00
tcely 663a2e8b61 fixup: do not import from signals 2025-06-18 07:53:48 -04:00
tcely 3e07b88439 fixup: use the correct location 2025-06-18 07:48:40 -04:00
tcely ac8acbdb3d Call register_huey_signals from tasks.py 2025-06-18 07:44:17 -04:00
tcely abf9ef7d2f Add register_huey_signals function in signals.py 2025-06-18 07:41:27 -04:00
tcely dbf8ca3ea5 Use a sub-class that includes huey with signals 2025-06-18 07:16:02 -04:00
tcely 036e368491 Handle the signal sent when a consumer is terminated 2025-06-18 06:36:16 -04:00
tcely 12d1951350 Only count scheduled migrate_to_metadata tasks 2025-06-17 18:59:44 -04:00
tcely 0422c72d98 Do not wait for the old queue to empty 2025-06-17 18:02:00 -04:00
tcely 8234eb9e30 Merge branch 'main' into patch-4 2025-06-17 12:54:04 -04:00
tcely faf94eece6 Improve the msg when formats and thumbnails are alone 2025-06-17 09:47:17 -04:00
tcely 23af8feceb fixup: address ruff check complaints 2025-06-17 09:36:37 -04:00
tcely c2b460b2ea fixup: remove unused import: multi_key_sort 2025-06-17 09:30:07 -04:00
tcely a55444a21e Expand the exception 2025-06-17 09:23:20 -04:00
tcely 804f32c145 Create the exception then add to it 2025-06-17 09:06:30 -04:00
tcely ac463403b1 Merge branch 'main' into patch-refresh-formats 2025-06-17 08:53:59 -04:00
tcely a68dbd7b3d Move refresh_formats function to media__tasks.py 2025-06-17 08:39:52 -04:00
tcely 983679964b Abort wait_for_errors during container shutdown 2025-06-16 22:19:42 -04:00
tcely f2d31682d8 fixup: super() didn't work 2025-06-16 18:26:11 -04:00
tcely 5f4fc46586 Patching the class was easier 2025-06-16 18:06:34 -04:00
tcely b372fda4c0 fixup: syntax 2025-06-16 17:38:05 -04:00
tcely 6b4fa15ec6 Run the initial image downloads using huey 2025-06-16 17:36:56 -04:00
tcely c144d9d55f Update media__tasks.py 2025-06-16 17:04:42 -04:00
tcely f2af93f68c Update media__tasks.py 2025-06-16 17:03:02 -04:00
tcely 567cfac6af Create a path around download_media_thumbnail 2025-06-16 16:54:38 -04:00
tcely a5509612d1 Update tasks.py 2025-06-16 16:50:04 -04:00
tcely 557538292c Translate the odd way huey.CancelExecution is called 2025-06-16 16:48:32 -04:00
tcely 1e5e27952e Migrate migrate_to_metadata to huey 2025-06-16 14:34:52 -04:00
tcely 0486329a8b fixup: remove assignment 2025-06-16 13:05:38 -04:00
tcely 60b0fc6440 Teach wait_for_errors about huey results 2025-06-16 13:01:45 -04:00