Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 59

othmane
Apple Fan
Profile
Posts: 105
Reg: Feb 08, 2012
Casablanca
1,050
03/15/13 09:49 AM (12 years ago)

Audio streamer plugin problem

Hi, I am using the audio streamer plugin to create a list of online radios, each item of my menu is an online radio. The problem i encountered is when i switch from one radio to other without pressing the stop button in the plugin, the radio did not change and continue to play the previous one. Otherwise, when i press the stop button before exiting the plugin, the radio changes. Thanks in advance
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
03/15/13 01:59 PM (12 years ago)
Hi othmane, Could you please try to add this to BTA_audiostreamer.m on line 186: [self updateAudioButtons]; After updating with this code the player will show the pause button in the next screen (of the next radio station while the other is playing) instead of a playbutton. It should then be obvious for the user that they have to stop the stream (hit stop button) in order the play the next radiostation. Hope this helps Best Regards, Danny
 
othmane
Apple Fan
Profile
Posts: 105
Reg: Feb 08, 2012
Casablanca
1,050
like
03/15/13 02:39 PM (12 years ago)
Hi danny, I updated the code and it works like you describe. Thanks again Best Regards Othmane
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.