Cog-Creators / Cog-Creators/Red-DiscordBot

[AUDIO] Local Folder Audio Command Not Playing Songs In Folder In Correct Order

Open
#6,392 0 comments 0 reactions 0 assignees View on GitHub
Status: Needs Triage Type: Bug
Dominant language
Python
Stars
5.7k
Forks
2.5k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

### 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?

1. Call command [p]local folder ..\A State Of Trance Compilations\A State Of Trance 2013 (Mixed by Armin van Buuren)\Disc 1 - On The Beach
2. Bot queues as described in "what actually happened"

### Anything else?

Tried changing leading digits to leading letters and did not change anything.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.