diff options
author | 2009-11-08 18:59:22 +0100 | |
---|---|---|
committer | 2009-11-08 18:59:22 +0100 | |
commit | 66e7f8ff30033bd60049f2da77741a90198436cc (patch) | |
tree | 906e97db66a742faf1cfd316b2fefb349f667283 /streamer.c | |
parent | 8370464948c534e000a6d46b06b4aaff45bd12fa (diff) |
fixed mpgmad filetype display for shoutcast streams
Diffstat (limited to 'streamer.c')
-rw-r--r-- | streamer.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -803,6 +803,9 @@ streamer_read (char *bytes, int size) { 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; } if (bytes_until_next_song > 0) { |