Load based on classes
I have added your module to my mirror, and it plays as noted. But I wanted to use it in conjunction with my facila recog module by creating 2 entries in my config file.
Each entry would differ based on the classes label (2 different people), I hoped it would load the music stored in /home/pi/MagicMirror/modules/MMM-MP3Player/music/Name 1 or /home/pi/MagicMirror/modules/MMM-MP3Player/music/Name 2 dependant on which face it saw.
It seems to play music randomly and does not seem to load correctly based on the classes assigned.
Do I need to make any changes to the the actual module file.
Have you heard of any similar issues when you try to load the module based on classes with face recog. All my other modules seem to work well based on classes, this leads me to beleive it is something to do with this particular.
@mm1964 I do not think this module supports multiple instances in config.js
mm can only show or hide modules. it does not load them on demand.
Thank you, I wanted to use the Face Recog function to play a message when it recognises a face.
This would be a simlpe mp3 saying something like " Hello XXXXX" .
I was hoping to do this using this module by using classes, but thnk you for pointing out this would not work.
Do you know what I could use, before you starting talkimg real techy, I am a novice and no real coding experience.