hi guys,
trying to add a local file using mpc gives the following error:
root@OpenWrt:~/.mpd# mpc add file:///tmp/sleep.mp3
error adding file:///tmp/sleep.mp3: Access denied
--------------------------------------------------------------------------------------------------------------
my mpd.conf has:
music_directory "~/music"
playlist_directory "~/.mpd/playlists"
db_file "~/.mpd/database"
log_file "~/.mpd/log"
pid_file "~/.mpd/pid"
state_file "~/.mpd/state"
sticker_file "~/.mpd/sticker.sql"
user "root"
group "root"
bind_to_address "127.0.0.1"
------------------------------------------------------------------
i can play internet radio just fine, such as:
mpc add http://relay3.slayradio.org:8000/
this works. however, playing local files creates error.
any idea what kind of access denied it is talking about ? i even did chmod 777 on all the files and folder in ~/.mpd folder and /tmp/sleep.mp3
and there is nothing in the log for mpd either!!