Commit graph

734 commits

Author SHA1 Message Date
arabcoders
a58921dba5 Showing Premiering right now instead on not live 2025-07-21 16:07:23 +03:00
arabcoders
e07751c41f Minor messaging changes 2025-07-20 17:51:05 +03:00
arabcoders
472b8cb468 Fixes #344 2025-07-20 16:53:56 +03:00
arabcoders
94193b808f removed useless log statement. 2025-07-19 20:49:50 +03:00
arabcoders
a7e8d242c9 Completed the events system upgrade and expanded the notifications events with support for apprise. 2025-07-19 19:45:07 +03:00
arabcoders
0f7f22bdbf removed event type ERROR and migrated it's uses to LOG_ERROR 2025-07-18 21:59:43 +03:00
arabcoders
138a497703 only offload to bg worker when needed. 2025-07-18 21:14:42 +03:00
arabcoders
09c5d7794d Cleaning up the event dispatcher system. 2025-07-18 21:06:09 +03:00
arabcoders
caf60333ea minor improvements to the bg worker 2025-07-18 17:24:19 +03:00
arabcoders
395d01fe4a Remove task ID from completion notification message 2025-07-18 00:32:30 +03:00
arabcoders
112da01105 Major notification update to add initial support for apprise URLs. 2025-07-18 00:10:14 +03:00
arabcoders
47b5967c58 Add the ability to disable temp file handling 2025-07-14 23:00:41 +03:00
arabcoders
9d24fc01b4 Make it possible to cancel download and retain the temp data, ref #332 2025-07-11 18:18:45 +03:00
arabcoders
9ff9735a2f Added the ability to add item in paused state 2025-07-08 22:13:45 +03:00
arabcoders
1239643f97 minor update to store fields 2025-07-08 17:58:56 +03:00
arabcoders
37dab36fc9 support running in pywebview in windows. 2025-07-07 18:37:11 +03:00
arabcoders
860fb8181e support running in linux qt webview 2025-07-06 17:34:10 +03:00
arabcoders
ef2094f140 finalize changes for native apps. 2025-07-06 00:08:53 +03:00
arabcoders
e36552e336 wip 2025-07-05 21:03:48 +03:00
arabcoders
24de1fc6d5 more changes for native builds 2025-07-05 19:06:24 +03:00
arabcoders
eb440dff36 minor fixes for running on windows. 2025-07-05 18:32:14 +03:00
arabcoders
a448fc43ae cast file to string for mimetype 2025-07-05 18:15:37 +03:00
arabcoders
a5812a7d61 Download selected as archive when downloading multiple files. Implements #321, Update #310 2025-07-04 19:18:40 +03:00
arabcoders
b70cd473e7 error message update 2025-07-01 18:07:31 +03:00
arabcoders
31aa15efba Added file browser actions 2025-07-01 18:06:45 +03:00
arabcoders
d0ae46ba6d sometimes yt-dlp info extract doesn't return formats. 2025-06-28 21:37:33 +03:00
arabcoders
ffefc3d9af renamed presets and added optimized preset for mobile devices. 2025-06-28 20:15:29 +03:00
arabcoders
4f7da0b125 support preset in yt-dlp/url/info endpoint. 2025-06-28 19:12:29 +03:00
arabcoders
ebb7299053 Implements ytdlp filter logic to our own playlist processing. 2025-06-27 20:12:32 +03:00
arabcoders
25b7aad606 Fix running in subpath again. 2025-06-27 16:31:11 +03:00
arabcoders
da8ecd2722 Added missing playlist_ keys 2025-06-24 22:07:33 +03:00
arabcoders
ccb5b3767f Fix playlist_autonumber 2025-06-24 22:02:59 +03:00
arabcoders
9dd71302f3 implements real throttle for playlist processor. 2025-06-24 21:59:58 +03:00
arabcoders
6ba37faf49 refactor: reorganize imports and add whitespace 2025-06-24 17:59:28 +03:00
arabcoders
44b395aed9 use proper names for all create_tasks 2025-06-24 17:58:48 +03:00
arabcoders
a584ffcfd6 prevent the Download queue from back pressuring the event loop 2025-06-24 17:56:12 +03:00
arabcoders
388ed0bf9d Handle Download queue task exceptions 2025-06-24 17:38:11 +03:00
arabcoders
de304005da make it more clear when item has already been downloaded. 2025-06-24 17:26:03 +03:00
arabcoders
7e29e7b48c Handle tasks exception 2025-06-24 16:26:56 +03:00
arabcoders
a9cb816050 Fix login cookie not being set correctly. Closes #310 2025-06-24 16:08:55 +03:00
arabcoders
43aef86e7e switch from config.version to config.app_version 2025-06-23 16:26:27 +03:00
arabcoders
8dc17071ce print progress hook data if we are running in debug mode. 2025-06-23 14:00:49 +03:00
arabcoders
c367b7a5d3 strip leading/ending whitespace from task data. 2025-06-23 13:37:41 +03:00
arabcoders
fdec2356f9 Fix tasks not dispatching 2025-06-23 12:56:00 +03:00
arabcoders
3e00ebd067 fix big in tailing log 2025-06-23 12:55:49 +03:00
arabcoders
8c82d1b99c create new loop in main thread 2025-06-23 01:13:17 +03:00
arabcoders
74699680ea minor logs update 2025-06-23 01:07:50 +03:00
arabcoders
f6e3c94432 minor changes to the event bus dispatcher 2025-06-23 01:00:36 +03:00
arabcoders
b37d614e27 Migrate configStore to ts 2025-06-22 21:49:07 +03:00
arabcoders
bd695e7067 Remove the redundant usage of AsyncPool and replace it with asyncio semaphore 2025-06-22 19:24:42 +03:00
arabcoders
a81ee127e9 Improved playlist handling 2025-06-22 18:32:56 +03:00
arabcoders
d0630f7415 Change re-queue text to retry 2025-06-22 18:03:12 +03:00
arabcoders
291c46592f improve task logging 2025-06-20 22:16:38 +03:00
arabcoders
7dca15a5aa clean up item object 2025-06-20 20:36:10 +03:00
arabcoders
875d48870b add api/item/{id} endpoint 2025-06-20 20:35:46 +03:00
arabcoders
c4b8bf51d5 Fix sio disconnect event 2025-06-19 23:07:29 +03:00
arabcoders
47484c2d35 make datastore.get key optional. 2025-06-19 20:40:51 +03:00
arabcoders
c3b2e257c9 For youtube handler, if item_error events received, remove the item from queued ids. 2025-06-19 19:03:40 +03:00
arabcoders
44226c9a04 when item download fails, trigger item_error event 2025-06-19 19:02:44 +03:00
arabcoders
f50708852a As we no longer need to update each time yt-dlp updates, we going to use simver 2025-06-18 22:08:11 +03:00
arabcoders
8a3673bc07 added playlist items concurrency support. 2025-06-18 19:58:58 +03:00
arabcoders
872d85c458 add log entry when playlist processing is completed. 2025-06-18 18:36:55 +03:00
arabcoders
690ecf834f reduce youtube task handler logging 2025-06-18 18:26:10 +03:00
arabcoders
5065d4ee62 fixed segments_stream redirection 2025-06-18 17:46:02 +03:00
arabcoders
cf647cb8bf Fix missing parameter 2025-06-18 17:25:27 +03:00
arabcoders
f6c44245f6 make the task handler timer configurable 2025-06-18 17:23:42 +03:00
arabcoders
888ab30bfc Allow task handler to work even if no timer is set. 2025-06-18 17:03:30 +03:00
arabcoders
0345da6468 handle ping endpoint logging better 2025-06-17 20:00:03 +03:00
arabcoders
8694e82965 minor design update 2025-06-17 17:24:52 +03:00
arabcoders
249bb43c15 RSS feed support for youtube channel/playlist. 2025-06-16 20:03:04 +03:00
arabcoders
4ee0a9962b Add new service for dependency injection. 2025-06-16 19:45:59 +03:00
arabcoders
ba650fe2bc minor changes 2025-06-16 19:45:02 +03:00
arabcoders
3708734428 minor status name changes 2025-06-16 15:50:24 +03:00
arabcoders
ffcae45d9b the ability to mark notification as low priority to bypass the toast 2025-06-15 19:35:57 +03:00
arabcoders
784671cb24 Fix premiere re-queue. 2025-06-15 18:45:18 +03:00
arabcoders
367d4a1aeb Fixed bug in auth handler. 2025-06-15 16:37:31 +03:00
arabcoders
4367fb0937 Add option to remove item from archive, and minor ui updates. 2025-06-14 21:29:25 +03:00
arabcoders
1c8de32e72 tag premiere video correctly. 2025-06-14 01:07:01 +03:00
arabcoders
bb41eadde7 add the ability to prevent downloading youtube premiere initial stream. 2025-06-14 00:59:57 +03:00
arabcoders
a478e8e58d minor design update 2025-06-13 21:22:55 +03:00
arabcoders
5212dfeeaa Refactor HttpSocket to be more manageable and more modular. 2025-06-13 01:02:31 +03:00
arabcoders
c1f8fd5f58 rename api namespace 2025-06-13 00:45:46 +03:00
arabcoders
400cf7bec3 completely refactored HttpAPI into more manageable routes. 2025-06-12 00:57:37 +03:00
arabcoders
698791b7fc minor design update for index page. 2025-06-10 13:58:18 +03:00
arabcoders
294ec31e94 completed path migration 2025-06-10 12:29:21 +03:00
arabcoders
e42af75137 load preset cookies in all cases. 2025-06-10 12:27:12 +03:00
arabcoders
6c8fd05886 WiP: More migration to Path 2025-06-10 01:08:44 +03:00
arabcoders
93ff749dee We no longer auto load cookies.txt from config path. it must be set via the ytdlp.cli or preset. 2025-06-09 23:19:52 +03:00
arabcoders
b1bc399a0c WiP: more changes to classes to support Path 2025-06-09 00:47:11 +03:00
arabcoders
6a9beea89e WIP: Migrated DownloadQueue to use Path 2025-06-09 00:14:14 +03:00
arabcoders
1f1fbbac01 WIP: more changes to support webview in the future. 2025-06-08 23:45:00 +03:00
arabcoders
fee8939c80 WIP more changes to support windows 2025-06-08 21:59:44 +03:00
arabcoders
6d774a6d9c switch to uv instead of pipenv, and partially fix the code to work on windows. 2025-06-08 20:45:12 +03:00
arabcoders
e466857046 WIP 2025-06-08 00:29:12 +03:00
arabcoders
2676ed099d support pywebview 2025-06-07 23:40:59 +03:00
arabcoders
700fe41c15 plans for native app 2025-06-07 17:51:00 +03:00
arabcoders
9419e15a4f minor changes to changelog page 2025-06-06 01:33:29 +03:00
arabcoders
0f0dd51a41 Add support for running YTPTube from sub-directory. Fix #295 2025-06-05 21:04:00 +03:00
arabcoders
5543c68e61 Update README for clarity and improve installation instructions for podman and unraid. 2025-06-04 22:08:52 +03:00
arabcoders
4ad9ee533b Refactor terminology from "CLI arguments" to "command options for yt-dlp" across multiple files for consistency and clarity. 2025-06-04 21:54:53 +03:00
arabcoders
46b57e06e7 Add list view for tasks. 2025-06-04 00:35:36 +03:00
arabcoders
f57f1d3916 Fix symlinks in file browser. Fixes #288 2025-06-04 00:33:45 +03:00
arabcoders
38bf6af1fc Improved the testing logic for conditions filter. 2025-06-03 22:15:06 +03:00
arabcoders
55b2e3e7f2 Add test button for conditions 2025-06-03 20:05:13 +03:00
arabcoders
bdf50d0ed8 Make it possible to create tasks without timer. 2025-06-03 19:11:55 +03:00
arabcoders
5af4655429 Fix not being able to add --sponsorblock-mark 2025-06-03 16:40:51 +03:00
arabcoders
d6aa711667 Refactor streaming logic to be more efficient 2025-06-01 18:22:19 +03:00
arabcoders
c636ea5ea8 Update API documentation 2025-05-28 17:51:16 +03:00
arabcoders
ba152fcb4f packages update. 2025-05-27 21:59:16 +03:00
arabcoders
647acc488d Fix problem with processing playlist 2025-05-23 18:20:35 +03:00
arabcoders
413707950e Remove global cookie checking 2025-05-23 00:24:11 +03:00
arabcoders
198e80ad81 Minor changes to preset to include descriptions. 2025-05-20 19:02:44 +03:00
arabcoders
4ba5e9bd24 turn YTP_YTDLP_AUTO_UPDATE on by default 2025-05-16 21:47:39 +03:00
arabcoders
bba03702a1 Fix healthcheck when user:pass are set. 2025-05-13 16:22:19 +03:00
arabcoders
2828737562 skip auth for OPTIONS request 2025-05-12 17:15:21 +03:00
arabcoders
9aed6d1837 Fix CORS issue with extensions 2025-05-12 17:02:08 +03:00
arabcoders
802ec99cf8 Make check cookie more user customizable. 2025-05-11 17:40:35 +03:00
arabcoders
45f4382762 minor fixes 2025-05-10 19:38:36 +03:00
arabcoders
5a76f1d68a Fold preset --format into the cli args 2025-05-10 17:54:04 +03:00
arabcoders
815bd3c0cf improved menubar 2025-05-07 19:56:28 +03:00
arabcoders
b5a3ed1ab4 Added info dict condition checker 2025-05-07 17:58:33 +03:00
arabcoders
999dbf35c0 it works! 2025-05-02 21:12:00 +03:00
arabcoders
99a2f60ad7 another attempt at fixing mpd streams 2025-05-02 19:49:13 +03:00
arabcoders
1754841df0 Another attempt at fixing live_from_start 2025-05-02 17:43:05 +03:00
arabcoders
f1a04acaaf Fixes to live_from_start 2025-05-02 13:18:14 +03:00
arabcoders
cc65b4b3ae Communicate more error logs to user when yt-dlp throws them. 2025-05-01 18:28:12 +03:00
arabcoders
fb70f0b2ce attempt at fixing yt-dlp youtube live_from_start for premiere 2025-05-01 17:08:28 +03:00
arabcoders
7292d75f05 Made the built-in yt-dlp upgrader actually work. 2025-05-01 17:08:08 +03:00
arabcoders
d89590434b Switched newDownload form to use HttpAPI for easier unlocking of download button. 2025-04-28 18:40:23 +03:00
arabcoders
d4ca763adb reverted some changes to logging 2025-04-28 18:15:11 +03:00
arabcoders
2d86aaefac attempt at fixing duplicate logging 2025-04-27 19:44:44 +03:00
arabcoders
ae9b30d030 removed imageipsum as background source. 2025-04-26 18:51:33 +03:00
arabcoders
7a01a84063 Add missing None check 2025-04-26 18:51:07 +03:00
arabcoders
ca10ce281b Import ag_utils 2025-04-26 17:56:01 +03:00
arabcoders
0f69ec047c fixes 2025-04-26 17:22:59 +03:00
arabcoders
68a0d6b571 Added more protection to workers pool being stuck in preparing state. 2025-04-26 17:08:13 +03:00
arabcoders
4f8194417d ensure info_dict contains formats before passing to yt-dlp 2025-04-24 15:57:10 +03:00
arabcoders
e59ed7c200 fix timezone issue in monitor live streams 2025-04-24 15:44:51 +03:00
arabcoders
eebfb2abcf Fix re-adding the item after live_in kicks in 2025-04-22 19:06:43 +03:00
arabcoders
f0c04e121b retain live_in value cross re-queue, as sometimes the queue happens and the stream not yet live. 2025-04-22 18:13:49 +03:00
arabcoders
d3c651752a typo update 2025-04-22 17:38:32 +03:00
arabcoders
4f0e5d5549 minor fixes 2025-04-22 17:38:05 +03:00
arabcoders
0b79b6f6aa Automatically re-queue upcoming live streams in history. 2025-04-22 16:52:52 +03:00
arabcoders
62703f3cb7 add event warning about adding url saved to archive 2025-04-21 18:40:00 +03:00
arabcoders
9ba7b34803 Add more events 2025-04-21 18:21:29 +03:00
arabcoders
5172742e96 Only display availability when it's set 2025-04-21 17:40:36 +03:00
arabcoders
f6c7d8233b restore message about live stream not being live yet. 2025-04-20 20:07:18 +03:00
arabcoders
bcd6df3e84 Display better desorption when there are no formats available. 2025-04-20 16:48:50 +03:00
arabcoders
f8b18ded00 wrap cancel in try catch to avoid possible problems. 2025-04-19 17:49:38 +03:00
arabcoders
7755f3c4e2 added some protection aganist staled download blocking the download queue. 2025-04-19 17:44:09 +03:00
arabcoders
fa3d9502d0 Minor refactor for is_downloaded function and updated dependencies 2025-04-12 18:44:10 +03:00
arabcoders
bcdc4ee06e Increase log retrieval limit and enhance log pagination metadata 2025-04-10 02:32:38 +03:00
arabcoders
17dd007ff0 Show that a external dl is being used if we are stuck in preparing stage as yt-dlp doesn't trigger progress_hook 2025-04-10 01:32:32 +03:00
arabcoders
4a21592e12 raise an error if item was using invalid preset. 2025-04-10 00:59:52 +03:00
arabcoders
ee2fd3f398 Only show notification target, id or url incase of error loading the target. 2025-04-09 19:41:54 +03:00
arabcoders
c2fa066669 set default data_key for notification targets if not provided 2025-04-09 19:36:49 +03:00
arabcoders
88163cad42 make it possible to change notification data field key name 2025-04-09 17:35:11 +03:00
arabcoders
33397db6ae go with blacklist approach for blocking yt-dlp options. 2025-04-06 16:14:31 +03:00
arabcoders
ce1d4991d7 minor fixes to how we handle preset cookies 2025-04-06 02:17:00 +03:00
arabcoders
4966461cb4 minor log messages update 2025-04-06 01:50:18 +03:00
arabcoders
0881fce2ab allow --cookies 2025-04-06 01:14:44 +03:00
arabcoders
d6ab18ec22 migrate the entire app to use cli options for ytdlp and make it behave as close to cli options parsing as possible. 2025-04-06 01:03:17 +03:00
arabcoders
260901cfa9 minor changes to newDownload form 2025-04-04 22:53:21 +03:00
arabcoders
93e830f029 in some specific cases, users were unable to delete items from history 2025-04-04 22:09:58 +03:00
arabcoders
48e388b0fe Add logs viewing and enable file logging by default 2025-04-04 20:18:03 +03:00
arabcoders
d03e04db19 minor changes to webui display 2025-04-04 02:07:56 +03:00
arabcoders
04e78f4c10 minor fixes 2025-04-03 23:16:47 +03:00
arabcoders
245a3e7f98 added new env variable to auto upgrade yt-dlp on container startup 2025-04-03 19:37:44 +03:00
arabcoders
a3ef44a573 Fix re-queuing existing item. 2025-04-02 01:27:10 +03:00
arabcoders
eac74d0751 trim __repr__ double space 2025-04-01 23:44:14 +03:00
arabcoders
6cbb8eea50 Fix argument name in YTDLP options and enhance video cleanup on unmount 2025-04-01 23:27:14 +03:00
arabcoders
3219408a57 Removed last reference for ytdlp JSON config in DownloadQueue 2025-04-01 23:19:17 +03:00
arabcoders
3fe0a90a7a Only load notification targets when load is called 2025-04-01 23:13:10 +03:00
arabcoders
f7101f6a38 simplified the codebase and removed all backwards compat flags and checks. 2025-04-01 22:56:28 +03:00
arabcoders
9b4d86041a Make task run time in log more human readable. 2025-04-01 22:47:04 +03:00
arabcoders
4730583510 update newDownload template 2025-04-01 20:34:14 +03:00
arabcoders
fa9c084397 remove presets v1.0 2025-04-01 20:05:35 +03:00
arabcoders
271fd8afdf when failing to send notification do not span console with exception messages. 2025-04-01 00:29:21 +03:00
arabcoders
b09bf14acd complete the migration to yt-dlp cli instead of JSON config 2025-03-31 22:47:54 +03:00
arabcoders
77de30609b updated the conversion process of cli to config 2025-03-31 20:46:55 +03:00
arabcoders
23b1b409f4 deprecate JSON yt-dlp config & Post-Processors in presets and recommand cli options. 2025-03-31 02:13:33 +03:00
arabcoders
1bda1893e4 Convert json config in tasks to use cli arguments. 2025-03-31 00:12:35 +03:00
arabcoders
8f313d7f58 add support for --match-filter 2025-03-30 01:43:31 +03:00
arabcoders
43f4e85d7e Add case-insensitive regex for file type detection in Utils.py 2025-03-28 23:23:43 +03:00
arabcoders
3b9c9acdeb extends the improvements to download page. 2025-03-28 22:44:05 +03:00
arabcoders
6b6cfc9d4c small improvements to file browser. 2025-03-28 22:17:38 +03:00
arabcoders
729f8a1f6f Nested browser frontend page was not loading correctly. 2025-03-28 02:22:38 +03:00
arabcoders
bdaf07dff3 added browser to static paths 2025-03-28 02:07:55 +03:00
arabcoders
21e5dea5bf Added simple file browser 2025-03-28 01:58:22 +03:00
arabcoders
fa73e817a6 Make it possible to override the pictures backends urls. 2025-03-27 01:13:52 +03:00
arabcoders
aa3538917f Maintain playlist keys. Fixes #227 2025-03-26 00:54:46 +03:00
arabcoders
2b666517a5 add sanitize_info for get url info 2025-03-25 20:42:09 +03:00
arabcoders
c81f50a4ae minor change to add random background to the WebUI. 2025-03-25 01:38:59 +03:00
ArabCoders
37ef9314cb fix notification.emit return to return coro incase we don't have any targets. 2025-03-23 00:46:24 +03:00
ArabCoders
c46aa1cfe4 minor fix to EventBus, and trim all preset form fields. 2025-03-23 00:22:33 +03:00
ArabCoders
4ed7c26bb4 migrated all our emitter usage to EventBus 2025-03-22 02:05:52 +03:00
ArabCoders
07fc86565a updated the app to use EventBus 2025-03-21 23:56:02 +03:00
ArabCoders
a973ce8bcf Finalize EventBus design 2025-03-21 21:54:28 +03:00
ArabCoders
c287c55773 potential fix for #217 2025-03-17 23:35:18 +03:00
ArabCoders
6f71c5ceda added /changelogs to static path 2025-03-17 00:37:09 +03:00
ArabCoders
ca00aff9e3 fix params Impersonate target 2025-03-16 21:24:00 +03:00
ArabCoders
b116d48da6 added converter for date range objects param 2025-03-16 20:12:18 +03:00
ArabCoders
095bca9e88 more fit approch to handle yt-dlp logging messages. 2025-03-15 22:29:05 +03:00
ArabCoders
1b57e41e1b try to differentiate yt-dlp logs for each download. 2025-03-15 20:10:28 +03:00
ArabCoders
d94f004eed if the url is video with playlist, follow redirect and queue all videos in the playlist. 2025-03-15 01:29:58 +03:00
ArabCoders
7849eb8735 make break_on_existing optional and overridable by user. 2025-03-15 01:00:27 +03:00
ArabCoders
8dd7c7de1e Added indicator in the WebUI for when post-processing are running. 2025-03-15 00:06:13 +03:00
ArabCoders
83152f0e00 minor fixes to not export default format 2025-03-14 23:06:09 +03:00
ArabCoders
fc696b6afa standardize the form design, and update packages to latest version. 2025-03-14 22:46:31 +03:00
ArabCoders
ada7b5db97 Update presets to use safe url base64 for exported string. 2025-03-13 21:47:01 +03:00
ArabCoders
15969542ab restore check for format in preset compiling for YTDLPOpts 2025-03-11 21:06:29 +03:00
ArabCoders
608b0128b8 Made it possible to not use format in preset 2025-03-11 20:59:08 +03:00
ArabCoders
1aeb8efa1e updated yt-dlp/url/info to give cookies in valid way. 2025-03-11 02:08:13 +03:00
ArabCoders
c1939144c9 parse yt-dlp header cookie for yt-dlp/url/info 2025-03-11 00:08:24 +03:00
ArabCoders
72bac24f46 minor updates to extract_info 2025-03-10 23:12:08 +03:00
ArabCoders
643688bf97 support sending presets with api/yt-dlp/url/info 2025-03-10 03:56:10 +03:00
ArabCoders
3a8b67ff82 normalize return response for api/history/add 2025-03-09 05:22:16 +03:00
ArabCoders
68228294b0 made api/history/add easier to script 2025-03-09 05:09:26 +03:00
ArabCoders
bb507c62b3 added filter to presets, so we can reduce data usage when creating a iOS shortcut 2025-03-08 20:20:54 +03:00
ArabCoders
65e7d3e6fc reduce log spam 2025-03-08 19:56:55 +03:00
ArabCoders
e4794eda7c Updated the worker pool to be dynamic, and make it so that live stream downloading doesn't count towards the worker pool limit. 2025-03-08 19:53:15 +03:00
ArabCoders
f89e72666b make to possible to specify the preset when adding via /api/history/add 2025-03-07 20:16:19 +03:00
ArabCoders
89684ac494 add the new variable to enable yt-dlp console access to README 2025-03-07 20:13:39 +03:00
ArabCoders
e0e63d61c4 for some reason, people were exposing ytptube directly to internet without any authentication. therefore, we have disabled the console access by default. 2025-03-07 20:11:21 +03:00
ArabCoders
981405a44d make URL options have higher proirity than preset and default options 2025-03-07 18:44:44 +03:00
ArabCoders
414b52de9b removed dead code 2025-03-07 02:20:46 +03:00
ArabCoders
cc21a93cb5 Make presets more powerful 2025-03-07 02:14:10 +03:00
ArabCoders
61fd6d45f6 remove debug statement 2025-03-07 01:14:05 +03:00
ArabCoders
6e52b3c356 for basic auth rely on cookies and not just the Authorization header 2025-03-07 01:01:05 +03:00
ArabCoders
0b04f098de preload all pages. 2025-03-06 02:06:53 +03:00
ArabCoders
49bc28edc0 Make it possible to manage presets via webui 2025-03-04 02:11:17 +03:00
ArabCoders
d88ee15060 separated the scheduler from tasks, to allow us to schedule non add url tasks in the future 2025-03-02 21:49:52 +03:00
ArabCoders
ea98562944 better fallback if file was renamed and retains the same ID 2025-03-01 20:04:28 +03:00
ArabCoders
f0836ddd77 apple like to be snowflake. 2025-02-28 01:21:45 +03:00
ArabCoders
1fa4c523bb intercept file response and add correct mime-type 2025-02-28 00:44:02 +03:00
ArabCoders
689ce421e9 add sentry for webui error reporting 2025-02-27 23:54:49 +03:00
ArabCoders
3a964a6ac3 add mimetype to source list 2025-02-27 19:19:32 +03:00
ArabCoders
63a9a15e67 do not consider 0 byte files. 2025-02-27 18:42:35 +03:00
ArabCoders
b7b72cf21e try to direct play video first and fallback to hls if we encounter error. 2025-02-27 18:31:17 +03:00
ArabCoders
259eae251a initial work to support adding/deleting presets from api 2025-02-27 15:30:52 +03:00
ArabCoders
c5924b02cc support format key in ytdlp.json, using the key will ignore the selected preset. 2025-02-27 14:58:06 +03:00
ArabCoders
96260301be we no longer use json cookies, instead rely on netescape cookies and recommend what yt-dlp recommend as well. 2025-02-27 00:39:18 +03:00
ArabCoders
1934815a41 show extract_info logs via notification 2025-02-27 00:38:39 +03:00
ArabCoders
e0058d969f added file logging and automatically load config/cookies.txt if non is given via ytdlp.json file. 2025-02-27 00:37:59 +03:00
ArabCoders
8e97cba43b update dependencies 2025-02-23 19:32:39 +03:00
ArabCoders
5063099002 Added YTP_INSTANCE_TITLE 2025-01-30 16:18:29 +03:00
ArabCoders
45878965f4 fixed linting problems 2025-01-28 23:05:59 +03:00
ArabCoders
fdec16e895 mostly linter fixes. 2025-01-28 19:43:51 +03:00
ArabCoders
2b84aad836 change default umask to 0002 to allow group users to act on files and folders. 2025-01-28 17:18:54 +03:00
ArabCoders
d063cf0f52 use same name cross client and server for variables and config files. 2025-01-28 00:09:46 +03:00
ArabCoders
41ddc14af5 Updated README.md 2025-01-27 22:30:19 +03:00
ArabCoders
6a92cf9ec9 added timeout param for wait_for 2025-01-27 21:23:57 +03:00
ArabCoders
cda863b0bc missed a bug fix 2025-01-27 21:19:09 +03:00
ArabCoders
f62ba22047 move format_item to common class, and update methods to use it 2025-01-27 21:14:01 +03:00
ArabCoders
1187badc2d fixed bug preventing adding items via /api/history endpoint 2025-01-27 21:10:53 +03:00
ArabCoders
902244769a Major code changes. 2025-01-27 19:53:59 +03:00
ArabCoders
dbee7cf2fa standardize more events. 2025-01-25 22:46:33 +03:00
ArabCoders
ddc216ccb6 revamped the notification system 2025-01-25 22:24:13 +03:00
ArabCoders
922d194d7a simplify API calls. 2025-01-25 17:25:58 +03:00
ArabCoders
e5f2a09cc7 Added backward compatibility fix. 2025-01-24 23:25:03 +03:00
ArabCoders
a4827202d8 overhauled the tasks page to support adding/editing/deleting tasks from the WebUI directly instead of relying on tasks.json file. 2025-01-24 23:13:53 +03:00
ArabCoders
cb735cbb97 Added new feature to parse yt-dlp CLI arguments in yt-dlp JSON config box 2025-01-23 17:35:03 +03:00
ArabCoders
2b8e79c1c4 Switch to single Manager instead of one manager per download 2025-01-19 20:01:46 +03:00
ArabCoders
843d5fd726 Fixed type casting for some elements when adding items. 2025-01-19 18:12:11 +03:00
ArabCoders
0d9f0ded88 Another attempt at fixing #173 2025-01-18 20:57:23 +03:00
ArabCoders
35421540d7 another attempt to fix multi-processing #173 2025-01-18 19:09:48 +03:00
ArabCoders
3f2b9feb7d Cancel the status update if exception happens during await update_task 2025-01-18 18:27:30 +03:00
ArabCoders
2fddadf363 Potential fix for #173 2025-01-18 17:47:55 +03:00
ArabCoders
44440aa546 prevent loading keys which sometimes breaks ytptube 2025-01-18 17:47:33 +03:00
ArabCoders
1319c3e1ab ignore /api/ping access log 2025-01-18 17:47:03 +03:00
ArabCoders
fef60f0395 wrap file access into exception handler. 2025-01-17 23:44:27 +03:00
ArabCoders
b1388eff6b Added Basic mode for WebUI & added new env var for selecting default preset. 2025-01-17 02:03:58 +03:00
ArabCoders
cac1c55abf Update datetime when status changed to finish 2025-01-13 18:02:04 +03:00
ArabCoders
c20fdca09b Added way to check for youtube cookies status 2025-01-11 20:57:39 +03:00
ArabCoders
b86f13f2d8 Added new option to view url info 2025-01-11 16:39:24 +03:00
ArabCoders
593c0fc675 Fix and document presets.json 2025-01-10 18:54:07 +03:00
ArabCoders
812e92cf23 updates API endpoints, fix webhooks not firing due to an error. 2025-01-03 19:49:45 +03:00
ArabCoders
7633f8ffe2 fixes 2025-01-03 00:44:02 +03:00
ArabCoders
2a79ac6849 Fix #160 2025-01-03 00:24:21 +03:00
ArabCoders
ee8151ed64 added debug logging for postprocessor_hook 2025-01-02 20:20:15 +03:00
ArabCoders
d9b905fbde when adding playlist, yt-dlp doesn't include thumbnail in the list 2025-01-02 19:51:36 +03:00
ArabCoders
9dd7e3c352 removed no longer used imports 2025-01-02 19:11:56 +03:00
ArabCoders
d8f73a618a Fixed audio only streaming 2025-01-02 19:11:22 +03:00
ArabCoders
62c457df65 embeded optional yt-dlp packages 2025-01-02 18:20:09 +03:00
ArabCoders
531ffc7eb6 added env variable and file to be able to install python packages on start
a better approach for installing packages.
2025-01-02 17:57:49 +03:00
ArabCoders
f4668aab60 Fixed webhook not firing 2025-01-01 23:25:58 +03:00
ArabCoders
9399c515c4 fixe yt-dlp Impersonate Target 2025-01-01 17:09:51 +03:00
ArabCoders
d40237134c minor fixes 2024-12-30 21:58:01 +03:00
ArabCoders
ed02c3ec01 Added the ability to pause download pool 2024-12-30 21:39:24 +03:00
ArabCoders
448a145ed0 Added maxWorkers to title 2024-12-30 10:51:14 +03:00
ArabCoders
1f2db7ad5e Added option to update page title with stats. 2024-12-29 21:17:17 +03:00
ArabCoders
6b930bb388 added more info to media Metadata, and cleaned up itemDTO object. 2024-12-27 19:58:21 +03:00
ArabCoders
6851e1d911 prevent logging ping requests 2024-12-27 19:07:08 +03:00
ArabCoders
7420138ce0 Document env variables and added remove_files env option. 2024-12-25 19:16:15 +03:00
ArabCoders
2d70de2032 updating python code to be little more clean and implements more type checks. 2024-12-20 21:20:51 +03:00
ArabCoders
1b9a4e528b reverted change to regex for player segments 2024-12-19 23:26:26 +03:00
ArabCoders
df86cc0001 updated some type checks 2024-12-19 22:58:33 +03:00
ArabCoders
0b4216c0b0 Prep for dev release 2024-12-18 21:15:15 +03:00
ArabCoders
9f00a8cdc3 fixed naming conflict 2024-12-17 20:11:31 +03:00
ArabCoders
88ecfbb516 added missing static assets 2024-12-17 19:47:12 +03:00
ArabCoders
fcb2eda4ba Fixes for default preset. 2024-12-17 18:43:09 +03:00
ArabCoders
45227be6bf added LFI protection for thumbnails 2024-12-17 17:25:16 +03:00
ArabCoders
c727ab3446 Finalizing migration to nuxt3 2024-12-17 17:07:52 +03:00
ArabCoders
f614dbc217 updates 2024-12-16 22:06:54 +03:00
ArabCoders
70eb27291f fixes for the massive changes we did to the app source code. 2024-12-15 21:34:28 +03:00
ArabCoders
51024c2a9b some minor app changes =) 2024-12-15 21:28:37 +03:00
ArabCoders
f7f5e72aeb limit the sent configuration variables to the frontend. 2024-12-14 20:29:15 +03:00
ArabCoders
4b322a6f5a make docker build uses the next UI 2024-12-14 20:14:58 +03:00
ArabCoders
0239e509de sweeping changes to internals 2024-12-14 19:27:13 +03:00
ArabCoders
cf8f971785 updates 2024-12-14 16:42:31 +03:00
ArabCoders
3ecb3c8690 allow adding format via ytdlp.json 2024-12-12 18:32:23 +03:00
ArabCoders
82f59676c7 support color output in console 2024-12-11 20:50:49 +03:00
ArabCoders
3b7338eb79 fixed small bug in console 2024-12-11 19:49:30 +03:00
ArabCoders
6fb69f7dac Update dependencies & Fixes #137 2024-12-05 23:00:03 +03:00
ArabCoders
a672d273d7 Stringify path for replacement. 2024-11-03 18:23:00 +03:00
ArabCoders
91c067acb3 Bug fixes. 2024-11-03 18:12:54 +03:00
ArabCoders
7a5a06219c Added possible fallback for playlist incase filename got changed. 2024-11-03 17:56:12 +03:00
ArabCoders
0cd36ea4be validating user supplied filename. 2024-11-03 17:23:56 +03:00
ArabCoders
d837fb7d1b check for file existence before attempting to read the contents. 2024-10-31 23:46:08 +03:00
ArabCoders
f76e9b8f77 added archive.manual.log 2024-10-31 23:35:26 +03:00
ArabCoders
6a40d7ec48 fixes 2024-08-07 16:52:26 +03:00
ArabCoders
f014809e9a use pysubs2 instead ffmpeg to convert subtitles. 2024-07-31 21:34:11 +03:00
ArabCoders
5ad3eb2527 Improved player to support sidecar external subtitles 2024-07-31 19:34:14 +03:00
ArabCoders
fe803d66af Fixes #115 2024-07-29 13:31:40 +03:00
ArabCoders
be68cf13e5 Added basic authentication 2024-07-18 15:43:32 +03:00
ArabCoders
736b588b8a Added option to archive failing download from WebUI 2024-07-11 13:38:53 +03:00
ArabCoders
ae14ac145d Updated terminal window 2024-07-09 23:40:44 +03:00
ArabCoders
3447f293bd Fixed parsing custom yt-dlp config. 2024-07-06 19:09:47 +03:00
ArabCoders
2229e76abd Updated dependencies & added data list for download path to ease path selection. 2024-06-16 16:27:52 +03:00
ArabCoders
0f95ea405c Added Console view for yt-dlp command. 2024-05-16 16:12:08 +03:00
ArabCoders
7a519bf16c support jsonc in tasks/webhooks/ytdlp json files. 2024-05-14 12:41:36 +03:00
ArabCoders
da1f35ec4b add caching to the segment responses. 2024-04-20 23:57:37 +03:00
ArabCoders
48ad232393 Made it possible to switch streamer used codecs 2024-04-15 22:06:14 +03:00
ArabCoders
e7af9ba972 multi-downloads are now fully working 2024-04-06 00:45:45 +03:00
ArabCoders
476d369bd1 Fixes 2024-03-31 03:49:57 +03:00
ArabCoders
ae12a75ce9 Cleanup after download finish. 2024-03-29 21:57:05 +03:00
ArabCoders
f0dec94a60 Fixes 2024-03-29 21:05:26 +03:00
ArabCoders
050012a1b2 some fixes to downloader. 2024-03-29 00:56:09 +03:00
ArabCoders
3c84741e8a terminate if process still alive after kill 2024-03-29 00:42:38 +03:00
ArabCoders
39e594c394 upgrade webhooks to support both form and json request. 2024-03-29 00:08:16 +03:00
ArabCoders
5d57ae25ab Fixes 2024-03-28 22:55:24 +03:00
ArabCoders
46e7d28fc8 Cleanup the video player. 2024-03-26 00:16:00 +03:00
ArabCoders
70cff70247 Converted the video player to be async 2024-03-25 23:15:37 +03:00
ArabCoders
f9bb34fce7 Fixes 2024-03-24 20:32:41 +03:00
ArabCoders
a1aa7b02ba wrap notifier in timeout call, and expose pool operations via API 2024-03-23 01:02:53 +03:00
ArabCoders
2493d41271 update the format for the workers output. 2024-03-20 23:27:09 +03:00
ArabCoders
5bba32cd06 Added endpoint to expose worker status 2024-03-20 23:13:05 +03:00
ArabCoders
cccb8efb68 Added an endpoint to update completed item data. 2024-03-19 23:57:46 +03:00
ArabCoders
b56351cd05 Reduce extract_info calls. 2024-03-16 01:22:07 +03:00
ArabCoders
9560d0f7b6 Fixes is_upcoming in frontend 2024-03-15 01:32:33 +03:00