problem about shoutcast-Collection of common programming errors
Rako
android stream media-player shoutcast
Hi all and thanks in advance,I have been all day looking forums and on internet and i’m not getting any clear about this. I am not sure if it possible in a direct and simple way. I read all time that since 2.2 it is supported natively but i don’t see and example where it works easilyFirst, i make some test with some .mp3 on a web and this code worked fine:mp = new MediaPlayer(); mp.setDataSource(localContext, Uri.parse(SomeURL.mp3)); mp.prepare(); mp.start() but now….i have to reproduce
Azatoth
android audio stream media-player shoutcast
I’m writing an android app for play shoutcast stream for a publisher that implements web radio.On API level 8 (android 2.2) MediaPlayer class can play stream, so:Uri myUri = ….; // initialize Uri here MediaPlayer mediaPlayer = new MediaPlayer(); mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); mediaPlayer.setDataSource(getApplicationContext(), myUri); mediaPlayer.prepare(); mediaPlayer.start();In real app i’m using prepareasync() so UI is responsive for a ProgressDialog.But for this
Fat Finger
shell command run listeners shoutcast
I have a problem with a small number of corrupt MP3s crashing Ices on a Shoutcast stream. And I’m looking for a way to check the number of listeners connected to a stream and execute a command on the shell if it’s below a value which might indicate that it (Ices) may have crashed.
FatimaBurke
javascript shoutcast albumart
I have a small 70×70 box in an HTML player I built where I wish to place in the album artwork to coincide with my now playing information from my shoutcast server. Is there a way, using the artist-song information the shoutcast server provides, that I can search a web service (amazon/last.fm) and have it place the (most likely) album cover there?Here is the JS code I’m using now:jQuery(document).ready(function() {pollstation();//refresh the data every 30 secondssetInterval(pollstation, 30000); }
spanjeta
firefox html5-audio mediaelement.js shoutcast
The shoutcast stream not working using mediaelement js audio player on latest firefox 21. Its working on other browsers like Chrome and IE.You check the link below. It was working earlier with older Firefox.Test link
user150413
android streaming audio-streaming http-live-streaming shoutcast
Okay, So I’m working with a SHOUTCast stream for the first time, and I’ve been told that Android has changed the way it works with audio post-ICSSo, I tried some code that worked very well on 2.3 and 2.2, but when I tried running it on 4.2.2 it didn’t play,Here’s my MainActivity.javapackage com.mooo.ajbiz11.ponyfeather;import android.app.Activity; import android.media.AudioManager; import android.media.MediaPlayer; import android.net.Uri; import android.os.Bundle; import android.util.Log; import
Zoot
android http-live-streaming shoutcast
I am doing shoutcast streaming in my app. The app was playing the link on android emulator 2.2 but the same was not playing in device. Why? I am using galaxy tab 2.2. Any settings required to be done? Help is appreciated. Is there any special permission required in manifest?public class radiog extends Activity implementsMediaPlayer.OnCompletionListener, MediaPlayer.OnPreparedListener,MediaPlayer.OnErrorListener, MediaPlayer.OnBufferingUpdateListener { private String TAG = getClass().getSim
harper89
android audio mp3 mediaplayer shoutcast
I’m trying to create an audio streamer with Android’s MediaPlayer. It’s just fine if it doesn’t work with Android 2.1 or bellow. I need to be able to play the audio from a SHOUTcast stream. Here’s my code:player = new MediaPlayer(); try { player.setDataSource(“http://87.230.103.107:8000”); player.prepareAsync(); } catch (IllegalArgumentException e) { // TODO Auto-generated catch blocke.printStackTrace(); } catch (IllegalStateException e) { // TODO Auto-generated catch block e.printStackTrace();
Yaqub Ahmad
android mediaplayer uri audio-streaming shoutcast
Please see the code i am using for streaming shoutcast stream, it works with one URL but NOT with the other one.This one works:Uri myUri = Uri.parse(“http://fr3.ah.fm:9000/”);But not with this one:Uri myUri = Uri.parse(“http://someOtherURL”);SimpleMusicStream.javaimport android.app.Activity; import android.media.AudioManager; import android.media.MediaPlayer; import android.net.Uri; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button;public
Web site is in building