Refactoring

This commit is contained in:
2022-01-26 16:24:09 +01:00
parent 551ff95660
commit 9b0dc4d21b
12 changed files with 5268 additions and 84 deletions

View File

@@ -4,9 +4,14 @@ A not so terrible web ui for yt-dlp.
Created for the only purpose of *consume* videos from my server/nas.
I will eventually make this better as soon as I can. Not in the immediate.
**Background jobs now are retrieved. It's still rudimentary but it leverages**
**on yt-dlp resume feature**
Changelog:
```
26/01/22: Multiple downloads are being implemented. Maybe by next release they will be there.
Refactoring and JSDoc.
04/01/22: Background jobs now are retrieved!! It's still rudimentary but it leverages on yt-dlp resume feature
```
<img src="https://i.ibb.co/7VBK1PY/1.png">
## Now with dark mode
@@ -18,11 +23,11 @@ I will eventually make this better as soon as I can. Not in the immediate.
The avaible settings are currently only:
- Server address
- Switch theme
- Retrieve background jobs
- Extract audio
Future releases will have:
- Multi download
- ~~Exctract audio~~
- Multi download *on its way*
- ~~Exctract audio~~ *done*
- Format selection
## Docker installation
@@ -50,6 +55,11 @@ mkdir downloads
node server.js
```
## Regarding multiple downloads
There's a way to circumvent the single download restriction **BUT IT LEADS TO UNDEFINED BEHAVIOUR**.
Fire up multiple tabs and make a download for each tab. I know that's horrible but it's gonna be fixed by next release.
## Todo list
- ~~retrieve background tasks~~
- better ui/ux