Commit Graph

116 Commits

Author SHA1 Message Date
James Lyne 784dc2f735 Fix memory leak when many videos are queued.
Previously angular was re-rendering the entire queue whenever any downloads changed their state. The websocket provides progress updates at a high frequency, which combined with a long download queue can quickly cause hundreds of thousands of dom nodes to be created. This results in a spike in memory usage which may persist for some time depending on browser behaviour.

Adding a trackBy function resolves the issue by telling angular which row relates to a particular download.
2023-08-14 11:39:36 +01:00
James Lyne 262e296783 Fix retry button issues
The arguments passed to retryDownload by the retry button do not match what the function actually expects. This causes downloads to break if a custom folder is set and also causes some settings like format and custom name prefix to be ignored.
2023-08-13 12:24:19 +01:00
Alex Shnitman 6721ed839d upgraded to angular 15 2023-04-22 17:37:24 +03:00
hellodword 2ff7b0975a enable custom name prefix 2023-04-09 11:27:41 +08:00
georgekav eca44aa950 Add support for opus and wav 2023-03-05 00:34:30 +01:00
georgekav 07be2c054f Add missing m4a checks for audio file 2023-02-20 14:35:55 +01:00
georgekav2 b9dde5f794 Add M4A GUI support 2023-02-20 08:51:28 +01:00
PikuZheng 254e0d36f2
Fixed safari not responding to focus #192 2023-02-12 09:29:17 +08:00
Alex Shnitman 7fd2be48f7 download path fixes 2023-02-10 23:35:09 +02:00
Alex Shnitman 50501f0aad Merge remote-tracking branch 'origin/master' into download_to_device 2023-02-10 23:32:13 +02:00
Alex Shnitman ea7a7b0711 Fix boolean env variables (closes #213) 2023-02-04 11:09:36 +02:00
Chris Kanich 18466312ff unique downloads of identically named videos 2023-02-03 10:33:51 -06:00
Alex Shnitman 68d4c89be0 Merge branch 'master' of https://github.com/alexta69/metube into custom-download-folder 2022-09-30 09:09:41 +03:00
James Woglom 2517933eaf use bind 2022-09-19 16:56:43 -04:00
James Woglom a36323677c attempt to fix issue where folder is sent by frontend as {folder: "foo"} instead of string 2022-09-19 16:15:24 -04:00
James Woglom a07e1ed06c bugfix: resolve full base directory before startswith check 2022-09-19 15:40:22 -04:00
James Woglom 202813b9ed CREATE_DIRS -> CREATE_CUSTOM_DIRS 2022-09-19 15:00:26 -04:00
Alex 06349dcaf0
Merge pull request #176 from PikuZheng/patch-2
add autocomplete="off" spellcheck="false" (closes #175)
2022-09-01 15:27:00 +03:00
Alex 208d6f25ba
Merge pull request #148 from 1RandomDev/download-thumbnail
Added option for thumbnail only
2022-09-01 15:21:12 +03:00
CavazzaTommaso 2a227bc760 Added download button to the ui
For personal needs, I've added the download button to the completed downloads
2022-09-01 11:12:55 +02:00
James Woglom e911105c19 fix button rounding when CUSTOM_DIRS=false 2022-08-30 01:29:55 -04:00
James Woglom 63baa1fc25 Link to audio files and those with custom folders properly 2022-08-30 01:22:24 -04:00
James Woglom 52e3307d99 switch between audio and default custom directories on change 2022-08-30 00:58:19 -04:00
James Woglom ba712fc071 Fill in download_dir or audio_download_dir on launch 2022-08-30 00:55:16 -04:00
James Woglom 8abacc2a36 almost functional with selectize 2022-08-29 21:52:54 -04:00
James Woglom 67be71cdeb load selectize 2022-08-29 21:11:25 -04:00
James Woglom f79c8fa754 pass custom_directories from server to client 2022-08-29 20:41:21 -04:00
PikuZheng ebb62e370a
add autocomplete="off" spellcheck="false"
#175
it's also useful on android
2022-08-30 08:40:01 +08:00
James Woglom 4a9f55adda Propagate configuration on load via downloads socket 2022-08-29 20:27:34 -04:00
James Woglom bbfde99aeb Use angular primitives to toggle 2022-08-29 19:02:00 -04:00
Alex Shnitman ad0eab880c angular 13 and bootstrap 5 2022-06-23 23:30:09 +03:00
1RandomDev de322ad5d1 Added option for thumbnail only 2022-06-06 16:26:53 +02:00
Alex Shnitman e345e3b6fa add title with filename to downloads (closes #105) 2022-01-26 22:09:11 +02:00
Alex Shnitman 622ca428e3 encode download links (closes #104) 2022-01-14 09:11:03 +02:00
Erazor2 57bf8a3f3b Updated layout for new Button 2022-01-04 22:16:42 +00:00
Erazor2 d060421c15 Updated layout for new Button 2022-01-04 22:10:23 +00:00
Erazor2 4eb3916546 Fixed retry for all Sites 2022-01-04 22:05:33 +00:00
Erazor2 d11934f3d8 Added URL-Button 2022-01-04 22:04:53 +00:00
Alex Shnitman 498e30c633 changes to the theme toggle button 2021-12-17 19:30:20 +02:00
asuyou 61900a7ba8 Theme button is now material button 2021-12-17 18:35:43 +02:00
asuyou 225d37f88d Made theme toggleable 2021-12-16 21:57:54 +00:00
Steffen Klee fe4993153c Add download link to downloaded file
This adds a simple download link that points to the downloaded file.

Note: This makes all files in the download directory (and its
sub-directory) available to any user.

Closes gh-26
2021-12-13 22:35:19 +01:00
Alex Shnitman ddf258855d fix sass syntax for dark mode 2021-12-11 16:48:40 +02:00
PikuZheng b977252338
add a simple dark theme with OS theme
It will invert the color to make it look dark if your OS selects dark mode. (eg. Windows 10 Settings - Personalization - Colors - App Mode - Dark
#81
2021-12-11 10:49:54 +08:00
asuyou 99c366e5c2 Audio quality sorting now follows mp4 2021-11-19 18:01:02 +00:00
asuyou 2e591122f2 Quality stays the same if it exists on next format 2021-11-19 17:57:43 +00:00
asuyou b661d4db59 Fixed "any" format to act like original 2021-11-13 23:49:30 +00:00
asuyou 26798a4930 Any now shows all avaliable formats 2021-11-04 22:36:53 +00:00
asuyou 85140fd4ca Automatically switches to best on format change 2021-11-01 20:37:53 +00:00
asuyou bae29a4bad Flipped back around sides of quality and format 2021-10-30 18:17:13 +01:00
asuyou d051814259 Added quality choice based on format 2021-10-28 11:19:17 +01:00
asuyou b3a589f1a9 Added simple MP3 support 2021-10-25 17:15:09 +01:00
Alex Shnitman ee0fcc3993 allow selecting MP4 in the GUI 2021-09-13 20:25:32 +03:00
Rpsl 26ae942786 Remove download from "done" when retry it 2021-07-29 21:09:00 +03:00
Rpsl fffba9065a Added retry button for failed download 2021-07-29 11:12:40 +03:00
Alex Shnitman 52d8d64cb5 add audio-only download (closes #20) 2021-03-04 11:10:39 +02:00
Alex Shnitman cb8f820d73 upgrade dependencies (migrate to Angular 10) 2021-02-02 21:09:28 +02:00
ashnitman 490f679b38 add 1440p quality (closes #11) 2021-01-12 20:12:21 +02:00
Alex 13e690dd63 add quality selection 2019-12-13 22:43:58 +02:00
Alex 3cf7d25f4c improved error handling 2019-12-06 16:30:07 +02:00
Alex 91cee0339a fix broken PREFIX_URL feature 2019-12-06 14:37:08 +02:00
Alex a524f1faf3 add configurable URL prefix 2019-12-03 23:18:14 +02:00
Alex 9a959f9326 add "completed" panel 2019-12-03 22:32:07 +02:00
Alex a0b1939a3d add Dockerfile 2019-11-30 09:40:45 +02:00
Alex 9d6d4a2fb8 add favicon 2019-11-29 20:16:58 +02:00
Alex 511404d23f initial commit: working version 2019-11-29 19:31:34 +02:00