# HG changeset patch # User nenolod # Date 1150377538 25200 # Node ID 066e2607a9998d2df4a2d423866fcce0a184cccc # Parent 665dfbf5e9a1fe2e608ed0aa2bd5700e7dbad278 [svn] - remove unreached code, (now) irrelevant debugging printf's diff -r 665dfbf5e9a1 -r 066e2607a999 ChangeLog --- a/ChangeLog Thu Jun 15 05:50:10 2006 -0700 +++ b/ChangeLog Thu Jun 15 06:18:58 2006 -0700 @@ -1,3 +1,12 @@ +2006-06-15 12:50:10 +0000 William Pitcock + revision [1420] + - playlist_compare_artist(): more sanity checking. + + + Changes: Modified: + +3 -3 trunk/audacious/playlist.c + + 2006-06-15 12:17:49 +0000 William Pitcock revision [1418] - we don't really have to unwire track 0 this way, as 0 will be selected by default if no subsong URI is given diff -r 665dfbf5e9a1 -r 066e2607a999 Plugins/Input/aac/src/mp4_utils.c --- a/Plugins/Input/aac/src/mp4_utils.c Thu Jun 15 05:50:10 2006 -0700 +++ b/Plugins/Input/aac/src/mp4_utils.c Thu Jun 15 06:18:58 2006 -0700 @@ -51,13 +51,11 @@ int i, rc; int numTracks = mp4ff_total_tracks(infile); - printf("total-tracks: %d\n", numTracks); for(i=0; itrack_name); - mp4ff_meta_get_artist(infile, &input->performer); - mp4ff_meta_get_album(infile, &input->album_name); - if (mp4ff_meta_get_track(infile, &value) && value != NULL) { - input->track_number = atoi(value); - g_free(value); - } - if (mp4ff_meta_get_date(infile, &value) && value != NULL) { - input->year = atoi(value); - g_free(value); - } - mp4ff_meta_get_genre(infile, &input->genre); - mp4ff_meta_get_comment(infile, &input->comment); - input->file_name = g_strdup(g_basename(filename)); - path = g_strdup(filename); - temp = strrchr(path, '.'); - if (temp != NULL) {++temp;} - input->file_ext = g_strdup_printf("%s", temp); - temp = strrchr(path, '/'); - if (temp) {*temp = '\0';} - input->file_path = g_strdup_printf("%s/", path); - - return input; -} - -char *getMP4title(mp4ff_t *infile, char *filename) -{ - char *ret=NULL; - - TitleInput *input = getMP4tuple(infile, filename); - - ret = xmms_get_titlestring(xmms_get_gentitle_format(), input); - - bmp_title_input_free(input); - - return ret; -}