I’m trying to develop an application (Radio Stream) app, I want to get the details of the song that is playing on the radio for that MediaMetadataRetriever API but when i set my URL i get this error : java.lang.IllegalArgumentException at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:71) at maa.myapp.MainActivity$PlayerTask.onPostExecute(MainActivity.java:447) at maa.myapp.MainActivity$PlayerTask.onPostExecute(MainActivity.java:419) this my code : Answer finally it work with ‘com.vodyasov:amr:0.5’ library
Tag: internet-radio
How to stream url from .pls file with java?
I want to stream a radio with Java, my approach is to download the playlist file (.pls), then extract one of the urls given in that same file and finally, stream it with java. However, it seems I cannot find a way to do it.. I tried with JMF, but I get java.io.IOException: Invalid Http response everytime I run the
android get radio stream data
I am trying to get what song is on with this code: } Url I want to use are from this page: http://radio.m-1.fm/ so for example http://radio.m-1.fm/M-1PLIUS (which is http://84.46.147.81/m1plius/mp3) but I get error java.net.SocketException: Permission denied Any ideas what is wrong? Answer Add Internet Permission in Manifest.xml. Refer this Manifest.permissions
Parsing RTSP stream for live radio
I want to be able to parse the rtsp stream in order to extract data about the radio station, current playing song name, duration etc. I have to do it manually – no libraries. Preferred language is Java but I could work with something else too. Answer Welcome to the world of RFC 2326: Real Time Streaming Protocol (RTSP). You’ll
Best way to play a radio stream ( shoutcast ) in Java?
I want to code an audio player in Java. java.JavaFX has a very nice support for mp3 playing but I want in my player also the possibility to listen to radio. The problem is I have searched for some time and I didn’t find something that works like I want: MP3SPI – this is nice but just wont play some
What is an open free to use radio / music streaming service I can access via java [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations. Closed 7 years ago. Improve this question I am looking for a free to use radio or music
Listen to a shoutcast with Android
since quite some time I’m trying to listen to .pls files (shoutcasts). I have to say that I failed horrible. Since StreamFurious can do it it must be possible. First I tried to connect to the shoutcast via sockets (TCP and UDP) –> failed. I couldn’t even receive one byte from the server. I’m at the verge of tears. I