Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


mdp.conf overwritten
#7
(01-07-2019, 02:52 AM)TheOldPresbyope Wrote: Well, yeah, but as an interim hack, the "metadata_to_use" line could be added to /var/www/inc/playerlib.php so it's written to mpd.conf during this automatic generation.

See function wrk_mpdconfig.

Kent

Thx Kent, I added the line somewhere in this function you mentioned (at the end) and it works great!

Code:
……
       $output .= "mixer_type \"software\"\n";                                                                                                            
       $output .= "}\n\n";

       // used tags
       $output .= "metadata_to_use \"artist,album,title,track,name,genre,date,composer,performer,comment,disc\"\n";
                                                 
       $fh = fopen('/etc/mpd.conf', 'w');
……
 :@
Reply


Messages In This Thread
mdp.conf overwritten - by JST1963 - 01-07-2019, 01:30 AM
RE: mdp.conf overwritten - by JST1963 - 01-07-2019, 01:36 AM
RE: mdp.conf overwritten - by Tim Curtis - 01-07-2019, 01:39 AM
RE: mdp.conf overwritten - by TheOldPresbyope - 01-07-2019, 02:52 AM
RE: mdp.conf overwritten - by JST1963 - 01-07-2019, 10:42 PM
RE: mdp.conf overwritten - by JST1963 - 01-07-2019, 10:47 PM
RE: mdp.conf overwritten - by Tim Curtis - 01-07-2019, 04:55 AM
RE: mdp.conf overwritten - by TheOldPresbyope - 01-07-2019, 01:15 PM
RE: mdp.conf overwritten - by Sehnsucht - 07-11-2021, 04:59 PM

Forum Jump: