Mercurial > audlegacy
changeset 2433:6cdccf094e51 trunk
[svn] - Why are we probing streams so unnecessarily often?
author | nhjm449 |
---|---|
date | Sun, 28 Jan 2007 01:58:22 -0800 |
parents | 4a1d1c324685 |
children | 1102fb4280d7 |
files | ChangeLog src/audacious/playlist.c |
diffstat | 2 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sun Jan 28 01:54:28 2007 -0800 +++ b/ChangeLog Sun Jan 28 01:58:22 2007 -0800 @@ -1,3 +1,11 @@ +2007-01-28 09:54:28 +0000 Yoshiki Yazawa <yaz@cc.rim.or.jp> + revision [3874] + - restore shortcut key (esc) to close gtk2 fileopener. + + trunk/src/audacious/ui_fileopener.c | 18 ++++++++++++++++++ + 1 file changed, 18 insertions(+) + + 2007-01-27 20:10:21 +0000 Michael Farber <01mf02@gmail.com> revision [3872] - moved titlestring.* and xconvert.* from libaudacious to audacious
--- a/src/audacious/playlist.c Sun Jan 28 01:54:28 2007 -0800 +++ b/src/audacious/playlist.c Sun Jan 28 01:58:22 2007 -0800 @@ -189,6 +189,10 @@ g_return_val_if_fail(entry != NULL, FALSE); + // Let's not randomly probe streams, mmkay? + if (entry->decoder == NULL && (str_has_prefix_nocase(entry->filename, "http://") || str_has_prefix_nocase(entry->filename, "https://"))) + return TRUE; + if (entry->tuple == NULL || entry->tuple->mtime > 0 || entry->tuple->mtime == -1) modtime = playlist_get_mtime(entry->filename); else