Page 1 of 1

Library Rebuild Progress and Statistics

PostPosted: 14 Jul 2016, 21:15
by Kassi
Hello!

Is there any possibility to see the progress of a MPD Library rebuild?
And some statistics about the library would be helpful as well.

My situation:
I got a quite big music library, over 550 GB, over 66000 files.
I started a library rebuild which never seemed to finish via Wifi.
So I connected the pi to the network by wire and started it again.
Now I would like to know what's going on.
I already installed "nethogs" on the pi so I can see that there is some traffic between my pi and my NAS (70kB/s with Wifi, 330kB/s with wire).
But some information about the progress would be more helpful.
Also, after rebuild is done, it would be nice to know how many files are in the library.

So feature request would be:
1. progress information while rebuilding the library
2. library statistics (how many files, last library rebuild date/time, ...)

I would like to know where the library is stored - is the a data base like SQLite or anything?

Best regards,
Kassi

------
Raspberry Pi 3b, X400 Amp Expansion, RuneOs: 0.3-beta, RuneUI: 1.3-beta

Re: Library Rebuild Progress and Statistics

PostPosted: 15 Jul 2016, 12:26
by hondagx35
Hi Kassi,

Is there any possibility to see the progress of a MPD Library rebuild?

RuneAudio is based on MPD and mpd does not offer such a feature.

I would like to know where the library is stored - is the a data base like SQLite or anything?

Code: Select all
###### mpd.conf ######
###################################
# Auto generated mpd.conf file
# please DO NOT edit it manually!
# Use RuneUI MPD config section
###################################

state_file   "/var/lib/mpd/mpdstate"
zeroconf_enabled    "yes"
zeroconf_name    "runeaudio"
bind_to_address "/run/mpd.sock"
bind_to_address    "any"
port    "6600"
max_connections    "20"
user    "mpd"
group    "audio"
db_file    "/var/lib/mpd/mpd.db"
sticker_file    "/var/lib/mpd/sticker.sql"
pid_file    "/var/run/mpd/pid"
music_directory    "/mnt/MPD"
playlist_directory    "/var/lib/mpd/playlists"
follow_outside_symlinks    "yes"
follow_inside_symlinks    "yes"
auto_update    "no"
filesystem_charset    "UTF-8"
id3v1_encoding    "UTF-8"
volume_normalization    "no"
audio_buffer_size    "2048"
buffer_before_play    "10%"
gapless_mp3_playback    "yes"
mixer_type    "software"

The database is at "/var/lib/mpd/mpd.db"

Frank

Re: Library Rebuild Progress and Statistics

PostPosted: 15 Jul 2016, 12:46
by Kassi
Hi Frank,

thank you for the info.
I will play around with that - maybe I find some way to validate if all files are cought by th rebuild ;-)

Best regards,
Kassi