diff options
author | Max Kellermann <max@duempel.org> | 2008-10-08 11:05:34 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-10-11 19:21:47 -0700 |
commit | e6f87010949c1d659b27c5db5707e23230d3eaf0 (patch) | |
tree | a68ef0a95beae2e2ffaaf6b2925112801b3f1c04 /src/storedPlaylist.c | |
parent | d24e17ebdd5eeb16c87b897a9ecb52a5704a52b3 (diff) | |
download | mpd-e6f87010949c1d659b27c5db5707e23230d3eaf0.tar.gz mpd-e6f87010949c1d659b27c5db5707e23230d3eaf0.tar.xz mpd-e6f87010949c1d659b27c5db5707e23230d3eaf0.zip |
song: removed CamelCase
CamelCase is ugly... rename all functions.
Diffstat (limited to 'src/storedPlaylist.c')
-rw-r--r-- | src/storedPlaylist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/storedPlaylist.c b/src/storedPlaylist.c index 482e9e241..b74ef1404 100644 --- a/src/storedPlaylist.c +++ b/src/storedPlaylist.c @@ -119,7 +119,7 @@ List *loadStoredPlaylist(const char *utf8path) memmove(s, s + musicDir_len + 1, strlen(s + musicDir_len + 1) + 1); if ((song = getSongFromDB(s))) { - get_song_url(path_max_tmp, song); + song_get_url(song, path_max_tmp); insertInListWithoutKey(list, xstrdup(path_max_tmp)); } else if (isValidRemoteUtf8Url(s)) insertInListWithoutKey(list, xstrdup(s)); @@ -295,7 +295,7 @@ appendSongToStoredPlaylistByPath(const char *utf8path, struct mpd_song *song) return PLAYLIST_RESULT_TOO_LARGE; } - s = utf8_to_fs_charset(path_max_tmp2, get_song_url(path_max_tmp, song)); + s = utf8_to_fs_charset(path_max_tmp2, song_get_url(song, path_max_tmp)); if (playlist_saveAbsolutePaths && song_is_file(song)) s = rmp2amp_r(path_max_tmp, s); |