Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d9566c2fcc | ||
|
|
dfd29e9e0b | ||
|
|
fc61a00beb | ||
|
|
a05ae0b9f4 | ||
| 185d6efc5a |
@@ -41,7 +41,7 @@ Refactoring and JSDoc.
|
|||||||
|
|
||||||
08/06/22: ARM builds.
|
08/06/22: ARM builds.
|
||||||
|
|
||||||
28/02/22: Reworked resume download feature. Now it's pratically instantaneous. It no longer stops and restarts each process, references to each process are saved in memory.
|
28/06/22: Reworked resume download feature. Now it's pratically instantaneous. It no longer stops and restarts each process, references to each process are saved in memory.
|
||||||
|
|
||||||
12/01/23: Switched from TypeScript to Golang on the backend. It was a great effort but it was worth it.
|
12/01/23: Switched from TypeScript to Golang on the backend. It was a great effort but it was worth it.
|
||||||
```
|
```
|
||||||
@@ -86,18 +86,18 @@ Future releases will have:
|
|||||||
```sh
|
```sh
|
||||||
# recomended for ARM and x86 devices
|
# recomended for ARM and x86 devices
|
||||||
docker pull ghcr.io/marcopeocchi/yt-dlp-web-ui:latest
|
docker pull ghcr.io/marcopeocchi/yt-dlp-web-ui:latest
|
||||||
docker run -d -p 3022:3022 -v <your dir>:/usr/src/yt-dlp-webui/downloads ghcr.io/marcopeocchi/yt-dlp-web-ui:latest
|
docker run -d -p 3033:3033 -v <your dir>:/usr/src/yt-dlp-webui/downloads ghcr.io/marcopeocchi/yt-dlp-web-ui:latest
|
||||||
|
|
||||||
# or even
|
# or even
|
||||||
docker pull ghcr.io/marcopeocchi/yt-dlp-web-ui:latest
|
docker pull ghcr.io/marcopeocchi/yt-dlp-web-ui:latest
|
||||||
docker create --name yt-dlp-webui -p 8082:3022 -v <your dir>:/usr/src/yt-dlp-webui/downloads ghcr.io/marcopeocchi/yt-dlp-web-ui:latest
|
docker create --name yt-dlp-webui -p 8082:3033 -v <your dir>:/usr/src/yt-dlp-webui/downloads ghcr.io/marcopeocchi/yt-dlp-web-ui:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
Or with docker but building the container manually.
|
Or with docker but building the container manually.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker build -t yt-dlp-webui .
|
docker build -t yt-dlp-webui .
|
||||||
docker run -d -p 3022:3022 -v <your dir>:/usr/src/yt-dlp-webui/downloads yt-dlp-webui
|
docker run -d -p 3033:3033 -v <your dir>:/usr/src/yt-dlp-webui/downloads yt-dlp-webui
|
||||||
```
|
```
|
||||||
|
|
||||||
## [Prebuilt binaries](https://github.com/marcopeocchi/yt-dlp-web-ui/releases) installation
|
## [Prebuilt binaries](https://github.com/marcopeocchi/yt-dlp-web-ui/releases) installation
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
echo "Downloading latest yt-dlp build..."
|
|
||||||
|
|
||||||
rm -f yt-dlp
|
|
||||||
|
|
||||||
RELEASE=$(curl --silent "https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
|
|
||||||
|
|
||||||
wget "https://github.com/yt-dlp/yt-dlp/releases/download/$RELEASE/yt-dlp"
|
|
||||||
|
|
||||||
chmod +x yt-dlp
|
|
||||||
|
|
||||||
echo "Done!"
|
|
||||||
@@ -70,6 +70,7 @@ export default function Home({ socket }: Props) {
|
|||||||
socket.onopen = () => {
|
socket.onopen = () => {
|
||||||
dispatch(connected())
|
dispatch(connected())
|
||||||
setCustomArgs(localStorage.getItem('last-input-args') ?? '')
|
setCustomArgs(localStorage.getItem('last-input-args') ?? '')
|
||||||
|
setFilenameOverride(localStorage.getItem('last-filename-override') ?? '')
|
||||||
}
|
}
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
@@ -136,7 +137,6 @@ export default function Home({ socket }: Props) {
|
|||||||
|
|
||||||
setUrl('')
|
setUrl('')
|
||||||
setWorkingUrl('')
|
setWorkingUrl('')
|
||||||
setFilenameOverride('')
|
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
resetInput()
|
resetInput()
|
||||||
@@ -179,6 +179,7 @@ export default function Home({ socket }: Props) {
|
|||||||
*/
|
*/
|
||||||
const handleFilenameOverrideChange = (e: React.ChangeEvent<HTMLInputElement>) => {
|
const handleFilenameOverrideChange = (e: React.ChangeEvent<HTMLInputElement>) => {
|
||||||
setFilenameOverride(e.target.value)
|
setFilenameOverride(e.target.value)
|
||||||
|
localStorage.setItem('last-filename-override', e.target.value)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -297,6 +298,7 @@ export default function Home({ socket }: Props) {
|
|||||||
fullWidth
|
fullWidth
|
||||||
label={i18n.t('customFilename')}
|
label={i18n.t('customFilename')}
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
|
value={fileNameOverride}
|
||||||
onChange={handleFilenameOverrideChange}
|
onChange={handleFilenameOverrideChange}
|
||||||
disabled={!status.connected || (settings.formatSelection && downloadFormats != null)}
|
disabled={!status.connected || (settings.formatSelection && downloadFormats != null)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -72,15 +72,15 @@ languages:
|
|||||||
toastConnected: '已连接到 '
|
toastConnected: '已连接到 '
|
||||||
toastUpdated: 已更新 yt-dlp 可执行文件!
|
toastUpdated: 已更新 yt-dlp 可执行文件!
|
||||||
formatSelectionEnabler: 启用视频/音频格式选择
|
formatSelectionEnabler: 启用视频/音频格式选择
|
||||||
themeSelect: 'Theme'
|
themeSelect: '主题'
|
||||||
languageSelect: 'Language'
|
languageSelect: '语言'
|
||||||
overridesAnchor: Overrides
|
overridesAnchor: 覆盖
|
||||||
pathOverrideOption: Enable output path overriding
|
pathOverrideOption: 启用输出路径覆盖
|
||||||
filenameOverrideOption: Enable output file name overriding
|
filenameOverrideOption: 启用输出文件名覆盖
|
||||||
customFilename: Custom filemame (leave blank to use default)
|
customFilename: 自定义文件名(留空使用默认值)
|
||||||
customPath: Custom path
|
customPath: 自定义路径
|
||||||
customArgs: Enable custom yt-dlp args (great power = great responsabilities)
|
customArgs: 启用自定义 yt-dlp 参数(能力越大 = 责任越大)
|
||||||
customArgsInput: Custom yt-dlp arguments
|
customArgsInput: 自定义 yt-dlp 参数
|
||||||
spanish:
|
spanish:
|
||||||
urlInput: YouTube or other supported service video url
|
urlInput: YouTube or other supported service video url
|
||||||
statusTitle: Status
|
statusTitle: Status
|
||||||
@@ -188,4 +188,4 @@ languages:
|
|||||||
customFilename: Custom filemame (leave blank to use default)
|
customFilename: Custom filemame (leave blank to use default)
|
||||||
customPath: Custom path
|
customPath: Custom path
|
||||||
customArgs: Enable custom yt-dlp args (great power = great responsabilities)
|
customArgs: Enable custom yt-dlp args (great power = great responsabilities)
|
||||||
customArgsInput: Custom yt-dlp arguments
|
customArgsInput: Custom yt-dlp arguments
|
||||||
|
|||||||
Reference in New Issue
Block a user