-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Sound player issue #116
Comments
Not sure what's going on here. Can you post your |
Maybe its related to the naming of the .env file? |
Here is a pic of my folder structure with the .env |
I don't think so. I removed my |
|
Changed that but didn't help anything.
|
I just tried to set it up today, getting the same issue. It does start to check stores after the INFO lines, but it only checks for evga cards? |
You need to edit the .env variable SHOW_ONLY_BRANDS, to include other brands, i.e msi, asus,evga or can leave it blank for it to report any card. |
My program seems to operate normally after the PATTERN INFO pop-ups. But I was just worried I configured something wrong. |
I'm getting the same. But it is still checking for stock after the fact. |
@chuakc92 based off your screenshot, I would remove the SLACK and TELEGRAM related variables as setting those to junk values could throw errors. |
Responding to @kylekelso's question: I didn't unzip it because I was unsure if it helps. |
@chuakc92 - It's what is used to play the file. The sound file is played through the command line interface so needs something like mplayer to play the sound. Just leave the exe in the same path where the zip file is. |
I removed Slack and Telegram variables and now I'm getting |
@kylekelso Okay, let me go ahead and install it |
Per the https://github.com/shime/play-sound
Windows (at least 10) doesn't ship with any of these by default. If installing mplayer solves @chuakc92's issue, then looks like we'll need to find some sort of simpler solution for this. |
I decided to give mpg123 a go instead of mplayer and placed all the files inside the root folder and it finally worked. |
As an added note, after adding mpg123 to my root folder, my |
@chuakc92 it's because mpg123 is 3rd on the list that @vp-cshow showed. The 2 that show errors are because mplayer and afplay don't exist for you and stops checking when mpg123 is found. |
Correct. The player has a setting to explicitly define what player to use, so if we distribute this with a player included, we can get rid of the log lines entirely. It probably wasn't showing for jef because macOS ships with mplayer, @jef can you confirm once you get a chance? Edit: Confirmed with a friend that mplayer doesn't come w/ macOS by default; I wonder... |
I can try some testing when I get back on my macOS and see what we need to do. |
Nope, not problems on macOS... I just pulled latest. I also don't have
I do have Using |
Any ideas then? First two ideas that I can think of are either redistribute a copy of one of the sound playing programs |
Well... Let me try on the windows computer and go from there. |
If you add additional player options to the play-sound library you can customize it to open any program you want as long as it can open via the command line. VLC does work through the command line but will require to you add it to your PATH to make it work anywhere. Here is a guide on how to add it to your path on Windows. Once it's in your PATH, it should work find when you pass in that player to your play-sound library when you initialize is like so:
This has worked for me so far, however it's not a very elegant solution considering you have to manually add the program of your choice to your PATH. This should work with windows media player as well but I have not tried it. |
Ok, here is what i see - there is one If one copies cmdmp3win.exe to the root of the folder AND renames to cmdmp3.exe then you will go from having 8 errors to 7 errors - i don't know if this means the sound will play! Maybe feature request is to say what player is being looked for and if no player is installed say no player installed. I have no idea how to code so cant contribute to doing that, sorry. Link to player i got FWIW https://lawlessguy.wordpress.com/2015/06/27/update-to-a-command-line-mp3-player-for-windows/ |
more info:
note the only one of these that is a real player was cmdmp3.exe - the rest were fake files. |
ok possible fix download mplayer from here and either add to your path variables or extract contents into the root of you project http://mplayerwin.sourceforge.net/downloads.html this was from shime/play-sound#39 no idea if it works, no idea how to force a test; i have both mplayer and cmdmp3 in root of my project now and all INFO messages have disappeared. |
i did this and i'm still getting unzipped and extracted the mpg123 folder to the root nvidia-snatcher folder. |
For me just pasting the single mplayer.exe file into the root folder of nvidia-snatcher was enough, no need to copy all contents of the mplayer zip file. |
For all those who have issues with audio notification on Windows, follow the instructions found here: https://github.com/jef/streetmerchant/wiki/Installation:-Windows#audio-notifications |
Hi I'm just confused on what this means. It prints it out every time I start the program. But the program seems to operate normally after..?
The text was updated successfully, but these errors were encountered: