Search found 1242 matches

by max
April 15th, 2021, 3:11 am
Forum: General Discussion
Topic: Music Location
Replies: 5
Views: 123

Re: Music Location

You need to post the "update" command to MPD. One way to do that is to use the command-line tool "mpc" which you apparently do not have installed. There are other ways with other clients, but I don't know which client you're using. But "mpd update" doesn't do anything, because "mpd.exe" doesn't have...
by max
April 12th, 2021, 6:25 pm
Forum: General Discussion
Topic: Music Location
Replies: 5
Views: 123

Re: Music Location

MPD doesn't care about your complex folder structure.
But did you update the database after changing the configuration? "mpc update"
by max
April 12th, 2021, 9:28 am
Forum: General Discussion
Topic: Music Location
Replies: 5
Views: 123

Re: Music Location

You can set music_directory to "m:\", but why would you want "c:\" ?
by max
April 12th, 2021, 7:15 am
Forum: Developers' Corner
Topic: Can not get the right response on find Artist
Replies: 6
Views: 150

Re: Can not get the right response on find Artist

Oh look: https://www.runeaudio.com/download/ The latest release for Pi2 is already 5 years old. The last changelog entry (https://www.runeaudio.com/changelog/) is 7 years old! Looks like Rune Audio is a dead project! Don't use it! Here's RuneAudio's MPD package: https://github.com/RuneAudio/RuneOS/t...
by max
April 12th, 2021, 7:13 am
Forum: Developers' Corner
Topic: Can not get the right response on find Artist
Replies: 6
Views: 150

Re: Can not get the right response on find Artist

Then I can't help you. You should ask Rune Audio for help - this is not a support site for Rune Audio, only for MPD.
by max
April 12th, 2021, 4:27 am
Forum: Developers' Corner
Topic: Can not get the right response on find Artist
Replies: 6
Views: 150

Re: Can not get the right response on find Artist

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

Re: Is Alsa Line-In Supported?

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

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: 66

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: 111

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: 10
Views: 440

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: 10
Views: 440

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: 10
Views: 440

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: 248

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: 214

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: 205

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: 312

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: 312

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: 312

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: 185

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.).