Commit Graph
100 Commits
Author SHA1 Message Date
tcely 951b24bbef Update misc.py 2025-05-09 02:01:49 -04:00
tcely 004d98efa5 Update media.py 2025-05-09 01:58:28 -04:00
tcely 4cd2178edb Update __init__.py 2025-05-09 01:51:30 -04:00
tcely 109608c9af Update metadata.py 2025-05-09 01:48:48 -04:00
tcely 5b79293562 Update source.py 2025-05-09 01:47:58 -04:00
tcely 7cad4ce396 Update source.py 2025-05-09 01:45:42 -04:00
tcely 6d288ec447 Update source.py 2025-05-09 01:43:03 -04:00
tcely 37fcabb242 Update __init__.py 2025-05-09 01:42:20 -04:00
tcely e8777f2ecb Create misc.py 2025-05-09 01:40:19 -04:00
tcely babc0345d6 Update and rename legacy.py to media.py 2025-05-09 01:34:49 -04:00
tcely b5ee002404 Update legacy.py 2025-05-09 01:29:34 -04:00
tcely 4b42670824 Update __init__.py 2025-05-09 01:24:02 -04:00
tcely 9ceafe9fd2 Update source.py 2025-05-09 01:21:26 -04:00
tcely aad8709bb8 Delete tubesync/sync/models/media.py 2025-05-08 23:56:38 -04:00
tcely d4003416d2 Update legacy.py 2025-05-08 23:53:33 -04:00
tcely 0251b9a8aa Update metadata.py 2025-05-08 23:50:36 -04:00
tcely 2e59339c6b Create __init__.py 2025-05-08 23:50:01 -04:00
tcely 6cc1936325 Rename __init__.py to legacy.py 2025-05-08 23:48:43 -04:00
tcely a5afdc6a45 Update metadata.py 2025-05-08 23:46:09 -04:00
tcely 0d9542163b Update __init__.py 2025-05-08 23:43:16 -04:00
tcely 9e66bf5151 Update metadata.py 2025-05-08 23:37:27 -04:00
tcely 108f7169e3 Update __init__.py 2025-05-08 23:17:38 -04:00
tcely ac0eaa3ec5 Update metadata_format.py 2025-05-08 23:12:58 -04:00
tcely 705169746b Update metadata.py 2025-05-08 23:12:28 -04:00
tcely d962d57ce0 Update metadata_format.py 2025-05-08 23:10:14 -04:00
tcely a00d760f04 Create json.py 2025-05-08 23:07:12 -04:00
tcely 5ab4e41b8d Update metadata_format.py 2025-05-08 23:02:08 -04:00
tcely ded3602d54 Update media_server.py 2025-05-08 22:46:53 -04:00
tcely 5c987f1d58 Update __init__.py 2025-05-08 22:43:26 -04:00
tcely ea4733f725 Update mediaservers.py 2025-05-08 22:31:12 -04:00
tcely 84298ab5e5 Update mediaserver.html 2025-05-08 22:12:24 -04:00
tcely a123630069 Update views.py 2025-05-08 22:05:36 -04:00
tcely cfe2e30f17 Update views.py 2025-05-08 22:02:06 -04:00
tcely 83ecb14b88 Update media_server.py 2025-05-08 21:41:29 -04:00
tcely 182836aa99 Update media_server.py 2025-05-08 21:33:55 -04:00
tcely 6717f1a58b Create media.py 2025-05-08 20:57:35 -04:00
tcely e33cf52209 Create source.py 2025-05-08 20:56:11 -04:00
tcely e764e43e6d Create metadata.py 2025-05-08 20:55:45 -04:00
tcely a8b811abcd Create metadata_format.py 2025-05-08 20:54:08 -04:00
tcely 40b7ce1d2e Create media_server.py 2025-05-08 20:51:22 -04:00
tcely 266218f816 Rename tubesync/sync/models.py to tubesync/sync/models/__init__.py 2025-05-08 20:48:43 -04:00
tcely dc3e320c11 Allow running tasks with errors also 2025-05-08 10:36:03 -04:00
tcely 90253ecab6 Display both links in the same item 2025-05-08 10:27:22 -04:00
tcely 0e29a5bdbe Add when to the form 2025-05-08 10:06:04 -04:00
tcely 4f68552713 Provide when for the form and the template 2025-05-08 09:50:01 -04:00
tcely 329c13625c Add a missing error message 2025-05-08 09:28:49 -04:00
tcely d8eca035ac Update urls.py 2025-05-08 08:22:34 -04:00
tcely 30b77d182b Use TaskScheduleView 2025-05-08 08:19:20 -04:00
tcely 8da507c935 Create task-schedule.html 2025-05-08 08:15:51 -04:00
tcely 317f293991 Add ScheduleTaskForm 2025-05-08 07:58:56 -04:00
tcely 3b17f69346 Add TaskScheduleView 2025-05-08 07:55:06 -04:00
tcely dc38c0a37a Match the correct URL 2025-05-07 21:25:04 -04:00
tcely 01705f5f68 Add task scheduling URLs 2025-05-07 21:23:42 -04:00
tcely e6a6552c3c Add a start link to scheduled tasks 2025-05-07 20:56:51 -04:00
tcely dab458c9f7 Add music.youtube.com to the YouTube domains 2025-05-07 15:24:23 -04:00
tcely ed90a23830 Stop services before database steps 2025-05-06 19:34:28 -04:00
tcely a2722ee188 Use POSTGRES_DB instead of init.sql 2025-05-06 18:01:45 -04:00
tcely 27ceecadc8 Check media_format for + 2025-05-06 11:49:18 -04:00
tcely 024ced3696 Remux video for combined format download 2025-05-06 11:44:39 -04:00
tcely c593933bfa Add more details about saving database entries 2025-05-05 05:31:17 -04:00
tcely 0fb7520a2b Go back to removing then adding the foreign key 2025-05-04 22:25:37 -04:00
tcely c3b5a25b9d Alter sync_source first 2025-05-04 21:36:43 -04:00
tcely a8ee30192c Remove pprint as it is now unused 2025-05-04 14:06:34 -04:00
tcely 305d27a7af Try using foreign_key_checks 2025-05-04 13:35:51 -04:00
tcely 621a578787 Log the Done before returning 2025-05-04 13:25:29 -04:00
tcely a59fb8bc26 The SQL output needs to be returned 2025-05-04 13:13:23 -04:00
tcely da06a1ffa1 Add --dry-run and apply SQL when it is not used 2025-05-04 13:00:28 -04:00
tcely 5e8cc639f7 Generate SQL for deleting tables 2025-05-04 11:03:26 -04:00
tcely 5e2200382f Check for completed data migration 2025-05-04 10:10:34 -04:00
tcely e6e4c3300a Update fix-mariadb.py 2025-05-04 09:41:21 -04:00
tcely 36681aadc0 Add check_migration_status function 2025-05-04 09:35:04 -04:00
tcely 2a98707254 Collect SQL with schema editor 2025-05-04 07:46:36 -04:00
tcely cc9b5446c1 Use the quote_name from schema 2025-05-04 07:24:54 -04:00
tcely b5828801de Update fix-mariadb.py 2025-05-04 06:34:09 -04:00
tcely fc89178f28 Switch to string interpolation 2025-05-04 06:24:10 -04:00
tcely 503bb3e5b1 Update fix-mariadb.py 2025-05-04 05:46:33 -04:00
tcely 435ebac328 Generate some SQL for native UUID columns 2025-05-04 05:19:59 -04:00
tcely ba87e39e3d Update fix-mariadb.py 2025-05-04 03:58:56 -04:00
tcely 5235c53dad Check the current column type 2025-05-04 03:47:18 -04:00
tcely e4f3428aa8 Allow deleting only a few tables
- It must be one of the metadata related tables
- The table must be present in the database
2025-05-04 01:49:18 -04:00
tcely 960c07a846 Update fix-mariadb.py 2025-05-04 01:20:39 -04:00
tcely 919ba49e28 Update fix-mariadb.py 2025-05-04 00:21:16 -04:00
tcely 07f689e5d0 Update fix-mariadb.py 2025-05-04 00:04:00 -04:00
tcely a7fe0d5eeb Combine the strings 2025-05-03 22:49:13 -04:00
tcely 0f7643971f Adjust options in fix-mariadb.py 2025-05-03 22:44:31 -04:00
tcely c11e78bc47 Remove executable bit 2025-05-03 21:19:59 -04:00
tcely d5045d8d03 Created fix-mariadb.py 2025-05-03 21:13:16 -04:00
tcely efc5942051 fixup: closing parenthesis 2025-05-02 21:05:16 -04:00
tcely 71b57dd477 Schedule thumbnail tasks for new media 2025-05-02 21:03:09 -04:00
tcely 46d2e3c8e7 raise_for_status checks status_code itself 2025-05-02 17:14:07 -04:00
tcely a7fdd02d47 A standard Exception is fine 2025-05-02 17:09:23 -04:00
tcely d6b60f41c9 End the task for HTTP 404 response status 2025-05-02 16:52:20 -04:00
tcely add6454c33 Use NoThumbnailException from thumbnail task 2025-05-02 16:20:48 -04:00
tcely 3a0c4c8fb1 Raise when status_code is not 200: OK 2025-05-02 16:12:25 -04:00
tcely f6b20c03e3 Add NoThumbnailException 2025-05-02 15:36:00 -04:00
tcely cf8555aab1 Show migrations when debugging 2025-05-02 14:28:20 -04:00
tcely f850502ad0 Narrow the exceptions 2025-05-01 10:24:44 -04:00
tcely 19a2d03c5b Remove an unneeded if 2025-05-01 09:50:49 -04:00
tcely c52fd14cd0 Remove Media.metadata_published function 2025-05-01 09:46:48 -04:00
tcely 39be704545 Switch to Media.ts_to_dt function 2025-05-01 09:44:27 -04:00