X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=afs.c;h=d5da1e557ee3d2df242ced8fff3c2991e803967c;hb=dabdb25fd7fe411933d3639f71a8148b5dc29630;hp=a2194f3ea3245ecfe0204d35de87f861874ea472;hpb=2d8f0c21ac8735fc06d1aa88e7873614392e3042;p=paraslash.git diff --git a/afs.c b/afs.c index a2194f3e..d5da1e55 100644 --- a/afs.c +++ b/afs.c @@ -476,7 +476,7 @@ static enum play_mode init_admissible_files(void) given_playlist = "given_playlist"; if (given_mood) { - ret = mood_open(given_mood); + ret = change_current_mood(given_mood); if (ret >= 0) { if (given_playlist) PARA_WARNING_LOG("ignoring playlist %s\n", @@ -489,10 +489,10 @@ static enum play_mode init_admissible_files(void) if (ret >= 0) return PLAY_MODE_PLAYLIST; } - ret = mood_open(NULL); /* open first available mood */ + ret = change_current_mood(NULL); /* open first available mood */ if (ret >= 0) return PLAY_MODE_MOOD; - mood_open(""); /* open dummy mood, always successful */ + change_current_mood(""); /* open dummy mood, always successful */ return PLAY_MODE_MOOD; } @@ -533,7 +533,7 @@ static void close_afs_tables(enum osl_close_flags flags) PARA_NOTICE_LOG("closing afs_tables\n"); score_shutdown(flags); attribute_shutdown(flags); - mood_close(); + close_current_mood(); playlist_close(); moods_shutdown(flags); playlists_shutdown(flags);