Search found 1109 matches

by max
April 9th, 2020, 12:17 pm
Forum: Help
Topic: Problems with ampersand chars into song titles
Replies: 16
Views: 1481

Re: Problems with ampersand chars into song titles

What makes you so sure that the stream is UTF-8?
How can I reproduce the problem?
by max
April 8th, 2020, 8:09 pm
Forum: Help
Topic: Problems with ampersand chars into song titles
Replies: 16
Views: 1481

Re: Problems with ampersand chars into song titles

That's still 3 bug-fix releases behind ...

... but what character set is your stream using?
by max
April 8th, 2020, 3:13 pm
Forum: Help
Topic: Problems with ampersand chars into song titles
Replies: 16
Views: 1481

Re: Problems with ampersand chars into song titles

Your MPD version is very old and unsupported.
From the page I linked: "make sure you have the latest MPD version (0.21.22)"
by max
April 8th, 2020, 11:03 am
Forum: Help
Topic: MPD, GMPC and NAS
Replies: 5
Views: 2544

Re: MPD, GMPC and NAS

eilz wrote:
April 8th, 2020, 8:59 am
Sorry to bring up old thread, I was after help on confuguring MPD on the DNS-323 NAS, looks there was some success maybe, unsure.
https://www.musicpd.org/help/
by max
April 2nd, 2020, 4:27 pm
Forum: General Discussion
Topic: MPD slow startup
Replies: 20
Views: 4143

Re: MPD slow startup

MPD 0.21.22 and git master have a few optimizations, but there will be more.
by max
March 31st, 2020, 4:22 pm
Forum: General Discussion
Topic: MPD slow startup
Replies: 20
Views: 4143

Re: MPD slow startup

Loading the database was 0.5 seconds faster, so there was an improvement, but a small one compared to the rest of your performance problem. But your perf report gave me some hints on what to optimize. Since your music database is a lot larger than mine, and larger datasets are better for profilers, ...
by max
March 31st, 2020, 12:13 pm
Forum: General Discussion
Topic: MPD slow startup
Replies: 20
Views: 4143

Re: MPD slow startup

MPD spends nearly 10 seconds reading the database file (which is 6.2 MB, compressed). One thing you could try is patch the following line in the MPD source code: https://github.com/MusicPlayerDaemon/MPD/blob/master/src/fs/io/GunzipReader.hxx#L48 Change the 4096 to 65536. This will reduce I/O overhea...
by max
March 30th, 2020, 5:28 pm
Forum: General Discussion
Topic: MPD slow startup
Replies: 20
Views: 4143

Re: MPD slow startup

13s is still extremely slow. It shouldn't take longer than a second or so. If you upload a strace (with `-tttT`) somewhere, I'll check it out.
by max
March 30th, 2020, 4:03 pm
Forum: General Discussion
Topic: MPD slow startup
Replies: 20
Views: 4143

Re: MPD slow startup

That's it.
For auto_update to work, MPD needs to scan all directories on startup - unfortunately, there is no other way, because that's how Linux's inotify works.
Disable it, and the delay will be gone.
by max
March 30th, 2020, 3:41 pm
Forum: General Discussion
Topic: MPD slow startup
Replies: 20
Views: 4143

Re: MPD slow startup

Ok, next idea: do you happen to have `auto_update` enabled?
by max
March 30th, 2020, 10:17 am
Forum: General Discussion
Topic: MPD slow startup
Replies: 20
Views: 4143

Re: MPD slow startup

If it stats all your music files, then it updates the database - this can mean that MPD can't save the database or you didn't configure a database file. Check your configuration!
by max
March 29th, 2020, 4:04 pm
Forum: Help
Topic: [Solved] Load playlist
Replies: 8
Views: 1128

Re: Load playlist

This URL is stored in the play queue. But you can save your current queue any time into a stored playlist with mpc's `save` command.
by max
March 29th, 2020, 4:02 pm
Forum: General Discussion
Topic: MPD slow startup
Replies: 20
Views: 4143

Re: MPD slow startup

You should use the strace `-T` flag to show system call durations.
This strace doesn't give enough information because it is with daemonization enabled - try `mpd --no-daemon` instead.
by max
March 29th, 2020, 4:00 pm
Forum: Help
Topic: Certain files are played noisy by mpd but not with mpv
Replies: 1
Views: 489

Re: Certain files are played noisy by mpd but not with mpv

First you should look at your MPD verbose log (https://www.musicpd.org/help/)
by max
March 29th, 2020, 3:58 pm
Forum: Help
Topic: Thump at end of playlist
Replies: 2
Views: 517

Re: Thump at end of playlist

No parameter to change what?
by max
March 26th, 2020, 12:48 pm
Forum: General Discussion
Topic: MPD slow startup
Replies: 20
Views: 4143

Re: MPD slow startup

26s doesn't look OK at all. What is it waiting for? Maybe strace would show the timings?
by max
March 25th, 2020, 7:12 pm
Forum: Help
Topic: [Solved] Load playlist
Replies: 8
Views: 1128

Re: Load playlist

I think you misunderstand the "playlist_directory" setting. It is the storage for playlists managed by MPD (and its clients). This is not the play queue! MPD will not magically play files you copy there, and you shouldn't copy any files there at all. If you want to load a playlist file you created, ...
by max
March 24th, 2020, 7:44 am
Forum: Help
Topic: Running mpc from udev rule fails with Address family not supported by protocol
Replies: 2
Views: 522

Re: Running mpc from udev rule fails with Address family not supported by protocol

Another workaround could be connecting to MPD with a local socket.