diff options
author | Max Kellermann <max@duempel.org> | 2008-10-08 11:07:55 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-10-11 19:21:48 -0700 |
commit | 4629f646077109f7c6185aab92560da52c237412 (patch) | |
tree | af62c1fd2d29c53d137f8b390682492bf0ef102d /src/playlist.c | |
parent | 0576b8abf8b2fd25105f6e0190a93ddec298e9fb (diff) | |
download | mpd-4629f646077109f7c6185aab92560da52c237412.tar.gz mpd-4629f646077109f7c6185aab92560da52c237412.tar.xz mpd-4629f646077109f7c6185aab92560da52c237412.zip |
database: renamed functions, "db_" prefix and no CamelCase
Yet another CamelCase removal patch.
Diffstat (limited to 'src/playlist.c')
-rw-r--r-- | src/playlist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/playlist.c b/src/playlist.c index 118733543..8a7b5cf7f 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -575,7 +575,7 @@ enum playlist_result addToPlaylist(const char *url, int *added_id) DEBUG("add to playlist: %s\n", url); - if ((song = getSongFromDB(url))) { + if ((song = db_get_song(url))) { } else if (!(isValidRemoteUtf8Url(url) && (song = song_remote_new(url)))) { return PLAYLIST_RESULT_NO_SUCH_SONG; @@ -590,7 +590,7 @@ int addToStoredPlaylist(const char *url, const char *utf8file) DEBUG("add to stored playlist: %s\n", url); - if ((song = getSongFromDB(url))) + if ((song = db_get_song(url))) return appendSongToStoredPlaylistByPath(utf8file, song); if (!isValidRemoteUtf8Url(url)) @@ -1358,7 +1358,7 @@ int PlaylistInfo(int fd, const char *utf8file, int detail) int wrote = 0; if (detail) { - struct mpd_song *song = getSongFromDB(temp); + struct mpd_song *song = db_get_song(temp); if (song) { song_print_info(song, fd); wrote = 1; |