[AUDIO] Local Folder Audio Command Not Playing Songs In Folder In Correct Order #6392
Labels
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Mrcoolgamer11/Red-DiscordBot#6392
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What Red version are you using?
3.5.9
Cog name
Audio
Command name
[p]local folder
What did you expect to happen?
I expected the songs to be queued by alphabetical order, according to the order as listed in the relevant folder, naming convention/song names below:
01 - Nehalennia [Mix Cut] (Original Mix).mp3
02 - The Light [Mix Cut] (Original Mix).mp3
03 - Skylarking [Mix Cut] (Original Mix).mp3
04 - We Are [Mix Cut] (Original Mix).mp3
05 - Lullaby Lonely [Mix Cut] (Progressive Mix).mp3
06 - Made For You [Mix Cut] (Club Mix).mp3
07 - Dream State [Mix Cut] (Original Mix).mp3
08 - Speed Of Sound [Mix Cut] (Album Extended Mix).mp3
09 - Shelter Me [Mix Cut] (Extended Mix).mp3
10 - Lights [Mix Cut] (Club Mix).mp3
11 - Teardrops [Mix Cut] (Original Mix).mp3
12 - Jal¢n [Mix Cut] (Original Mix).mp3
13 - Eterna [Mix Cut] (Original Mix).mp3
14 - Waiting For The Night [Mix Cut] (Beat Service Remix).mp3
15 - Laguna [Mix Cut] (Original Mix).mp3
16 - Jewel [Mix Cut] (Pure Mix).mp3
What actually happened?
It plays the songs mostly in order. Rather than going 1-16, orders accordingly:
01, 02, 03, 05, 06, 07, 08, 09, 11, 14, 04, 10, 12, 13, 15, 16
How can we reproduce this error?
Anything else?
Tried changing leading digits to leading letters and did not change anything.
Behoben in
e348efe4e: Lokale Tracks wurden nach ihrem Anzeigenamen sortiert, und der kürzt Pfade über 145 Zeichen zu...\<Rest>. Diese Einträge landeten dadurch vor allen anderen, sodass bei langen Ordnerpfaden die Dateien mit langen Namen zuerst eingereiht wurden (genau das Muster 01, 02, 03, 05, … aus dem Issue). Jetzt wird nach dem vollständigen Pfad sortiert. Mit der Ordnerstruktur aus dem Issue reproduziert und verifiziert.Generated by Claude Code