Page 1 of 1

MPD problem

Posted: Wed Oct 26, 2011 12:13 pm
by will.brett
Hi everyone,

I have a slight problem when it comes to installing MPD

Following the instructions to the letter, I come across this issue that may be obvious but it has had me stumped.

When i need to edit the audio_output section of the mpd config file i get a different config to that described both in the tutorial and the openwrt wiki

this is what i get



_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (bleeding edge, r12857) -------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@OpenWrt:/# vi /etc/mpd.conf

# An example configuration file for MPD
# See the mpd.conf man page for a more detailed description of each parameter.

######################## REQUIRED PATHS ########################
music_directory "~/music"
playlist_directory "~/.mpd/playlists"
db_file "~/.mpd/mpd.db"
log_file "~/.mpd/mpd.log"
error_file "~/.mpd/mpd.error"
################################################################


######################## OPTIONAL PATHS ########################
#
# If you wish to use mpd --kill to stop MPD, then you must
# specify a file here in which to store MPD's process ID.
#
#pid_file "~/.mpd/mpd.pid"
#
# If specified, MPD will save its current state (playlist,
# current song, playing/paused, etc.) at exit. This will be
# used to restore the session the next time it is run.
#
- /etc/mpd.conf 1/276 0%



I do not get the audio_output {

so i can not change it :(

I tried just typing it in but didnt seem to work.

any help would be a life saver (slight exaggeration) but would be very much appreciated.

Re: MPD problem

Posted: Wed Oct 26, 2011 12:33 pm
by mightyohm
Can you try posting the entire mpd.conf file?

Have you tried removing and reinstalling mpd on the router?

Re: MPD problem

Posted: Wed Oct 26, 2011 12:41 pm
by will.brett
That was the whole mpd config file.

And yeas iv tried reinstalling twice now. Iv followed the instructions the best i can so im not sure what ive done wrong

Re: MPD problem

Posted: Wed Oct 26, 2011 10:52 pm
by gerben
You just need to scroll further down.
- /etc/mpd.conf 1/276 0%

This means you are on line 1 of the 276. So your file has 276 lines, not just the 23 you posted. Mine also has 276 lines, so that seems to be OK.

Re: MPD problem

Posted: Wed Oct 26, 2011 10:54 pm
by will.brett
gerben wrote:You just need to scroll further down.
- /etc/mpd.conf 1/276 0%

This means you are on line 1 of the 276. So your file has 276 lines, not just the 23 you posted. Mine also has 276 lines, so that seems to be OK.
If that is the case how do i see the rest? because it doesnt post....after the stuff i copied and pasted its just blank.

Re: MPD problem

Posted: Thu Oct 27, 2011 4:24 am
by will.brett
Im going to attempt to remedy this issue tonight. I'm sure i have just done something blatantly stupid but i really am stumped. I load the MPD config and wait around ten minutes and all that appears as what i posted at the beginning of this thread. I am i meant to type anything in to get to the audio_output?

You say i need to scroll down further, but when i do this using the mouse wheel it just shows blank nothingness.

Thanks

will brett

Re: MPD problem

Posted: Thu Oct 27, 2011 7:39 am
by gerben
Scrollwheel doesn't work in telnet. Just keep pressing the down key till you are at the bottom of the screen. If you continue pressing it more lines will appear.

A very short version of how 'vi' works: viewtopic.php?f=2&t=394&p=1957#p1957

Re: MPD problem

Posted: Thu Oct 27, 2011 7:43 am
by will.brett
Thank you for your help i new it would have been something obvious and that i was just being stupid.

Re: MPD problem

Posted: Thu Oct 27, 2011 2:38 pm
by will.brett
problem solved.

Thanks of the help

Re: MPD problem

Posted: Sun Nov 06, 2011 4:35 pm
by janur55
hey \...i am new in here
i want to build wifi radio inernet...should i build my own server..or i can use another server which built by anyone?..maybe like directly acsess shoutcast.com