Replies: 21 comments
-
I tried to insert a path to an mp3 files but got this error message: INFO: Could not find files for the given pattern(s) |
Beta Was this translation helpful? Give feedback.
-
i have the same error message |
Beta Was this translation helpful? Give feedback.
-
Try inserting that in quotes: "C:\Users\Michael Rig\streetmerchant\beep.MP3" Also try not to have Space in path e.g Michael Rig -> Michael_Rig If not Try this as well: "C:\Users\Michael Rig\streetmerchant\beep.MP3" |
Beta Was this translation helpful? Give feedback.
-
@mukul12 No, none of that works. I already tried with and without quotes. As far as the space in my rig name that is the correct spelling of my computer name, spaces and all. The problem from what I can tell so is, even though the path to the file is correct the mp3 files is not executing as a player needs to be invoked. Looking into writing a script in PowerShell. As a batch file did not work. Maybe I'm making this harder than it is but without an alarm this script npm script is useless. |
Beta Was this translation helpful? Give feedback.
-
im in the same boat ufomike |
Beta Was this translation helpful? Give feedback.
-
I am having the same issue. I have the .mp3 file in the root of the streetmerchant dir and the setting set to PLAY_SOUND="C:\streetmerchant\quite-impressed-565.mp3". I am running Node 14.15.1. When I run the test:notification, the toast notification works fine but getting the following error for the sound and it can't find the sound player. INFO: Could not find files for the given pattern(s). |
Beta Was this translation helpful? Give feedback.
-
thats interesting kswim. I get the same pattern warning, but says my sound player is found. The test notification plays the sound and I get the notification email, but the given pattern(s) notification continues. |
Beta Was this translation helpful? Give feedback.
-
Where is your build located? This might have something to do with the finding the sound player error. |
Beta Was this translation helpful? Give feedback.
-
@huntinganswers Hmm, looks like your build is under your user dir. Mine is in the C:\ root. This might be the issue. Let me rebuild this in my user dir and give it another try. Thnx. |
Beta Was this translation helpful? Give feedback.
-
@huntinganswers Same issue: |
Beta Was this translation helpful? Give feedback.
-
thats just weird! Im not using powershell either. This might be a stupid question ... do you have all 4 of the mp3 player files in the streetmerchant folder? |
Beta Was this translation helpful? Give feedback.
-
I do not have these. They are not part of the repo and was not placed during the install. |
Beta Was this translation helpful? Give feedback.
-
unzip these to the root streetmerchant folder |
Beta Was this translation helpful? Give feedback.
-
@huntinganswers Yep that worked. Thnx. Now just need to work out the "Could not find files for the given pattern(s)" issue. It seems to be working besides that. |
Beta Was this translation helpful? Give feedback.
-
nice. I think perhaps the command or whatever is simply looking for the player earlier in the chain, but finds it after..if that makes sense? I'm not a coding expert - only ok with attempting to understand. |
Beta Was this translation helpful? Give feedback.
-
In my case the script can't find my mp3 file or the player so created a batch file that open a PowerShell window and invokes a player and plays the mp3 file. then populated the .env file where it says PLAY_SOUND. |
Beta Was this translation helpful? Give feedback.
-
I would put the music file where you've put streetmerchant and reference it like Also take a look at this: https://github.com/jef/streetmerchant/wiki/Installation:-Windows#audio-notifications |
Beta Was this translation helpful? Give feedback.
-
I am having similar issue. After extracting all cmdmp3 files to streetmerchant, I am not able to open player. On windows. |
Beta Was this translation helpful? Give feedback.
-
@jef, thank you for the reply I tried your suggestion and got the player to load but unfortunately not the mp3 files. Can you please look into this matter since multiple users are experiencing the same issue? Does the sound file work with your .env files? Once again thank you for taking the time and looking into this. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, this is user error 😢 I will look into the
I am able to play sound fine. |
Beta Was this translation helpful? Give feedback.
-
Description
Do I just paste the path to an MP3 file on my hard disk in the PLAY_SOUND, section to get it the sound to work on the .env files. example: PLAY_SOUND=C:\Users\Michael Rig\streetmerchant\beep.MP3
Beta Was this translation helpful? Give feedback.
All reactions