You are not logged in.

#1 2012-04-01 17:31:44

Pyrobisqit
Member
Registered: 2011-05-26
Posts: 23

MPD server killing stream after each track

Hello,

I'm trying to set up a remote server with MPD.

All the files will be stored from the server, and all I will have access to from the client (player) is controlling the MPD daemon and a nice OGG output stream.
The problem is that every time I change the track, the OGG stream ends, and players like Parole can't handle it nicely.
Ogg123 seems to work well with this, except when I load a new playlist, where it also fails.
Anyone knows a way to make the server stream silence ALWAYS? (even when the MPD server is not running).

I'm using the built-in httpd streaming server in MPD, but I wouldn't mind changing to Icecast if this solves the issue.
The ideal set up would be the client connecting to the stream upon startup, and start playing the stream, so if MPD is stopped, or it's not playing, the stream still works and the client can connect. This way I can use an MPD client to control the server, and even be able to stream to other platforms such as Android while at the same time, I'm controlling it from the MPD client.

I hope I've been clear enough. Thanks guys, any help is appreciated, even dirty hacks. If it works, it works.

Offline

#2 2012-04-02 18:51:42

schalox
Member
From: Finland
Registered: 2011-05-10
Posts: 21

Re: MPD server killing stream after each track

"always_on" option seems to do the trick.

audio_output {
    type            "httpd"
...
    always_on       "yes"
}

Offline

#3 2012-04-02 20:17:12

Pyrobisqit
Member
Registered: 2011-05-26
Posts: 23

Re: MPD server killing stream after each track

schalox wrote:

"always_on" option seems to do the trick.

audio_output {
    type            "httpd"
...
    always_on       "yes"
}

Doesn't work. And it seems I'm not the only one with the issue.

http://ubuntuforums.org/showthread.php?t=1720477

Is this a bug? Or am I missing something?

Offline

Board footer

Powered by FluxBB