From 66e7f8ff30033bd60049f2da77741a90198436cc Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Sun, 8 Nov 2009 18:59:22 +0100 Subject: fixed mpgmad filetype display for shoutcast streams --- streamer.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'streamer.c') diff --git a/streamer.c b/streamer.c index 97d5154e..580d36ae 100644 --- a/streamer.c +++ b/streamer.c @@ -802,6 +802,9 @@ streamer_read (char *bytes, int size) { #endif playpos += (float)sz/p_get_rate ()/4.f; str_playing_song.playtime += (float)sz/p_get_rate ()/4.f; + if (playlist_current_ptr) { + str_playing_song.filetype = playlist_current_ptr->filetype; + } if (playlist_current_ptr) { playlist_current_ptr->playtime = str_playing_song.playtime; } -- cgit v1.2.3