Page 4 of 51

Re: RuneAudio+R e6

PostPosted: 24 Oct 2020, 14:48
by RolandBlaze
kiko wrote:MPD is getting partially through scanning the media shares and will end up with:

Oct 22 14:15 : exception: error on client 93: Output buffer is full
Oct 22 14:15 : exception: No such directory


I have a large collection also and just noticed i have the same issue on a watching output of a full scan on a complete rebuild from scratch today.

Oct 24 14:43:24 runeaudio taskset[402]: exception: error on client 483: Output buffer is full

Re: RuneAudio+R e6

PostPosted: 24 Oct 2020, 16:16
by R101
rern wrote:
R101 wrote:...
The /etc/netctl/SSID file which is saved in backup.gz is not the current one, but the one which was last restored. If I edit the profile in /etc/netctl, the changed file is not saved in the backup. I think this might be the case for some other files as well.

It seems like there's no need to restore Wi-Fi data because RuneAudio Wi-Fi has connected already to be able to restore. So it should be removed.

rern


That seems a good solution, rern. Presumably the file created from /boot/wifi is overwritten when the settings are restored?

Re: RuneAudio+R e6

PostPosted: 24 Oct 2020, 18:13
by RolandBlaze
@Rern

There's a problem with output mpc listall command for a very large Library, might be 30,000 tracks or more.
Please post results of:

Code: Select all
mpc listall | wc -l
mpc list album | wc -l


mpc listall | wc -l
MPD error: Connection closed by the server
0
mpc list album | wc -l
12728


Since generating thumbnails for all the albums and then starting from scratch with the latest image I cannot get my mpd to finish scanning my NAS, and get the error below at the end of scanning and the library icon is left flashing but nothing listed in library, only option is to restart mpd /rune and it will start scanning again.. and fail etc.. stuck in a loop :(

Appears as if MPD cannot handle the size of db after the extra added data with the thumbnails /covers/etc now:

Oct 24 18:01:12 runeaudio taskset[1238]: exception: error on client 330: Output buffer is full
Oct 24 18:02:08 runeaudio taskset[1238]: exception: error on client 336: Output buffer is full
Oct 24 18:02:10 runeaudio taskset[1238]: exception: error on client 337: Output buffer is full

Re: RuneAudio+R e6

PostPosted: 24 Oct 2020, 19:34
by s.k.
RolandBlaze wrote:There's a problem with output mpc listall command for a very large Library, might be 30,000 tracks or more.
Please post results of:

Code: Select all
mpc listall | wc -l
mpc list album | wc -l

mpc listall | wc -l
MPD error: Connection closed by the server
0
mpc list album | wc -l
12728

Same problem here.
I have bypassed the error with this suggestion.
https://www.runeaudio.com/forum/tuning-of-mpd-output-buffer-t1053.html

How can I rescan the albums without rebuild the library ?

@ rern
Is this normal ?
Image

Re: RuneAudio+R e6

PostPosted: 24 Oct 2020, 19:47
by RolandBlaze
Same problem here.
I have bypassed the error with this suggestion.
tuning-of-mpd-output-buffer-t1053.html


@s.k. Thanks bud. Have already tried "16384", but that failed so have now changed to "32768". But will take a while to rescan again to see if works.

Re: RuneAudio+R e6

PostPosted: 24 Oct 2020, 20:03
by s.k.
I also had "16384" but I have used "45056" :D
My scan have finished - the Albums are visible :!:

@ rern
A tweak button for very large collections seams good idea

Re: RuneAudio+R e6

PostPosted: 25 Oct 2020, 00:54
by kiko
I have set max_output_buffer_size "49152" and stil get Output buffer is full.

Any more ideas on what to change?

Re: RuneAudio+R e6

PostPosted: 25 Oct 2020, 09:29
by rern
@RolandBlaze, @s.k. and @kiko,

Please try:
- Download a revised update script:
Code: Select all
wget https://github.com/rern/RuneAudio-Re6/raw/UPDATE/srv/http/bash/cmd-list.sh -O /srv/http/bash

- Library > NAS or USB > go to an album track list
- Coverart context menu > Update database

rern

Re: RuneAudio+R e6

PostPosted: 25 Oct 2020, 20:48
by Beelzebassie
rern wrote:
Code: Select all
wget https://github.com/rern/RuneAudio-Re6/raw/UPDATE/srv/http/bash/cmd-list.sh -O /srv/http/bash

rern


I assume part of the syntax was missing; added "/cmd-list.sh" to it.

For me, the database now updates within 5 minutes. Thanx!

Re: RuneAudio+R e6

PostPosted: 26 Oct 2020, 06:04
by rern
Beelzebassie wrote:
rern wrote:
Code: Select all
wget https://github.com/rern/RuneAudio-Re6/raw/UPDATE/srv/http/bash/cmd-list.sh -O /srv/http/bash

rern


I assume part of the syntax was missing; added "/cmd-list.sh" to it.

For me, the database now updates within 5 minutes. Thanx!

Sorry.
Now it's included in today's update.

@RolandBlaze, @s.k. and @kiko,
Please remove the buffer tweak and update Library again.

rern