Mercurial > audlegacy-plugins
comparison src/mpg123/mpg123.c @ 467:a3bf53abebf5 trunk
[svn] - implement mpgdec_metadata()
- partial shoutcast streamtitle support
author | nenolod |
---|---|
date | Sun, 21 Jan 2007 01:49:43 -0800 |
parents | 1716423d29fe |
children | 1256144d2a6e |
comparison
equal
deleted
inserted
replaced
466:20657d994de8 | 467:a3bf53abebf5 |
---|---|
759 mpgdec_title = get_song_title(tuple); | 759 mpgdec_title = get_song_title(tuple); |
760 bmp_title_input_free(tuple); | 760 bmp_title_input_free(tuple); |
761 } | 761 } |
762 } | 762 } |
763 else { | 763 else { |
764 if (CHECK_STREAM_URI(filename)) | 764 mpgdec_title = mpgdec_metadata("stream-name"); |
765 mpgdec_title = mpgdec_http_get_title(filename); | |
766 mpgdec_length = -1; | 765 mpgdec_length = -1; |
767 } | 766 } |
768 | 767 |
769 set_synth_functions(&fr); | 768 set_synth_functions(&fr); |
770 mpgdec_init_layer3(fr.down_sample_sblimit); | 769 mpgdec_init_layer3(fr.down_sample_sblimit); |