stilliwigs
Posts: 9
Joined: Mon Mar 25, 2013 6:22 pm

MPC cannot find USB

Tue Jan 21, 2014 5:55 pm

Hi,

So after a while of the RPI being dormant as I decided what to do with it, I finally decided to have a headless music player.

So I set up mpd and mpc, added my internet radio feeds and configured minidlna that now plays my USB files.

But. Thats not enough! I want to be able to play the files locally on the RPi.

So did an mpc add /usb0 (my mount point for the USB) and it states the directory is not found. So I tried mpc add /dev/sda1 which didnt work either.

So my question is how can I make it so I can access my USB files through mpd/mpc?

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: MPC cannot find USB

Tue Jan 21, 2014 6:07 pm

You must mount /dev/sda1 to a mount point (a directory) before you can access files stored on it.
If you're running the GUI desktop this happens automatically, however since you're running purely from the console then you need to run the mount command to manually mount your storage device.

Richard S.

stilliwigs
Posts: 9
Joined: Mon Mar 25, 2013 6:22 pm

Re: MPC cannot find USB

Tue Jan 21, 2014 6:18 pm

Thanks for the speedy reply, I have already mounted my usb . it does so on boot

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: MPC cannot find USB

Tue Jan 21, 2014 6:24 pm

If your device is mounted then I don't see why there should be a problem.

Can you browse files from your flash drive if you "cd" and "ls" from the console??

Does MPC have the correct security permissions to access the mount point (read/execute attributes) assuming it runs from a non-root account??

Richard S.

stilliwigs
Posts: 9
Joined: Mon Mar 25, 2013 6:22 pm

Re: MPC cannot find USB

Tue Jan 21, 2014 7:20 pm

I have found a work around by using Moc. Does what I needed mpd to do.

Cheers for your time

Return to “Troubleshooting”