feat(player): add %previous, %replay, livekit skip guard, and nodelink auto-reconnect (#11, #13, #18, #19, #23)

This commit is contained in:
NoLogicAlan committed 2026-10-27 02:58:26 +03:00
1 parent 53d0990ebe
commit e33fbb2fdb
14 files changed
+348 -31

No files matched your search

+66
View File
@@ -0,0 +1,66 @@
/**
* @module commands/previous
* @description Play the previous track from recent playback history (supports %prev, %back, %undo).
*/
import { CommandBuilder } from "../src/commands/index.mjs";
import { EmbedBuilder } from "@fluxerjs/core";
import { Utils } from "../src/utils/Utils.mjs";
/** @type {CommandBuilder} @description Command definition for the previous command. */
export const command = new CommandBuilder()
.setName("previous")
.setDescription("Play the previous track from playback history.", "commands.previous")
.addAliases("prev", "back", "undo")
.setCategory("music");
/**
* @async
* Run handler for the previous command.
* Steps backward into the queue's circular playback history.
* @param {object} message - The command message wrapper.
* @returns {Promise<void>}
*/
export async function run(message) {
const p = await this.getPlayer(message, true, true, false);
if (!p) return;
if (!p.queue?.history?.length) {
const embed = new EmbedBuilder()
.setColor(0xe9196c)
.setDescription(this.t(message, "responses.previous.noHistory"));
return message.reply({ embeds: [embed] });
}
const prevSong = await p.playPrevious();
if (!prevSong) {
const embed = new EmbedBuilder()
.setColor(0xe9196c)
.setDescription(this.t(message, "responses.previous.failed"));
return message.reply({ embeds: [embed] });
}
const titleDisplay = prevSong.title ? Utils.truncate(prevSong.title, 50) : this.t(message, "responses.play.unknownTrack");
const trackLink = prevSong.spotifyUrl || prevSong.url || "";
const rawAuthor = prevSong.artist || (typeof prevSong.author === "object" ? prevSong.author?.name : prevSong.author);
const thumb = prevSong.thumbnail || null;
const historyRemaining = p.queue.history.length;
let desc = trackLink ? `**[${titleDisplay}](${trackLink})**` : `**${titleDisplay}**`;
if (rawAuthor) {
desc += `\n${this.t(message, "responses.play.byAuthor", { author: rawAuthor })}`;
}
const embed = new EmbedBuilder()
.setColor(0xe9196c)
.setAuthor({ name: `⏮️ ${this.t(message, "responses.previous.author")}` })
.setTitle(this.t(message, "responses.previous.title"))
.setDescription(desc)
.setFooter({ text: this.t(message, "responses.previous.footer", { count: historyRemaining }) });
if (thumb) {
embed.setThumbnail(thumb);
}
return message.reply({ embeds: [embed] });
}
+75
View File
@@ -0,0 +1,75 @@
/**
* @module commands/replay
* @description Restart the currently playing track from the beginning without re-fetching from source.
*/
import { CommandBuilder } from "../src/commands/index.mjs";
import { EmbedBuilder } from "@fluxerjs/core";
import { Utils } from "../src/utils/Utils.mjs";
/** @type {CommandBuilder} @description Command definition for the replay command. */
export const command = new CommandBuilder()
.setName("replay")
.setDescription("Restart the current song from the beginning.", "commands.replay")
.addAliases("restart")
.setCategory("music");
/**
* @async
* Run handler for the replay command.
* Seeks the player back to 0:00.
* @param {object} message - The command message wrapper.
* @returns {Promise<void>}
*/
export async function run(message) {
const p = await this.getPlayer(message, true, true, false);
if (!p) return;
const current = p.queue?.getCurrent();
if (!current) {
const embed = new EmbedBuilder()
.setColor(0xe9196c)
.setDescription(this.t(message, "responses.replay.nothingPlaying"));
return message.reply({ embeds: [embed] });
}
if (current.type === "radio" || current.isLive) {
const embed = new EmbedBuilder()
.setColor(0xe9196c)
.setDescription(this.t(message, "responses.replay.live"));
return message.reply({ embeds: [embed] });
}
const success = await p.seekToPosition(0);
if (!success) {
const embed = new EmbedBuilder()
.setColor(0xe9196c)
.setDescription(this.t(message, "responses.replay.failed"));
return message.reply({ embeds: [embed] });
}
const titleDisplay = current.title ? Utils.truncate(current.title, 50) : this.t(message, "responses.play.unknownTrack");
const trackLink = current.spotifyUrl || current.url || "";
const rawAuthor = current.artist || (typeof current.author === "object" ? current.author?.name : current.author);
const thumb = current.thumbnail || null;
const trackDuration = p._getTrackDurationMs(current);
const totalStr = trackDuration > 0 ? Utils.prettifyMS(trackDuration) : null;
let desc = trackLink ? `**[${titleDisplay}](${trackLink})**` : `**${titleDisplay}**`;
if (rawAuthor) {
desc += `\n${this.t(message, "responses.play.byAuthor", { author: rawAuthor })}`;
}
const embed = new EmbedBuilder()
.setColor(0xe9196c)
.setAuthor({ name: `🔄 ${this.t(message, "responses.replay.author")}` })
.setTitle(this.t(message, "responses.replay.title"))
.setDescription(desc)
.setFooter({ text: totalStr ? this.t(message, "responses.replay.footer", { duration: totalStr }) : "Remix Music • Restarted from 0:00" });
if (thumb) {
embed.setThumbnail(thumb);
}
return message.reply({ embeds: [embed] });
}
+8 -10
View File
@@ -62,24 +62,22 @@ services:
- remix-net - remix-net
nodelink: nodelink:
image: node:22-bookworm-slim image: ghcr.io/performanc/nodelink:latest
container_name: remix-nodelink container_name: remix-nodelink
restart: unless-stopped restart: unless-stopped
working_dir: /nodelink
command: sh -c "if [ ! -f package.json ]; then npm init -y && npm install @performanc/nodelink; fi; node node_modules/@performanc/nodelink/index.js || node index.js"
environment: environment:
- TZ=${TZ:-UTC} - TZ=${TZ:-UTC}
volumes: volumes:
- nodelink_data:/nodelink - nodelink_data:/app/.cache
- ./nodelink.config.json:/nodelink/config.json:ro - ./nodelink.config.json:/app/config.json:ro
ports: ports:
- "${NODELINK_PORT:-3000}:3000" - "${NODELINK_PORT:-3000}:3000"
healthcheck: healthcheck:
test: ["CMD", "node", "-e", "require('net').connect(3000,'127.0.0.1').on('connect',function(){process.exit(0)}).on('error',function(){process.exit(1)})"] test: ["CMD-SHELL", "node -e \"require('net').connect(3000,'127.0.0.1').on('connect',function(){process.exit(0)}).on('error',function(){process.exit(1)})\""]
interval: 5s interval: 10s
timeout: 3s timeout: 5s
retries: 30 retries: 5
start_period: 60s start_period: 20s
networks: networks:
- remix-net - remix-net
+6
View File
@@ -73,14 +73,17 @@ export class LavalinkManager extends EventEmitter {
nodeMgr.on("connect", (node) => { nodeMgr.on("connect", (node) => {
this._nodeConnected = true; this._nodeConnected = true;
logger.lavalink("[Lavalink] Node connected (nodeManager): " + node.id); logger.lavalink("[Lavalink] Node connected (nodeManager): " + node.id);
this.emit("nodeConnect", node);
}); });
nodeMgr.on("disconnect", (node, reason) => { nodeMgr.on("disconnect", (node, reason) => {
this._nodeConnected = false; this._nodeConnected = false;
logger.warn("[Lavalink] Node disconnected (nodeManager):", node?.id, reason); logger.warn("[Lavalink] Node disconnected (nodeManager):", node?.id, reason);
this.emit("nodeDisconnect", node, reason);
}); });
nodeMgr.on("reconnect", (node) => { nodeMgr.on("reconnect", (node) => {
this._nodeConnected = true; this._nodeConnected = true;
logger.lavalink("[Lavalink] Node reconnecting (nodeManager): " + node.id); logger.lavalink("[Lavalink] Node reconnecting (nodeManager): " + node.id);
this.emit("nodeReconnect", node);
}); });
} catch (e) { } catch (e) {
logger.warn("[Lavalink] nodeManager event setup error:", e?.message); logger.warn("[Lavalink] nodeManager event setup error:", e?.message);
@@ -92,16 +95,19 @@ export class LavalinkManager extends EventEmitter {
this.lavalink.on("nodeConnect", (node) => { this.lavalink.on("nodeConnect", (node) => {
this._nodeConnected = true; this._nodeConnected = true;
logger.lavalink("[Lavalink] Node connected (manager): " + node.id); logger.lavalink("[Lavalink] Node connected (manager): " + node.id);
this.emit("nodeConnect", node);
}); });
this.lavalink.on("nodeReconnect", (node) => { this.lavalink.on("nodeReconnect", (node) => {
this._nodeConnected = true; this._nodeConnected = true;
logger.lavalink("[Lavalink] Node reconnecting (manager): " + node.id); logger.lavalink("[Lavalink] Node reconnecting (manager): " + node.id);
this.emit("nodeReconnect", node);
}); });
this.lavalink.on("nodeDisconnect", (node, reason) => { this.lavalink.on("nodeDisconnect", (node, reason) => {
this._nodeConnected = false; this._nodeConnected = false;
logger.warn("[Lavalink] Node disconnected (manager):", node.id, reason); logger.warn("[Lavalink] Node disconnected (manager):", node.id, reason);
this.emit("nodeDisconnect", node, reason);
}); });
this.lavalink.on("nodeError", (node, err) => { this.lavalink.on("nodeError", (node, err) => {
+21 -7
View File
@@ -330,6 +330,11 @@ export class FluxerAudioBridge extends EventEmitter {
streamToPlay = remuxed; streamToPlay = remuxed;
} }
this._stream = streamToPlay; this._stream = streamToPlay;
await this._awaitPendingUnpublishes(conn);
if (generation !== this._playGeneration) {
streamToPlay?.destroy?.();
return "stopped";
}
await conn.play(streamToPlay); await conn.play(streamToPlay);
} catch (e) { } catch (e) {
if (generation !== this._playGeneration) return "stopped"; if (generation !== this._playGeneration) return "stopped";
@@ -457,7 +462,9 @@ export class FluxerAudioBridge extends EventEmitter {
} }
return await this._playOpened(conn, opened, durationMs, generation); return await this._playOpened(conn, opened, durationMs, generation);
} }
// Zero-copy: the voice connection fetches the URL itself. /* Zero-copy: ensure prior unpublish settled before publishing */
await this._awaitPendingUnpublishes(conn);
if (stale()) return "stopped";
await conn.play(direct.url); await conn.play(direct.url);
} catch (e) { } catch (e) {
if (stale()) return "stopped"; if (stale()) return "stopped";
@@ -508,14 +515,12 @@ export class FluxerAudioBridge extends EventEmitter {
try { try {
const room = conn?.room; const room = conn?.room;
const participant = room?.localParticipant; const participant = room?.localParticipant;
if (!room?.isConnected || typeof participant?.unpublishTrack !== "function") return; if (!room?.isConnected || !participant || typeof participant.unpublishTrack !== "function") return;
const publications = participant.trackPublications; const publications = participant.trackPublications;
if (!publications || typeof publications.entries !== "function") return; if (!publications || typeof publications.entries !== "function") return;
// One guard map per participant, shared by every bridge instance in this /* One guard map per participant, shared by every bridge instance in this process */
// process: a SID currently being unpublished is skipped by later sweeps,
// and its promise is awaitable via _awaitPendingUnpublishes().
let pending = pendingUnpublishSids.get(participant); let pending = pendingUnpublishSids.get(participant);
if (!pending) { if (!pending) {
pending = new Map(); pending = new Map();
@@ -528,11 +533,20 @@ export class FluxerAudioBridge extends EventEmitter {
if (pending.has(sid)) continue; if (pending.has(sid)) continue;
try { try {
const settle = Promise.resolve(participant.unpublishTrack(sid, true)) const settle = Promise.resolve(participant.unpublishTrack(sid, true))
.catch(() => {}) // failed unpublish is still a settled state — don't block on it .catch((err) => {
/* Suppress benign race-condition errors during rapid track skips */
if (!err || /Publication not found|AudioSource is closed|Participant not found|Track not found/i.test(err?.message || '')) {
return;
}
logger.warn?.("[AudioBridge] unpublishTrack warning: " + err.message);
})
.finally(() => { if (pending.get(sid) === settle) pending.delete(sid); }); .finally(() => { if (pending.get(sid) === settle) pending.delete(sid); });
pending.set(sid, settle); pending.set(sid, settle);
logger.player("[AudioBridge] Unpublished stale audio track: " + sid); logger.player("[AudioBridge] Unpublished stale audio track: " + sid);
} catch (_) { } catch (err) {
if (!err || /Publication not found|AudioSource is closed|Participant not found|Track not found/i.test(err?.message || '')) {
/* Benign race condition */
}
pending.delete(sid); pending.delete(sid);
} }
} }
+24 -2
View File
@@ -110,6 +110,28 @@ const PlaybackMixin = {
finally { if (generation === this._playNextGeneration) this._playingNext = false; } finally { if (generation === this._playNextGeneration) this._playingNext = false; }
}, },
/**
* @async Step backward to the previous track in history.
* Restores the current track to the top of the queue and plays the previous track.
* @this {import('./Player.mjs').Player}
* @returns {Promise<object|null>} The previous track or null if history is empty.
*/
async playPrevious() {
if (!this.queue || this.queue.history.length === 0) return null;
this._skipping = true;
this._bridgeStop();
const prevSong = this.queue.previous();
if (!prevSong) {
this._skipping = false;
return null;
}
this._playingNext = false;
this._radioAnnounced = false;
await this.playNext({ reuseCurrent: true });
this._skipping = false;
return prevSong;
},
/** /**
* @private @async Core logic for advancing to the next track: resolves * @private @async Core logic for advancing to the next track: resolves
* track options, announces, starts playback via the bridge, arms the * track options, announces, starts playback via the bridge, arms the
@@ -121,8 +143,8 @@ const PlaybackMixin = {
this._bridgeStop(); this._bridgeStop();
const currentBeforeNext = this.queue.getCurrent(); const currentBeforeNext = this.queue.getCurrent();
if (currentBeforeNext) this._lastPlayedTrack = currentBeforeNext; if (currentBeforeNext && !opts.reuseCurrent) this._lastPlayedTrack = currentBeforeNext;
const songData = this.queue.next(opts); const songData = opts.reuseCurrent ? this.queue.getCurrent() : this.queue.next(opts);
if (!songData) { if (!songData) {
this.emit("stopplay"); this.emit("stopplay");
this.emit("queueEnd"); this.emit("queueEnd");
+4 -4
View File
@@ -827,9 +827,9 @@ class Player extends EventEmitter {
async resumePlaybackAfterNodeReconnect() { async resumePlaybackAfterNodeReconnect() {
if (this._destroyed || this.leaving || !this._voiceConn) return false; if (this._destroyed || this.leaving || !this._voiceConn) return false;
const current = this.queue?.getCurrent(); const current = this.queue?.getCurrent();
if (!current || !this._audioBridge?.playing) return false; if (!current || this._paused) return false;
const posMs = this.computePosition(); const posMs = Math.max(0, this.computePosition());
logger.player(`[Player:${this._guildId}] Node reconnected — resuming "${current.title}" at ${Math.round(posMs / 1000)}s`); logger.player(`[Player:${this._guildId}] Node reconnected — resuming "${current.title}" at ${Math.round(posMs / 1000)}s`);
try { try {
@@ -1061,8 +1061,8 @@ class Player extends EventEmitter {
/** @private Stop the audio bridge if currently playing. */ /** @private Stop the audio bridge if currently playing. */
_bridgeStop() { _bridgeStop() {
if (this._audioBridge?.playing) { if (this._audioBridge) {
this._audioBridge.stop(); try { this._audioBridge.stop(); } catch (_) {}
} }
} }
+36 -2
View File
@@ -26,6 +26,10 @@ export class Queue extends EventEmitter {
loop = false; loop = false;
/** @type {boolean} Whether single-song loop is enabled. */ /** @type {boolean} Whether single-song loop is enabled. */
songLoop = false; songLoop = false;
/** @type {Array<object>} Circular buffer of recently played tracks. */
history = [];
/** @type {number} Maximum number of tracks preserved in playback history. */
static MAX_HISTORY = 20;
/** Initialize an empty queue with no loop enabled. */ /** Initialize an empty queue with no loop enabled. */
constructor() { constructor() {
@@ -50,6 +54,13 @@ export class Queue extends EventEmitter {
if (!ignoreSongLoop && this.songLoop && this.current) return this.current; if (!ignoreSongLoop && this.songLoop && this.current) return this.current;
if (this.loop && this.current) this.data.push(this.current); if (this.loop && this.current) this.data.push(this.current);
if (previous && (!this.songLoop || ignoreSongLoop)) {
this.history.push(previous);
if (this.history.length > Queue.MAX_HISTORY) {
this.history.shift();
}
}
if (this.isEmpty()) { if (this.isEmpty()) {
this.current = null; this.current = null;
return null; return null;
@@ -143,10 +154,33 @@ export class Queue extends EventEmitter {
return count; return count;
} }
/**
* Step backward to the previous track from history.
* Restores the current track to the front of the queue so it is not lost.
* @returns {object|null} The restored previous track, or null if history is empty.
*/
previous() {
if (this.history.length === 0) return null;
const prevTrack = this.history.pop();
if (this.current) {
this.data.unshift(this.current);
}
const old = this.current;
this.current = prevTrack;
this.emit("queue", {
type: "update",
data: { current: this.current, old, restored: true, loop: this.loop }
});
return this.current;
}
/** @returns {Array<object>} Copy of recent playback history. */
getHistory() { return this.history.slice(); }
/** Remove all tracks from the queue. */ /** Remove all tracks from the queue. */
clear() { this.data.length = 0; } clear() { this.data.length = 0; }
/** Clear the queue and reset all state (current, loops). */ /** Clear the queue and reset all state (current, loops, history). */
reset() { this.clear(); this.current = null; this.songLoop = false; this.loop = false; } reset() { this.clear(); this.current = null; this.songLoop = false; this.loop = false; this.history.length = 0; }
/** @param {boolean} bool - Enable or disable song loop. */ /** @param {boolean} bool - Enable or disable song loop. */
setSongLoop(bool) { this.songLoop = bool; } setSongLoop(bool) { this.songLoop = bool; }
+18 -1
View File
@@ -88,7 +88,9 @@
"normalize": "تبديل تسوية الصوت الديناميكية (مستوى ReplayGain) عبر منصات الموسيقى المختلفة.", "normalize": "تبديل تسوية الصوت الديناميكية (مستوى ReplayGain) عبر منصات الموسيقى المختلفة.",
"bassboost": "تطبيق تأثير معادل تضخيم الباس بمستويات منخفضة، متوسطة أو قوية.", "bassboost": "تطبيق تأثير معادل تضخيم الباس بمستويات منخفضة، متوسطة أو قوية.",
"speed": "تعديل سرعة تشغيل المقطع الصوتي الحالي (0.5× إلى 2.0×).", "speed": "تعديل سرعة تشغيل المقطع الصوتي الحالي (0.5× إلى 2.0×).",
"pitch": "تعديل طبقة الصوت (النغمة) للمقطع الصوتي الحالي (0.5× إلى 2.0×)." "pitch": "تعديل طبقة الصوت (النغمة) للمقطع الصوتي الحالي (0.5× إلى 2.0×).",
"previous": "تشغيل الأغنية السابقة من سجل التشغيل.",
"replay": "إعادة تشغيل الأغنية الحالية من البداية."
}, },
"options": { "options": {
"debug": { "debug": {
@@ -1226,6 +1228,21 @@
"reorderedDesc": "تم النقل من المركز **#{{from}}** ➔ **#{{to}}** في قائمة الانتظار.", "reorderedDesc": "تم النقل من المركز **#{{from}}** ➔ **#{{to}}** في قائمة الانتظار.",
"nowPlayingNext": "سيعمل الآن كالمسار التالي بعد الأغنية الحالية • {{prefix}}np", "nowPlayingNext": "سيعمل الآن كالمسار التالي بعد الأغنية الحالية • {{prefix}}np",
"viewUpdatedQueue": "{{prefix}}list لعرض قائمة الانتظار المحدثة" "viewUpdatedQueue": "{{prefix}}list لعرض قائمة الانتظار المحدثة"
},
"previous": {
"noHistory": "لا توجد أغنية سابقة في سجل التشغيل.",
"failed": "تعذر تشغيل الأغنية السابقة.",
"author": "سجل التشغيل • الأغنية السابقة",
"title": "تمت استعادة الأغنية السابقة",
"footer": "سجل التشغيل • متبقي {{count}} أغنية سابقة"
},
"replay": {
"nothingPlaying": "لا يوجد شيء قيد التشغيل حالياً!",
"live": "لا يمكن إعادة تشغيل البث المباشر أو محطات الراديو.",
"failed": "تعذر إعادة تشغيل الأغنية.",
"author": "إعادة التشغيل • 0:00",
"title": "تمت إعادة تشغيل الأغنية من البداية",
"footer": "Remix Music • تشغيل من البداية (المدة: {{duration}})"
} }
} }
} }
+18 -1
View File
@@ -88,7 +88,9 @@
"normalize": "گۆڕینی یەکسانسازیی دەنگی داینامیکی (ئاستی ReplayGain) لەنێوان سەرچاوەکانی مۆسیقادا.", "normalize": "گۆڕینی یەکسانسازیی دەنگی داینامیکی (ئاستی ReplayGain) لەنێوان سەرچاوەکانی مۆسیقادا.",
"bassboost": "بەکاربردنی کاریگەریی ئیكوالایزەری بەرزکردنەوەی باس بە ئاستی نزم، مامناوەند یان بەهێز.", "bassboost": "بەکاربردنی کاریگەریی ئیكوالایزەری بەرزکردنەوەی باس بە ئاستی نزم، مامناوەند یان بەهێز.",
"speed": "دەستکاریکردنی خێرایی لێدانی تراکی ئێستا (0.5× بۆ 2.0×).", "speed": "دەستکاریکردنی خێرایی لێدانی تراکی ئێستا (0.5× بۆ 2.0×).",
"pitch": "دەستکاریکردنی تۆن و ئاستی دەنگی تراکی ئێستا (0.5× بۆ 2.0×)." "pitch": "دەستکاریکردنی تۆن و ئاستی دەنگی تراکی ئێستا (0.5× بۆ 2.0×).",
"previous": "لێدانی گۆرانی پێشوو لە مێژووی لێدان.",
"replay": "دووبارە لێدانی گۆرانیی ئێستا لە سەرەتاوە."
}, },
"options": { "options": {
"debug": { "debug": {
@@ -1226,6 +1228,21 @@
"reorderedDesc": "لە پێگەی **#{{from}}** ➔ **#{{to}}** لە ڕیزبەندی گوازرایەوە.", "reorderedDesc": "لە پێگەی **#{{from}}** ➔ **#{{to}}** لە ڕیزبەندی گوازرایەوە.",
"nowPlayingNext": "ئێستا دوای گۆرانی ئێستا پەخش دەکرێت • {{prefix}}np", "nowPlayingNext": "ئێستا دوای گۆرانی ئێستا پەخش دەکرێت • {{prefix}}np",
"viewUpdatedQueue": "{{prefix}}list بۆ بینینی ڕیزبەندی نوێکراوە" "viewUpdatedQueue": "{{prefix}}list بۆ بینینی ڕیزبەندی نوێکراوە"
},
"previous": {
"noHistory": "هیچ گۆرانییەکی پێشوو لە مێژووی لێداندا نییە.",
"failed": "لێدانی گۆرانی پێشوو سەرکەوتوو نەبوو.",
"author": "مێژووی لێدان • گۆرانی پێشوو",
"title": "گۆرانی پێشوو گەڕێندرایەوە",
"footer": "مێژووی لێدان • {{count}} گۆرانیی پێشوو ماونەتەوە"
},
"replay": {
"nothingPlaying": "لە ئێستادا هیچ گۆرانییەک لێنادرێت!",
"live": "ناتوانرێت پەخشی ڕاستەوخۆ یان ڕادیۆ دووبارە بکرێتەوە.",
"failed": "دووبارە لێدانی گۆرانییەکە سەرکەوتوو نەبوو.",
"author": "دووبارە لێدان • 0:00",
"title": "گۆرانییەکە لە سەرەتاوە دووبارە دەستیپێکردەوە",
"footer": "Remix Music • لێدان لە سەرەتاوە (ماوە: {{duration}})"
} }
} }
} }
+18 -1
View File
@@ -88,7 +88,9 @@
"normalize": "Dynamische Lautstärkenormalisierung (ReplayGain-Pegel) über verschiedene Musikquellen umschalten.", "normalize": "Dynamische Lautstärkenormalisierung (ReplayGain-Pegel) über verschiedene Musikquellen umschalten.",
"bassboost": "Equalizer-Bass-Boost mit Voreinstellungen (niedrig, mittel, stark) anwenden.", "bassboost": "Equalizer-Bass-Boost mit Voreinstellungen (niedrig, mittel, stark) anwenden.",
"speed": "Wiedergabegeschwindigkeit des aktuellen Tracks anpassen (0.5× bis 2.0×).", "speed": "Wiedergabegeschwindigkeit des aktuellen Tracks anpassen (0.5× bis 2.0×).",
"pitch": "Tonhöhe (Pitch) des aktuellen Tracks anpassen (0.5× bis 2.0×)." "pitch": "Tonhöhe (Pitch) des aktuellen Tracks anpassen (0.5× bis 2.0×).",
"previous": "Den vorherigen Titel aus dem Wiedergabeverlauf abspielen.",
"replay": "Den aktuellen Titel von vorne starten."
}, },
"options": { "options": {
"debug": { "debug": {
@@ -1226,6 +1228,21 @@
"reorderedDesc": "Von Position **#{{from}}** ➔ **#{{to}}** in der Warteschlange verschoben.", "reorderedDesc": "Von Position **#{{from}}** ➔ **#{{to}}** in der Warteschlange verschoben.",
"nowPlayingNext": "Wird als Nächstes nach dem aktuellen Titel abgespielt • {{prefix}}np", "nowPlayingNext": "Wird als Nächstes nach dem aktuellen Titel abgespielt • {{prefix}}np",
"viewUpdatedQueue": "{{prefix}}list um die aktualisierte Warteschlange anzuzeigen" "viewUpdatedQueue": "{{prefix}}list um die aktualisierte Warteschlange anzuzeigen"
},
"previous": {
"noHistory": "Es befindet sich kein vorheriger Titel im Wiedergabeverlauf.",
"failed": "Der vorherige Titel konnte nicht abgespielt werden.",
"author": "Wiedergabeverlauf • Vorheriger Titel",
"title": "Vorheriger Titel wiederhergestellt",
"footer": "Wiedergabeverlauf • Noch {{count}} vorherige(r) Titel verfügbar"
},
"replay": {
"nothingPlaying": "Derzeit wird nichts abgespielt!",
"live": "Livestreams oder Radiosender können nicht von vorne gestartet werden.",
"failed": "Der Titel konnte nicht erneut abgespielt werden.",
"author": "Wiederholung • 0:00",
"title": "Titel von Anfang an neu gestartet",
"footer": "Remix Music • Wiedergabe vom Beginn (Dauer: {{duration}})"
} }
} }
} }
+18 -1
View File
@@ -88,7 +88,9 @@
"normalize": "Toggle dynamic volume normalization (ReplayGain leveling) across music sources.", "normalize": "Toggle dynamic volume normalization (ReplayGain leveling) across music sources.",
"bassboost": "Apply a low, medium, or hard bass boost equalizer effect.", "bassboost": "Apply a low, medium, or hard bass boost equalizer effect.",
"speed": "Adjust the playback speed of the current track (0.5× to 2.0×).", "speed": "Adjust the playback speed of the current track (0.5× to 2.0×).",
"pitch": "Adjust the audio pitch of the current track (0.5× to 2.0×)." "pitch": "Adjust the audio pitch of the current track (0.5× to 2.0×).",
"previous": "Play the previous track from playback history.",
"replay": "Restart the current song from the beginning."
}, },
"options": { "options": {
"debug": { "debug": {
@@ -1226,6 +1228,21 @@
"reorderedDesc": "Moved from position **#{{from}}** ➔ **#{{to}}** in the queue.", "reorderedDesc": "Moved from position **#{{from}}** ➔ **#{{to}}** in the queue.",
"nowPlayingNext": "Now playing next after the current song • {{prefix}}np", "nowPlayingNext": "Now playing next after the current song • {{prefix}}np",
"viewUpdatedQueue": "{{prefix}}list to view updated queue" "viewUpdatedQueue": "{{prefix}}list to view updated queue"
},
"previous": {
"noHistory": "There is no previous song in playback history.",
"failed": "Failed to play the previous track.",
"author": "Playback History • Previous Track",
"title": "Restored Previous Song",
"footer": "Playback History • {{count}} previous song(s) remaining"
},
"replay": {
"nothingPlaying": "There is nothing playing at the moment!",
"live": "Cannot replay live streams or radio stations.",
"failed": "Failed to replay the track.",
"author": "Playback Replay • 0:00",
"title": "Restarted Song From Beginning",
"footer": "Remix Music • Playing from start (duration: {{duration}})"
} }
} }
} }
+18 -1
View File
@@ -88,7 +88,9 @@
"normalize": "Alternar normalização dinâmica de volume (nivelamento ReplayGain) entre diferentes fontes de música.", "normalize": "Alternar normalização dinâmica de volume (nivelamento ReplayGain) entre diferentes fontes de música.",
"bassboost": "Aplicar equalizador de reforço de graves (baixo, médio ou pesado).", "bassboost": "Aplicar equalizador de reforço de graves (baixo, médio ou pesado).",
"speed": "Ajustar a velocidade de reprodução da faixa atual (0.5× a 2.0×).", "speed": "Ajustar a velocidade de reprodução da faixa atual (0.5× a 2.0×).",
"pitch": "Ajustar o tom (pitch) do áudio da faixa atual (0.5× a 2.0×)." "pitch": "Ajustar o tom (pitch) do áudio da faixa atual (0.5× a 2.0×).",
"previous": "Tocar a faixa anterior do histórico de reprodução.",
"replay": "Reiniciar a música atual do início."
}, },
"options": { "options": {
"debug": { "debug": {
@@ -1226,6 +1228,21 @@
"reorderedDesc": "Movido da posição **#{{from}}** ➔ **#{{to}}** na fila.", "reorderedDesc": "Movido da posição **#{{from}}** ➔ **#{{to}}** na fila.",
"nowPlayingNext": "Tocará a seguir após a música atual • {{prefix}}np", "nowPlayingNext": "Tocará a seguir após a música atual • {{prefix}}np",
"viewUpdatedQueue": "{{prefix}}list para ver a fila atualizada" "viewUpdatedQueue": "{{prefix}}list para ver a fila atualizada"
},
"previous": {
"noHistory": "Não há nenhuma música anterior no histórico de reprodução.",
"failed": "Falha ao tocar a música anterior.",
"author": "Histórico de Reprodução • Faixa Anterior",
"title": "Música Anterior Restaurada",
"footer": "Histórico de Reprodução • Restam {{count}} música(s) no histórico"
},
"replay": {
"nothingPlaying": "Não há nada tocando no momento!",
"live": "Não é possível reiniciar transmissões ao vivo ou rádios.",
"failed": "Falha ao reiniciar a faixa.",
"author": "Repetir Faixa • 0:00",
"title": "Música Reiniciada do Início",
"footer": "Remix Music • Tocando do início (duração: {{duration}})"
} }
} }
} }
+18 -1
View File
@@ -88,7 +88,9 @@
"bassboost": "Düşük, orta veya sert bas güçlendirme ekolayzer efekti uygulayın.", "bassboost": "Düşük, orta veya sert bas güçlendirme ekolayzer efekti uygulayın.",
"speed": "Mevcut parçanın oynatma hızını ayarlayın (0.5× ile 2.0× arası).", "speed": "Mevcut parçanın oynatma hızını ayarlayın (0.5× ile 2.0× arası).",
"pitch": "Mevcut parçanın ses perdesini (pitch) ayarlayın (0.5× ile 2.0× arası).", "pitch": "Mevcut parçanın ses perdesini (pitch) ayarlayın (0.5× ile 2.0× arası).",
"vote": "FluxerList üzerinde sunucunuz/botunuz için oylama bilgilerini görüntüleyin veya oy verenleri kontrol edin" "vote": "FluxerList üzerinde sunucunuz/botunuz için oylama bilgilerini görüntüleyin veya oy verenleri kontrol edin",
"previous": "Oynatma geçmişindeki önceki şarkıyı çal.",
"replay": "Çalan şarkıyı baştan başlat."
}, },
"options": { "options": {
"debug": { "debug": {
@@ -1226,6 +1228,21 @@
"reorderedDesc": "Kuyrukta **#{{from}}** ➔ **#{{to}}** konumuna taşındı.", "reorderedDesc": "Kuyrukta **#{{from}}** ➔ **#{{to}}** konumuna taşındı.",
"nowPlayingNext": "Şimdi geçerli şarkıdan sonra çalacak • {{prefix}}np", "nowPlayingNext": "Şimdi geçerli şarkıdan sonra çalacak • {{prefix}}np",
"viewUpdatedQueue": "Güncellenmiş kuyruğu görmek için {{prefix}}list" "viewUpdatedQueue": "Güncellenmiş kuyruğu görmek için {{prefix}}list"
},
"previous": {
"noHistory": "Oynatma geçmişinde önceki bir şarkı bulunmuyor.",
"failed": "Önceki şarkı çalınamadı.",
"author": "Oynatma Geçmişi • Önceki Şarkı",
"title": "Önceki Şarkı Geri Yüklendi",
"footer": "Oynatma Geçmişi • Kalan {{count}} önceki şarkı"
},
"replay": {
"nothingPlaying": "Şu anda hiçbir şey çalmıyor!",
"live": "Canlı yayınlar veya radyo istasyonları yeniden başlatılamaz.",
"failed": "Şarkı yeniden başlatılamadı.",
"author": "Yeniden Oynat • 0:00",
"title": "Şarkı Baştan Başlatıldı",
"footer": "Remix Music • Baştan çalınıyor (süre: {{duration}})"
} }
} }
} }