aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-09 16:26:09 +0200
committerMax Kellermann <max@duempel.org>2008-10-09 16:26:09 +0200
commit6b9ffcffe2c255a918398e58418466529d362da9 (patch)
tree60305d93604faf1ac777f04331ace7ad09767495 /src/playlist.c
parent4409c34a8c8b0020df78885ece8b01911413be21 (diff)
downloadmpd-6b9ffcffe2c255a918398e58418466529d362da9.tar.gz
mpd-6b9ffcffe2c255a918398e58418466529d362da9.tar.xz
mpd-6b9ffcffe2c255a918398e58418466529d362da9.zip
database: renamed get_get_song() to db_get_song()
Search'n'replace typo..
Diffstat (limited to '')
-rw-r--r--src/playlist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 438eb473b..e14bafc79 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -559,7 +559,7 @@ enum playlist_result addToPlaylist(const char *url, int *added_id)
DEBUG("add to playlist: %s\n", url);
- if ((song = get_get_song(url))) {
+ if ((song = db_get_song(url))) {
} else if (!(isValidRemoteUtf8Url(url) &&
(song = song_remote_new(url)))) {
return PLAYLIST_RESULT_NO_SUCH_SONG;
@@ -574,7 +574,7 @@ int addToStoredPlaylist(const char *url, const char *utf8file)
DEBUG("add to stored playlist: %s\n", url);
- song = get_get_song(url);
+ song = db_get_song(url);
if (song)
return appendSongToStoredPlaylistByPath(utf8file, song);
@@ -1360,7 +1360,7 @@ int PlaylistInfo(struct client *client, const char *utf8file, int detail)
int wrote = 0;
if (detail) {
- struct song *song = get_get_song(temp);
+ struct song *song = db_get_song(temp);
if (song) {
song_print_info(client, song);
wrote = 1;