You are not logged in.
Hey there, I had some trouble installing MPD + NCMPCPP myself a while ago and realized that there's probably a few other people struggling with it.
There was a very similar script to this in this very section but sadly the link has 404'd.
I've tested this 15 times forward and back with no issues on my end. Please inform me of any bugs!
Update: here is the git repo if you want to read through the source. It's nothing special, but the admin says so.
https://github.com/jaydn-/mpd
Download links:
git clone https://github.com/jaydn-/mpd.git
or
wget -O install_mpd_for_arch.sh http://pastebin.com/raw.php?i=PLvLrHjc && wget -O mpd.conf http://pastebin.com/raw.php?i=jr1ddPRu && wget -O ncmpcpp.conf http://pastebin.com/raw.php?i=fJMtEy0d
And then
sh install_mpd_for_arch.sh
Last edited by Jaydn (2014-03-20 04:22:30)
Offline
Can you please include a link to the github repo so people can read the script?
Offline
Yeah, no thanks.
You're going the wrong way about creating the config file, ending up with a world writeable file(!).
If you're going to supply your own configuration, why not just do exactly that? Include it in your git repository rather than having to maintain echo lines in your script. KISS!
Edit: There's also no need to mark a shell script as executable when you can just do "sh script.sh"
Last edited by cedeel (2014-03-20 03:48:29)
Offline
Yeah, no thanks.
You're going the wrong way about creating the config file, ending up with a world writeable file(!).If you're going to supply your own configuration, why not just do exactly that? Include it in your git repository rather than having to maintain echo lines in your script. KISS!
Edit: There's also no need to mark a shell script as executable when you can just do "sh script.sh"
Ah yes, very good point. Sorry quite tired today although that's really no excuse.
Fixing the OP.
EDIT: Also fixed the ncmpcpp config and fixed a nano bug
Thank you for pointing all this out
Last edited by Jaydn (2014-03-20 04:23:03)
Offline
Hey there, I had some trouble installing MPD + NCMPCPP myself a while ago and realized that there's probably a few other people struggling with it.
There was a very similar script to this in this very section but sadly the link has 404'd.
https://github.com/ronalde/mpd-configure
There is another installer if you wish to examine it, haven't used it though but just tossing it out there. It was from the https://bbs.archlinux.org/viewtopic.php?id=123515 thread.
Last edited by frank604 (2014-03-20 04:58:41)
Offline
I made a script to set up mpd that is somewhat simlar to this, which is linked in arch's mpd wiki page. for ages
In my case its all in one single .sh file. network is autodetected and appropriate bindings created. audio output is only created if pulse is detected.
the only question the user has to answer is the path to the music files (with tab completion)
Last edited by Rasi (2014-03-22 07:37:56)
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
@Rasi - I was trying to find your script for the OP and failed. It is a good script, I used it to set mine up long ago.
Offline