yktoo / ymuse

GTK client for Music Player Daemon (MPD) written in Go
https://yktoo.com/en/software/ymuse/
Apache License 2.0
257 stars 14 forks source link

[Feature Request] Play http stream from remote server #22

Closed dayfuaim closed 3 years ago

dayfuaim commented 3 years ago

Ymuse is great app for MPD. :)

I have mpd running on next local network machine and it outputs the httpd stream.

Please make the possibility to play httpd stream.

yktoo commented 3 years ago

What do you mean with "httpd stream"? Is the existing stream functionality not sufficient for your goals?

dayfuaim commented 3 years ago

I mean the following.

MPD is running at one computer, but I want to listen the stream from another one. MPD is configured like this:

audio_output {
    type            "httpd"
    name            "My HTTP Stream"
    encoder         "lame"          # vorbis/lame
    port            "6800"
    bitrate         "320"
    format          "44100:24:2"
}

If I simply connect to MPD, I don't hear any sound.

yktoo commented 3 years ago

As far as I'm concerned, it's purely the MPD's configuration that has nothing to do with the client. To be honest I don't quite understand what is expected of Ymuse to support this.

yktoo commented 3 years ago

@dayfuaim Did you manage to achieve HTTP streaming by means of MPD configuration?

dayfuaim commented 3 years ago

@yktoo Yes, kind of. Now I close this issue.

curiousercreative commented 1 year ago

@yktoo sorry to bug you here, but hoping you can help. Does Ymuse support streaming from a remote mpd server? I'm new to mpd, but I've got a server running and outputting an HTTP stream that I can play from VLC for example (remote server port 8000). I thought consume mode was maybe a toggle for that, but it didn't seem to do anything.

I've got the latest flatpak installed, running on Pop! 22.04.

yktoo commented 1 year ago

@curiousercreative Ymuse is merely a frontend to MPD. I'm not sure what you mean with "streaming from a remote mpd server." Ymuse can connect to any remote MPD server reachable via TCP, to control it.

curiousercreative commented 1 year ago

@yktoo ok, thanks for clarifying. There's an Android client MAPD that supports streaming the http audio output (in addition to controlling) that is nice and I'm looking for a similar solution for the desktop. Really though, I think I might want both an MPD server AND a streaming server (airsonic/subsonic API compatible perhaps?). Something that shares a library with MPD would be ideal, like this but more mature ideally: https://github.com/pborzenkov/mpdsonic