(03-12-2021, 08:05 PM)adrii Wrote: Hi Francesco
Get well soon!
Adrian.
Hi Adrian,
today I feel much better and therefore I would like to resume studying how to develop a "patch free" PeppyMeter installation.
In this regard, I would like to point out that my knowledge of MPD and ALSA is very limited. First of all I would like to mention how I solved the PeppyAlsa problem which has the task of creating a FIFO file which is necessary for PeppyMeter to work. My only change to the original MPD is to replace the Default output of the Main-Alsa with PeppyAlsa which immediately redirects the traffic to the default output and creates the FIFO file. The first modification is made with a patch to the playerlib.php code, while the PeppyAlsa configuration is present in /etc/asound.conf.
My first tests were aimed at having Main-Alsa with its default output and as secondary PeppyAlsa for the creation of the FIFO file but I could not define any output, I tried with "dummy" without any good result.
Now, from what I understand, thanks to your configuration, it is possible to define the dummy output.
Here are some doubts:
1. can the same dummy be used for two different motors?
2. in the case of PeppyAlsa, is there to add also the configuration of PeppyAlsa itself in the file?
I believe that if you are available, it might be better to use another communication system other than this forum: what do you think?
Thank you, thank you, thank you and greetings,
Francesco
P.S.: sorry for my English