aboutsummaryrefslogtreecommitdiffstats
path: root/src/storedPlaylist.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 11:05:34 +0200
committerMax Kellermann <max@duempel.org>2008-10-08 11:05:34 +0200
commit5e7b18f87458b3f7a65d23d87f7db3d864fbbf11 (patch)
tree2a1dd46bcff693de6849d31f204de554158de374 /src/storedPlaylist.c
parent5e4be9e495677a6728e3161e39a05a081a5bff9a (diff)
downloadmpd-5e7b18f87458b3f7a65d23d87f7db3d864fbbf11.tar.gz
mpd-5e7b18f87458b3f7a65d23d87f7db3d864fbbf11.tar.xz
mpd-5e7b18f87458b3f7a65d23d87f7db3d864fbbf11.zip
song: removed CamelCase
CamelCase is ugly... rename all functions.
Diffstat (limited to '')
-rw-r--r--src/storedPlaylist.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/storedPlaylist.c b/src/storedPlaylist.c
index 46caa0a99..6904d0e0d 100644
--- a/src/storedPlaylist.c
+++ b/src/storedPlaylist.c
@@ -117,7 +117,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));
@@ -293,7 +293,8 @@ appendSongToStoredPlaylistByPath(const char *utf8path, struct 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);