You are not logged in.

#1 2015-01-23 01:26:31

avr
Member
Registered: 2014-09-25
Posts: 36

[Solved] MPD shows music directory structure, but no music files

Both ncmpcpp and sonata can connect to mpd, but when I browse my music directory I don't see any music.

$ ss -tlp
LISTEN     0      128                                                                                                     :::6600                                                                                                   :::*  
pid_file "/run/mpd/mpd.pid"
db_file "/var/lib/mpd/mpd.db"
state_file "/var/lib/mpd/mpdstate"
playlist_directory "/var/lib/mpd/playlists"
music_directory "/var/lib/mpd/music"

audio_output {
	    type	"alsa"
	    name	"Onboard sound card"
	    mixer_type	"software"
}

All folders and songs under /var/lib/mpd/music/albums have chmod value of 777 and are owned by $USER and its group.

Does anyone know what I am doing wrong?

Last edited by avr (2015-01-24 21:25:50)

Offline

#2 2015-01-23 08:12:38

GloW_on_dub
Member
Registered: 2013-03-13
Posts: 391
Website

Re: [Solved] MPD shows music directory structure, but no music files

Did you update the mpd databse ?
With ncmpcpp, press 'u'.

Last edited by GloW_on_dub (2015-01-23 08:12:59)

Offline

#3 2015-01-23 18:48:26

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: [Solved] MPD shows music directory structure, but no music files

of course your user has access to that directory? (including parent directories)


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#4 2015-01-24 05:39:07

avr
Member
Registered: 2014-09-25
Posts: 36

Re: [Solved] MPD shows music directory structure, but no music files

GloW_on_dub wrote:

Did you update the mpd databse ?
With ncmpcpp, press 'u'.

That did it. Thanks!

Offline

#5 2015-01-24 05:57:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] MPD shows music directory structure, but no music files

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB