mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
feat(player): per-track custom start/end trimming
Allow users to save custom start and end points for any track. Options persist in MySQL and auto-apply on playback — the player seeks to the configured start time and skips when the end time is reached. Supports pause/resume and manual seek with timer recalc. Idea by noisy EVE
This commit is contained in:
1 parent
0f2ee99f1e
commit
6bbaf49a94
7 files changed
+617
-4
No files matched your search
@@ -161,6 +161,7 @@ export class PlayerManager {
|
||||
this.locale = config.locale ?? null;
|
||||
this.timers = config.timers ?? {};
|
||||
this._lastfm = null;
|
||||
this.trackOptions = config.trackOptions ?? null;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -831,6 +832,7 @@ export class PlayerManager {
|
||||
observedVoiceUsers: this.observedVoiceUsers ?? null,
|
||||
voiceCache: this.voiceCache ?? null,
|
||||
locale: this.locale ?? null,
|
||||
trackOptions: this.trackOptions ?? null,
|
||||
});
|
||||
|
||||
player.textChannel = message.channel;
|
||||
|
||||
Reference in new issue
Block a user