Recent changes Random page
GAMING
Technology
 
Gaming
Entertainment
Science Fiction
Biggest wikis
Hobbies
Music
See more...

Hack:applescript

From Music Player Daemon Community Wiki

Jump to: navigation, search
 

[edit] Running mpd on osx using an applescript

launch the script editor application and copy the following lines

do shell script "/opt/local/bin/mpd /opt/local/etc/mpd.conf"

Compile it to check it works. Note that /opt/local/bin/mpd is the path for a macports installation, adjust it to your needs.

Save the script in a chosen folder and in the format field select "application", then go to the system preferences and put the application you just created in the start-up list for your user.

Now mpd should start on boot with settings given in /opt/local/etc/mpd.conf .

Rate this article:
Share this article: