Temporarily drop M4A files since they don't yet play. diff -X dontdiff -urNp tunesbrowser-0.1.7-pre2/daap.c tunesbrowser-dsd/daap.c --- tunesbrowser-0.1.7-pre2/daap.c 2004-11-22 11:36:55.000000000 +0000 +++ tunesbrowser-dsd/daap.c 2004-11-24 17:56:35.116519808 +0000 @@ -486,6 +486,7 @@ static void getSongItems(Shost *host, in { int i; int size; + unsigned long m4a_dropped = 0; if (currentSongItems) free(currentSongItems); @@ -499,9 +500,15 @@ static void getSongItems(Shost *host, in for (i = 0; i < currentSongItemCount; i++) { + if (strcmp(currentSongItems[i].songformat, "m4a") == 0) + { + m4a_dropped++; + continue; + } artistalbumview_add(currentSongItems[i].songartist, currentSongItems[i].songalbum); } + g_print("Dropped %d m4a items.\n", m4a_dropped); qsort(currentSongItems, currentSongItemCount, sizeof(DAAP_ClientHost_DatabaseItem), compare_songitems); @@ -520,6 +527,9 @@ static void draw_songs() char year[11] = {0}; char disc[11] = {0}; + if (strcmp(currentSongItems[i].songformat, "m4a") == 0) + continue; + if (selected_artist && (!currentSongItems[i].songartist || strcasecmp(selected_artist, currentSongItems[i].songartist)) != 0) continue;