redimentary addition of url's to playlist

git-svn-id: https://svn.musicpd.org/mpd/trunk@1000 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes
2004-05-13 18:46:38 +00:00
parent 8c484eeccf
commit 965e6edcf1
7 changed files with 56 additions and 12 deletions
+2 -2
View File
@@ -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);
}