diff --git a/README.md b/README.md index f16e6734..f07ddbf9 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ YTPTube started as a fork of [meTube](https://github.com/alexta69/metube), Since * Tasks Runner. It allow you to queue channels for downloading using simple `json` file. * Webhook sender. It allow you to add webhook endpoints that receive events related to downloads using simple `json` file. * Multi-downloads support. +* Queue multiple URLs separated by comma. * Basic Authentication support. * Support for curl_cffi, see [yt-dlp documentation](https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#impersonation) diff --git a/sc_full.png b/sc_full.png index f3511e68..fc707c89 100644 Binary files a/sc_full.png and b/sc_full.png differ diff --git a/sc_short.png b/sc_short.png index fb30bf6e..6dcd0bd0 100644 Binary files a/sc_short.png and b/sc_short.png differ diff --git a/ui/components/History.vue b/ui/components/History.vue index 996b15bb..41d1c4bf 100644 --- a/ui/components/History.vue +++ b/ui/components/History.vue @@ -84,10 +84,10 @@ {{ item.title }} -
- +
+ class="has-text-primary" v-tooltip="'Download item.'" + v-if="item.filename && item.status === 'finished'"> diff --git a/ui/components/NewDownload.vue b/ui/components/NewDownload.vue index 8a0a81ec..c9cb8230 100644 --- a/ui/components/NewDownload.vue +++ b/ui/components/NewDownload.vue @@ -146,14 +146,18 @@ const addInProgress = ref(false) const addDownload = () => { addInProgress.value = true; - - socket.emit('add_url', { - url: url.value, - preset: selectedPreset.value, - folder: downloadPath.value, - ytdlp_config: ytdlpConfig.value, - ytdlp_cookies: ytdlpCookies.value, - output_template: output_template.value, + url.value.split(',').forEach(url => { + if (!url.trim()) { + return; + } + socket.emit('add_url', { + url: url, + preset: selectedPreset.value, + folder: downloadPath.value, + ytdlp_config: ytdlpConfig.value, + ytdlp_cookies: ytdlpCookies.value, + output_template: output_template.value, + }); }); } diff --git a/ui/nuxt.config.ts b/ui/nuxt.config.ts index a64968a0..e17fc83d 100644 --- a/ui/nuxt.config.ts +++ b/ui/nuxt.config.ts @@ -27,13 +27,12 @@ export default defineNuxtConfig({ "meta": [ { "charset": "utf-8" }, { "name": "viewport", "content": "width=device-width, initial-scale=1.0, maximum-scale=1.0" }, - { "name": "theme-color", "content": "#000000" } + { "name": "theme-color", "content": "#000000" }, ], - link: [{ rel: 'icon', type: 'image/png', href: '/favicon.png' }] + link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }] }, pageTransition: { name: 'page', mode: 'out-in' } }, - router: { options: { linkActiveClass: "is-selected",