changeset 4041:554f7170712b

disabled tag wrtiting for sreams
author Eugene Zagidullin <e.asphyx@gmail.com>
date Sat, 01 Dec 2007 01:56:32 +0300
parents abd47cc23f01
children e8066e91388a
files src/audacious/ui_fileinfo.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_fileinfo.c	Fri Nov 30 04:10:12 2007 +0300
+++ b/src/audacious/ui_fileinfo.c	Sat Dec 01 01:56:32 2007 +0300
@@ -287,7 +287,7 @@
             tuple = tuple_new();
             fd = vfs_fopen(current_file, "r+b");
 
-            if (fd != NULL) {
+            if (fd != NULL && !vfs_is_streaming(fd)) {
                 set_field_str_from_entry(tuple, FIELD_TITLE, entry_title);
                 set_field_str_from_entry(tuple, FIELD_ARTIST, entry_artist);
                 set_field_str_from_entry(tuple, FIELD_ALBUM, entry_album);