aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-13 18:46:38 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-13 18:46:38 +0000
commit965e6edcf18948ea6971040495e2121a326aa11b (patch)
tree07d401bd1726b84d73ccba099b677067a05730d4 /src/directory.c
parent8c484eeccfaafd2d5eaf7cd77842581004957a8a (diff)
downloadmpd-965e6edcf18948ea6971040495e2121a326aa11b.tar.gz
mpd-965e6edcf18948ea6971040495e2121a326aa11b.tar.xz
mpd-965e6edcf18948ea6971040495e2121a326aa11b.zip
redimentary addition of url's to playlist
git-svn-id: https://svn.musicpd.org/mpd/trunk@1000 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/directory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/directory.c b/src/directory.c
index 356664501..095023f0f 100644
--- a/src/directory.c
+++ b/src/directory.c
@@ -1045,7 +1045,7 @@ int traverseAllIn(FILE * fp, char * name,
if((directory = getDirectory(name))==NULL) {
Song * song;
- if((song = getSong(name)) && forEachSong) {
+ if((song = getSongFromDB(name)) && forEachSong) {
return forEachSong(fp, song, data);
}
myfprintf(fp,"%s: directory or file not found\n",COMMAND_RESPOND_ERROR);
@@ -1269,7 +1269,7 @@ Song * getSongDetails(char * file, char ** shortnameRet,
return (Song *)song;
}
-Song * getSong(char * file) {
+Song * getSongFromDB(char * file) {
return getSongDetails(file,NULL,NULL);
}