Commit Graph
853 Commits
Author SHA1 Message Date
tcely b9eb28fd36 There is a /config/cache directory we can safely use 2024-12-22 01:45:16 -05:00
tcely 2c26936035 fixup: remove the --no-cache-dir option 2024-12-21 20:23:47 -05:00
tcely a2c97d2791 pipenv did not run with that option 2024-12-21 20:22:08 -05:00
tcely f4c070ada7 Reduce image size and keep pycache in a volume
Not only are volumes typically faster to access than the image overlay, the cachee can be reused between containers.
2024-12-21 20:08:36 -05:00
tcely abfa8ca042 Do not log when the skip state remains unchanged 2024-12-21 17:01:13 -05:00
tcely f88df0d4e6 Manually skipped items do not need additional filtering 2024-12-21 16:46:17 -05:00
tcely 6c757185db Do not try to skip already skipped media
Logically these functions can only mark media instances as skipped, so running them for media instances that are already marked that way is a waste of resources.
2024-12-21 16:19:26 -05:00
Richard Hyde 384d8a530d Merge branch 'handle_member_only_videos' of github.com:RichardHyde/tubesync into handle_member_only_videos 2024-12-21 14:20:23 +00:00
Richard Hyde 8f0e6c381f Removed filter ignore case change for pull request 2024-12-21 14:16:16 +00:00
Richard Hyde 9e04c66aac Merge branch 'meeb:main' into handle_member_only_videos 2024-12-21 14:11:28 +00:00
tcely cf951a820a response is a dict just now
I don't know what I was thinking.
Add some type checking while I am at it.
2024-12-21 07:53:23 -05:00
tcely 54f2663f82 json.loads() expects a string 2024-12-21 06:50:24 -05:00
tcely 16e86ba79a Accept limited metadata for subscriber_only videos 2024-12-21 05:55:48 -05:00
tcely 60a0600cde Use Path in file_is_editable 2024-12-21 01:07:57 -05:00
tcely 394f937fcb Handle raise_no_formats exception
Catching this and checking the message may be the best way to skip members only videos.
2024-12-20 10:07:24 -05:00
tcely 81bfe68034 Switch to color option
Avoids a warning:
`Overwriting params from "color" with "no_color"`
2024-12-20 08:23:35 -05:00
tcely 477753b88d Remove forcejson option
As far as I can tell, this option only caused a lot of JSON output to be logged.
2024-12-20 08:18:40 -05:00
tcely e204dea3e2 Use tempfile for write_text_file
This is more atomic and allows for checking `filepath`
before replacing the original file.
2024-12-19 20:32:52 -05:00
Richard Hyde 919d933d4d mark the video as skipped if the sync.tasks.download_media_metadata task fails 2024-12-19 18:44:35 +00:00
Richard Hyde ca61df2e0b don't add the sync.tasks.download_media_metadata task if the video is skipped or there's already a task running 2024-12-19 18:42:14 +00:00
Richard Hyde 435885ff61 added sync.tasks.download_media_metadata to the task map 2024-12-19 18:39:19 +00:00
Richard Hyde 6ae2676b8f Ignore case when checking the filter 2024-12-19 18:18:33 +00:00
meeb 52865cb5b4 Merge pull request #585 from tcely/patch-1
Remove unused timedelta import
2024-12-18 13:33:15 +11:00
tcely d85fb92b2e Remove unused timedelta import 2024-12-17 15:29:34 -05:00
tcely 730275746d Use django.db.connection as suggested 2024-12-12 15:19:54 -05:00
tcely 3e5711f0f2 Report db.sqlite3 size on dashboard 2024-12-11 08:19:34 -05:00
meeb 679f77b6b4 Merge pull request #579 from tcely/patch-4
Simplify directory_path
2024-12-12 00:07:41 +11:00
meeb 0fc3789cdc Merge pull request #578 from tcely/patch-1
Remove audio / video directory modification
2024-12-11 23:52:02 +11:00
tcely de4a15efed Remove audio / video directory modification 2024-12-11 07:48:39 -05:00
meeb fcb9803da6 Merge branch 'main' of github.com:meeb/tubesync 2024-12-11 23:44:39 +11:00
meeb 475a26d9dd migration caused by #574 2024-12-11 23:44:28 +11:00
meeb 356f4f1201 Merge pull request #577 from tcely/patch-1
Adjust days_to_keep logic
2024-12-11 23:34:16 +11:00
meeb 6c12244a25 whoops 2024-12-11 23:17:03 +11:00
meeb 2c12bf5797 tidy up settings and readme 2024-12-11 23:04:14 +11:00
tcely a4794ec3b1 Enable filter_source_cutoff with new logic 2024-12-11 06:59:32 -05:00
meeb 5f28b8be66 tweaks related to #572 2024-12-11 22:56:21 +11:00
meeb a8997400b2 Merge pull request #572 from jameswlane/main
Add Support for TUBESYNC_DIRECTORY_PREFIX Environment Variable
2024-12-11 22:45:42 +11:00
tcely bb73cc6c97 Add days_to_keep_date 2024-12-11 06:43:26 -05:00
meeb a8b12338af Merge pull request #576 from tcely/patch-1
Disable checking against days to keep
2024-12-11 22:16:32 +11:00
tcely d9c56db627 Disable checking against days to keep
This isn't the logic we should be using.
Just stop using it until the function is comparing the proper dates.
2024-12-11 05:35:09 -05:00
James W Lane ff8d00f5bd updating code per comments 2024-12-10 20:04:42 -06:00
meeb 1981301ed6 Merge pull request #566 from tcely/patch-1
Sort video formats by height and bitrate
2024-12-11 01:03:24 +11:00
meeb bd72513d69 bump s6 to v3.2.0.2 2024-12-10 22:36:45 +11:00
meeb 26cb02be07 bump yt-dlp and ffmpeg, resolves #575 2024-12-10 22:30:09 +11:00
tcely ed44838aa1 Merge branch 'main' into patch-1 2024-12-10 03:11:26 -05:00
meeb 7974819dfa Merge pull request #571 from tcely/patch-3
Handle STR0NNN in a generic way
2024-12-10 18:54:28 +11:00
meeb 6b7197c980 Merge pull request #574 from tcely/patch-2
Simplify regex for sub_langs
2024-12-10 18:44:51 +11:00
tcely 63d0f4f15a Simplify regex for sub_langs 2024-12-10 02:02:30 -05:00
meeb 44b1d21854 Merge pull request #573 from tcely/patch-5
Accept '-' in sub_langs
2024-12-10 17:45:24 +11:00
meeb e230b7ce36 Merge pull request #569 from tcely/patch-2
Adjust to correct 60 fps case
2024-12-10 17:42:43 +11:00