Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playing local files searches for online url instead of local #1442

Closed
3 tasks done
RKosmik opened this issue Oct 7, 2023 · 2 comments
Closed
3 tasks done

Playing local files searches for online url instead of local #1442

RKosmik opened this issue Oct 7, 2023 · 2 comments

Comments

@RKosmik
Copy link

RKosmik commented Oct 7, 2023

Bug Description

Using the play command the bot attempts to search online for a URL instead of using the local pathing url. I tried many times using mp3, wav, using different bitrate and such and nothing works.

Steps to Reproduce

  1. Use the play command ie "!!"
  2. Paste a local url path to your song ie ""C:\Users\name\Downloads\test.wav""
  3. The bot plays a youtube url.

Expected Result

I want the bot to use my local path url not an online url.

Debug Output

Using Windows 11
JMusicBot version 0.3.9

Additional Info

No response

Checklist

@jagrosh
Copy link
Owner

jagrosh commented Oct 7, 2023

Try using / instead of \ and make sure there isn't anything else in the command. If that still isn't working, please take a screenshot of the command you are trying to run.

@RKosmik
Copy link
Author

RKosmik commented Oct 9, 2023

Hey so I noticed you said not to have anything else in the command and I realized there were comma's in the url. When you right click a file and select "Copy to file path" it automatically adds comma's to the url. So I deleted the comma's and it worked flawlessly. Thank you! I got it working. Cheers and thanks for everything you do!

@jagrosh jagrosh closed this as completed Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants