[Audio] Local tracks with special characters in path wont return a value in all cases #3467

Closed
opened 2020-01-28 14:56:00 +01:00 by ltukezl · 5 comments
ltukezl commented 2020-01-28 14:56:00 +01:00 (Migrated from github.com)

Command bugs

Command name

[p]local folder
[p]local play

What cog is this command from?

audio

What were you expecting to happen?

trying to play a folder with spaces in path such as:
https://puu.sh/F4B4A/9070d830aa.png
and selecting 2

should result in playing all songs inside that folder

What actually happened?

Nothing found message.
http://puu.sh/F4B5s/45eb04af34.png

How can we reproduce this issue?

make (symlink) folder. add another folder inside it with a space in name. "redbot test" and try to play it.

# Command bugs <!-- Did you find a bug with a command? Fill out the following: --> #### Command name [p]local folder [p]local play #### What cog is this command from? audio #### What were you expecting to happen? trying to play a folder with spaces in path such as: https://puu.sh/F4B4A/9070d830aa.png and selecting 2 should result in playing all songs inside that folder #### What actually happened? Nothing found message. http://puu.sh/F4B5s/45eb04af34.png #### How can we reproduce this issue? make (symlink) folder. add another folder inside it with a space in name. "redbot test" and try to play it.
Drapersniper commented 2020-01-30 10:32:12 +01:00 (Migrated from github.com)

Blocked by #3459

Blocked by #3459
Drapersniper commented 2020-02-08 12:26:31 +01:00 (Migrated from github.com)

@ltukezl I'm unable to reproduce this any longer ...

image
image

Is this still an issue for you if it is please post the output of [p]audioset settings and [p]debuginfo

@ltukezl I'm unable to reproduce this any longer ... ![image](https://user-images.githubusercontent.com/27962761/74084308-c37b2000-4a65-11ea-81cd-675161d58c3c.png) ![image](https://user-images.githubusercontent.com/27962761/74084312-cc6bf180-4a65-11ea-828c-d6fb7fc1265d.png) Is this still an issue for you if it is please post the output of `[p]audioset settings` and `[p]debuginfo`
ltukezl commented 2020-02-08 13:29:08 +01:00 (Migrated from github.com)

Folders with only spaces do work now.
folders with "[]" doesn't work for example "tst 1 [tst]" still gives "Nothing found". maybe other special markings too but didn't test others.

----Server Settings----
Auto-disconnect: [Disabled]
Auto-play: [Disabled]
Repeat: [Disabled]
Shuffle: [Disabled]
Shuffle bumped: [Enabled]
Song notify msgs: [Disabled]
Songs as status: [Disabled]

---Cache Settings---
Max age: [365 days]
Spotify cache: [Disabled]
Youtube cache: [Disabled]
Lavalink cache: [Disabled]

---Lavalink Settings---
Cog version: [1.1.1]
Red-Lavalink: [0.4.2]
External server: [Disabled]
Localtracks path: [E:\red-musicbot\cogs\Audio]

Red version
3.3.1
Python version
3.8.1 (64bit)
Discord.py version
1.3.1
Pip version
20.0.2
System arch
AMD64
OS version
Windows 10 (version 10.0.17134)
Python executable
c:\python38\python.exe

Folders with only spaces do work now. folders with "[]" doesn't work for example "tst 1 [tst]" still gives "Nothing found". maybe other special markings too but didn't test others. ----Server Settings---- Auto-disconnect: [Disabled] Auto-play: [Disabled] Repeat: [Disabled] Shuffle: [Disabled] Shuffle bumped: [Enabled] Song notify msgs: [Disabled] Songs as status: [Disabled] ---Cache Settings--- Max age: [365 days] Spotify cache: [Disabled] Youtube cache: [Disabled] Lavalink cache: [Disabled] ---Lavalink Settings--- Cog version: [1.1.1] Red-Lavalink: [0.4.2] External server: [Disabled] Localtracks path: [E:\red-musicbot\cogs\Audio] Red version 3.3.1 Python version 3.8.1 (64bit) Discord.py version 1.3.1 Pip version 20.0.2 System arch AMD64 OS version Windows 10 (version 10.0.17134) Python executable c:\python38\python.exe
Drapersniper commented 2020-02-08 15:42:15 +01:00 (Migrated from github.com)

Will be fixed as part of the next Audio update

Will be fixed as part of the next Audio update
Drapersniper commented 2020-02-29 18:28:15 +01:00 (Migrated from github.com)

This has been fixed in the feature branch

This has been fixed in the feature branch
Sign in to join this conversation.
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
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot#3467
No description provided.