diff --git a/.vscode/settings.json b/.vscode/settings.json index 33f9f24..9b73fd6 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,7 +6,6 @@ }, "editor.suggestOnTriggerCharacters": false, "editor.parameterHints.enabled": false, - "editor.hover.enabled": false, "editor.codeLens": false, "editor.lightbulb.enabled": "off", "editor.inlineSuggest.enabled": false, diff --git a/public/index.html b/public/index.html index 9126fb7..d312fd4 100644 --- a/public/index.html +++ b/public/index.html @@ -40,21 +40,21 @@ Audio seulement (MP3) - +
- Sera enregistré dans - + Will be save on +
diff --git a/public/script/customthemes.js b/public/script/customthemes.js index 88b0df7..abb3253 100644 --- a/public/script/customthemes.js +++ b/public/script/customthemes.js @@ -4,7 +4,7 @@ const themes = { light: { label: "Clair", subtitle: "Qui aime ce thème ?" }, neon: { label: "Néon", subtitle: "How was your day ?"}, nf: { label: "NF", subtitle: "You call it music, i call it my Therapist" }, - songbird: { label: "Songbird", subtitle: "From Her to Eternity" }, + songbird: { label: "Songbird", subtitle: "From Her to Eternity" }, drift: { label: "Drift", subtitle: "Si la route t'appelle, contre appel" }, fanatic: { label: "Fanatic", subtitle: "Always Fnatic !" }, chirac: { label: "Chirac", subtitle: "J'aime les pommes" }, diff --git a/public/script/fetchinfo.js b/public/script/fetchinfo.js index dad3f71..bffb928 100644 --- a/public/script/fetchinfo.js +++ b/public/script/fetchinfo.js @@ -18,11 +18,11 @@ async function fetchVideoInfo(url) { if (!res.ok) return { error: `An Error occured when fetching info` }; const data = await res.json(); - if (!data) return { error: "Données manquantes" }; + if (!data) return { error: "Data is Missing" }; return data; } catch (e) { - return { error: "Erreur réseau ou JSON" }; + return { error: "Network or JSON Issue" }; } } @@ -71,8 +71,8 @@ document.addEventListener("DOMContentLoaded", () => { if (data.type === "playlist") { infoDiv.classList.add("playlist-mode"); infoDiv.innerHTML = ` -

Playlist détectée: ${data.title}

-

Nombre de vidéos: ${data.count}

+

Playlist Detected: ${data.title}

+

Video Count: ${data.count}

Channel : ${data.channel || "Unknown"}

`; @@ -89,7 +89,7 @@ document.addEventListener("DOMContentLoaded", () => {
Thumbnail

${v.title}

-

Durée : ${durationStr}

+

Duration : ${durationStr}

URL

@@ -152,7 +152,7 @@ document.addEventListener("DOMContentLoaded", () => { // ---------- VIDEO NORMALE ---------- const durationStr = data.duration ? `${Math.floor(data.duration/60)}m ${(data.duration%60).toString().padStart(2,"0")}s` - : "Inconnue"; + : "Unknown"; const sizeStr = formatSize(data.filesize_approx); const readableDate = formatDate(data.upload_date); @@ -162,15 +162,15 @@ document.addEventListener("DOMContentLoaded", () => {

${data.title}

Thumbnail `; diff --git a/server/controller/info.controller.js b/server/controller/info.controller.js index da0e3ae..187d074 100644 --- a/server/controller/info.controller.js +++ b/server/controller/info.controller.js @@ -17,10 +17,10 @@ async function infoController(req, res){ logger.info(`/Info Request receive by the Info Controller. URL: ${url}`); if (url.includes("?list")) { - logger.info("Type de contenu: Playlist") + logger.info("Estimated Data Type: Playlist") } else{ - logger.info("Type de contenu: Vidéo") + logger.info("Estimated Data Type: Video") } try { diff --git a/server/helpers/getBrowser.js b/server/helpers/getBrowser.js index e40b473..f51c8f2 100644 --- a/server/helpers/getBrowser.js +++ b/server/helpers/getBrowser.js @@ -6,7 +6,7 @@ const notify = require("./notify") function getUserBrowser() { const userProfile = os.homedir(); - // Liste des navigateurs supportés par yt-dlp + // Liste des navigateurs supportés par yt-dlp (Actuellement je peux que garantir Firefox, Désolé) const browsers = [ { name: "firefox", path: path.join(userProfile, "AppData", "Roaming", "Mozilla", "Firefox", "Profiles") }, // { name: "chrome", path: path.join(userProfile, "AppData", "Local", "Google", "Chrome", "User Data", "Default") },