You are not logged in.

#1 2008-07-14 02:39:55

czar
Member
Registered: 2008-03-08
Posts: 115

[solved]Mpd won't play most of my songs

Using sonata to "update library" leaves most out including for this example "wild cherry- play that funky music.mp3"
doing "mpc add Wild\ Cherry\ -\ Play\ That\ Funky\ Music.mp3"
returns sucessfully, but fails to actually add it to the playlist
running "file Wild\ Cherry\ -\ Play\ That\ Funky\ Music.mp3"
returns "Wild Cherry - Play That Funky Music.mp3: Audio file with ID3 version 2.3, MP3 encoding"

Why won't it play my file?

vlc plays everything fine.

edit: amarok does fine also.

Last edited by czar (2008-07-15 19:55:38)

Offline

#2 2008-07-14 07:19:20

froli
Member
From: Germany
Registered: 2008-06-17
Posts: 455

Re: [solved]Mpd won't play most of my songs

Remove spaces of your songs names and type those commands:

killall mpd
mpd --create-db
mpd

Then "update library" with Sonata and it should work.


archlinux on Macbook Pro 10,1

Offline

#3 2008-07-14 07:31:41

czar
Member
Registered: 2008-03-08
Posts: 115

Re: [solved]Mpd won't play most of my songs

There are songs with spaces that do appear already in Sonata so i don't think thats the problem. How would i go about changing a large amount files? I tried to recreate the db anyway but i get Permission denied when trieing to access /var/lib/mpd/mpd.db even when using sudo.

Offline

#4 2008-07-14 08:01:14

froli
Member
From: Germany
Registered: 2008-06-17
Posts: 455

Re: [solved]Mpd won't play most of my songs

Are you sure that you killed mpd before recreate the db? You are supposed to be able to run mpd --create-db. At least as root user.


archlinux on Macbook Pro 10,1

Offline

#5 2008-07-14 11:25:40

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

Re: [solved]Mpd won't play most of my songs

czar wrote:

There are songs with spaces that do appear already in Sonata so i don't think thats the problem. How would i go about changing a large amount files? I tried to recreate the db anyway but i get Permission denied when trieing to access /var/lib/mpd/mpd.db even when using sudo.

the user specified in mpd.conf must have read/write access to all folders defined (playlist dir, db file etc..)
standard user is "mpd"... change the user to something usable (e.g. your login) and change the path to something that user has full access to.

I usally create a .mpd directory in my home and have all stuff written there...


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

#6 2008-07-15 19:55:20

czar
Member
Registered: 2008-03-08
Posts: 115

Re: [solved]Mpd won't play most of my songs

I had the user specified as my username already. This is solved though, i edited mpd.conf to point to ~/.mpd/ for all the configs and then the database was able to generate corectly as far as i can tell and everythings working great. Thanks for the help guys!

Offline

Board footer

Powered by FluxBB