Search found 1236 matches

by max
April 5th, 2021, 10:34 am
Forum: Help
Topic: Is Alsa Line-In Supported?
Replies: 2
Views: 67

Re: Is Alsa Line-In Supported?

by max
April 2nd, 2021, 5:06 pm
Forum: General Discussion
Topic: Remote Connection To MPD
Replies: 8
Views: 243

Re: Remote Connection To MPD

JamesCRocks wrote: April 2nd, 2021, 2:46 pm Are you saying I don't need the bind_to_address at all?
Correct.
by max
March 31st, 2021, 9:04 am
Forum: Help
Topic: shoutcast mount stream using https
Replies: 1
Views: 35

Re: shoutcast mount stream using https

This isn't of MPD's business - the port where the stream is published is Shoutcast's business.
by max
March 31st, 2021, 9:03 am
Forum: Help
Topic: MPD + jack output on Windows.
Replies: 2
Views: 70

Re: MPD + jack output on Windows.

I don't know either - the JACK project would be the right place to ask (consult JACK documentation first).
by max
March 29th, 2021, 5:59 pm
Forum: General Discussion
Topic: Remote Connection To MPD
Replies: 8
Views: 243

Re: Remote Connection To MPD

Why do you want to configure bind_to_address? This isn't "linuxy", this is "IPy", this is about configuring servers for the Internet Protocol, and that's the same on Windows and Linux. But on most Windows programs, you usually don't have options like "bind_to_address" - those programs just bind to e...
by max
March 28th, 2021, 9:33 pm
Forum: General Discussion
Topic: Remote Connection To MPD
Replies: 8
Views: 243

Re: Remote Connection To MPD

The only port I have been using is 6600, which is configured multi-directionally for TCP & UDP. Not exactly true. UDP is not used. And what does "multi-directional" mean? Is there a control port setting I am missing from mpd.conf? Yes, and it's all documented: https://www.musicpd.org/doc/html/user....
by max
March 28th, 2021, 9:42 am
Forum: General Discussion
Topic: Remote Connection To MPD
Replies: 8
Views: 243

Re: Remote Connection To MPD

You configured your "httpd" output on port 6600, but the control port also defaults to port 6600 (since you did not specify a different non-standard port). That doesn't make sense.
by max
March 23rd, 2021, 9:05 pm
Forum: Tips, Tricks, and Hacks
Topic: mpd idle mask
Replies: 2
Views: 172

Re: mpd idle mask

The protocol documentation explains them all! https://www.musicpd.org/doc/html/protocol.html#querying-mpd-s-status Don't run this in a separate thread - this only adds overhead and is very fragile. Rather register the libmpdclient socket in the GLib event loop and let it invoke a callback when MPD r...
by max
March 21st, 2021, 9:49 pm
Forum: General Discussion
Topic: Signature
Replies: 2
Views: 170

Re: Signature

Your link is relative, it has no protocol, thus gets requested from forum.musicpd.org
by max
March 21st, 2021, 9:47 pm
Forum: General Discussion
Topic: MPD Potentially Harmful?
Replies: 2
Views: 165

Re: MPD Potentially Harmful?

This is just security theater. If it had really found something "harmful", it would have told you more details. I have no idea what your problem means and why this happens. Of course, it is a good idea to be cautious. Somebody may have hacked the MPD website and put a trojaned MPD build there. That ...
by max
March 17th, 2021, 8:18 am
Forum: Help
Topic: Mpd on MoodeAudio: command for add current song to playlist ??? Help !!!
Replies: 5
Views: 261

Re: Mpd on MoodeAudio: command for add current song to playlist ??? Help !!!

As I already said, this is Python, not Shell.
by max
March 17th, 2021, 5:25 am
Forum: Help
Topic: Mpd on MoodeAudio: command for add current song to playlist ??? Help !!!
Replies: 5
Views: 261

Re: Mpd on MoodeAudio: command for add current song to playlist ??? Help !!!

You could use Python-MPD2: https://python-mpd2.readthedocs.io/en/latest/

from mpd import MPDClient
client = MPDClient()
client.connect("localhost", 6600)
song = client.currentsong()
if song: client.playlistadd('the_playlist_name', song['file'])

Simple, isn't it?
by max
March 16th, 2021, 8:01 pm
Forum: Help
Topic: Mpd on MoodeAudio: command for add current song to playlist ??? Help !!!
Replies: 5
Views: 261

Re: Mpd on MoodeAudio: command for add current song to playlist ??? Help !!!

mpc has no command to add something to a stored playlist. Adding this feature would be easy if you know some C. MPD has commands to do it, and libmpdclient (the C library used by mpc) has it as well - it just needs to be wired to a mpc command.
But you could also write a small Python script to do it.
by max
March 9th, 2021, 10:02 am
Forum: Help
Topic: Use database from Upnp and local disc
Replies: 1
Views: 141

Re: Use database from Upnp and local disc

That is not yet possible - welcome to write a feature request on GitHub!
Right now, you can only combine ("mount") several "simple" plugins together (with different storages, e.g. local hard disk, nfs, usb stick etc.).
by max
March 2nd, 2021, 12:05 pm
Forum: Help
Topic: MPD not playing most (but not all) streams anymore
Replies: 6
Views: 297

Re: MPD not playing most (but not all) streams anymore

No, I have no idea what may cause this. I never use any ALSA plugins, I always use "hw" devices directly. As I already mentioned here, this reduces CPU usage and increases quality - it's a win-win.
by max
March 2nd, 2021, 5:55 am
Forum: Help
Topic: MPD not playing most (but not all) streams anymore
Replies: 6
Views: 297

Re: MPD not playing most (but not all) streams anymore

Everything looks fine in your log. If I understood you correctly, then only the first stream is audible. The one thing that is different in the first stream is that its sample rate is 32 kHz, the others have 44.1 kHz. 32 kHz is unusual, and it's unusual that a "standard" sample rate like 44.1 kHz fa...
by max
February 28th, 2021, 1:42 pm
Forum: Help
Topic: MPD not playing most (but not all) streams anymore
Replies: 6
Views: 297

Re: MPD not playing most (but not all) streams anymore

And: note that Raspi kernel 5.10 is known to be buggy. I don't know if yours is already fixed, but it might worth trying an older kernel.
See https://github.com/MusicPlayerDaemon/MPD/issues/1056
by max
February 28th, 2021, 1:41 pm
Forum: Help
Topic: MPD not playing most (but not all) streams anymore
Replies: 6
Views: 297

Re: MPD not playing most (but not all) streams anymore

I can play all of those streams. Post a verbose log of MPD, playing each stream. And read https://www.musicpd.org/help/
Note that you're not using an ALSA "hw" device. Doing that would reduce CPU usage and would improve quality.
by max
February 27th, 2021, 11:21 am
Forum: Help
Topic: how to fix the decoders plugin error
Replies: 4
Views: 224

Re: how to fix the decoders plugin error

Maybe my question wasn't phrased well. The decode libraries MPD uses say that those files are broken. I did not check, that's not my expertise. MPD doesn't decode anything, it relies on many external libraries for the job. And those libraries say the files are broken. Do you believe those files are ...
by max
February 26th, 2021, 7:34 am
Forum: Help
Topic: how to fix the decoders plugin error
Replies: 4
Views: 224

Re: how to fix the decoders plugin error

What makes you believe that MPD should be able to play those files?