# HG changeset patch # User nenolod # Date 1150455038 25200 # Node ID 8c8d4841efae2e8bea121b6a687bfa1b18224249 # Parent e43225462cdc15e4ab7b0cbdd64052aa063efe46 [svn] - if entry->tuple == NULL, then probe the file for a decoder and build the appropriate tuple for that entry diff -r e43225462cdc -r 8c8d4841efae ChangeLog --- a/ChangeLog Fri Jun 16 02:58:33 2006 -0700 +++ b/ChangeLog Fri Jun 16 03:50:38 2006 -0700 @@ -1,3 +1,12 @@ +2006-06-16 09:58:33 +0000 George Averill + revision [1466] + - Buffer indicator support for anyone crazy enough to stream flac. + + + Changes: Modified: + +6 -0 trunk/Plugins/Input/flac/http.c + + 2006-06-16 09:35:49 +0000 William Pitcock revision [1464] - use mutex locking to make alsa stay happy with dmix diff -r e43225462cdc -r 8c8d4841efae audacious/playlist.c --- a/audacious/playlist.c Fri Jun 16 02:58:33 2006 -0700 +++ b/audacious/playlist.c Fri Jun 16 03:50:38 2006 -0700 @@ -185,6 +185,9 @@ g_return_val_if_fail(entry != NULL, FALSE); + if (entry->decoder == NULL) + entry->decoder = input_check_file(entry->filename, FALSE); + if (entry->decoder == NULL || entry->decoder->get_song_tuple == NULL) tuple = input_get_song_tuple(entry->filename); else @@ -2130,6 +2133,14 @@ } PLAYLIST_UNLOCK(); + + /* No tuple? Try to set this entry up properly. --nenolod */ + if (entry->tuple == NULL) + { + playlist_entry_get_info(entry); + tuple = entry->tuple; + } + if (tuple != NULL) { if (entry->decoder != NULL && entry->decoder->file_info_box == NULL)