P
P
psiklop2020-05-09 06:11:43
icecast
psiklop, 2020-05-09 06:11:43

How to run icecast + mpd?

Hello.

I wanted to start broadcasting music on the site from my server. I set it up according to the icecast2 + mpd + mpc

instructions , it works, but then I decided to set up different mount points with different music and I don’t understand how to do it, I didn’t do anything similar before. Config piece /etc/icecast2/icecast.xml:

<listen-socket>
        <port>6601</port>
        <shoutcast-mount>/music</shoutcast-mount>
</listen-socket>
<listen-socket>
        <port>6602</port>
        <shoutcast-mount>/xbox</shoutcast-mount>
</listen-socket>


A piece of vi config /etc/mpd.conf:
audio_output {
        type            "shout"
        name            "Music Stream"
        host            "localhost"
        port            "6601"
        mount           "/music"
        password        "xxx"
        bitrate         "128"
        format          "44100:16:2"

}

audio_output {
        type            "shout"
        name            "Xbox Music Stream"
        host            "localhost"
        port            "6602"
        mount           "/xbox"
        password        "xxx"
        bitrate         "128"
        format          "44100:16:2"
}


Set up playlists, download music.
Then I execute mpc playit, but of course it sounds the same at all mount points and also
mpc helpdid not clarify anything :(

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question