Hi folks,

this is my first post. Cool to be here :)

I am developing a shoutcast client for Android with API 1.6.
The playback is working perfectly but I am not able to get the meta-
data (song / artist).

Maybe someone of you guys could give me a hint.

As the API documentation tells me there is a
MEDIA_INFO_METADATA_UPDATE value when OnInfoListener.onInfo is called
since API level 5. Unfortunately this is not helping at all because

1. There is no further informaton within the API documentation how to
actually retrieve this metadata - or I am not able to find it.

2. I am developing fot 1.6 so this MEDIA_INFO_METADATA_UPDATE is not
available to me anyway.

So to me the only alternative seems to read the shoutcast stream
manually and use the buffered data with
the MediaPlayer as a DataSource. I tried that and it turned out to
work BUT I was not able to remove a little gap between buffer
playbacks because the MediaPlayer was not able to synchronize the two
data sources because there is no such mechanism implemented (I
guess).

Furthermore I know that it is possible to get this done because there
are existing shoutcast clients even for Android 1.5 available.

Does anybody know something about this issue ?

Regards
Ole




-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to