Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 11    Views: 75

CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
11/03/13 07:54 PM (12 years ago)

CP stream plugin url

How do you use an m3u url as the stream. I know it can be done because of this post: https://www.buzztouch.com/forum/thread.php I dont understand how to make it work.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
11/03/13 10:59 PM (12 years ago)
It's looking like they're using the url and filename 'without' the .m3u extension… so… http://streamsource.com/music.m3u might need to be entered as http://streamsource.com/music But I could be wrong… also, check out that 'switch' that Sandeep discovered between Wifi and Cellular data connections… that fixed an issue I had. https://www.buzztouch.com/forum/thread.php?fid=1A0BC2DCA1F04DB67238B9A&sortColumn=&sortUpDown=&currentPage=8&tid=76556018FF0EC9941560E74&command=confirmDeleteThread And a few other posts that may have some valuable info are… http://buzztouch.com/forum/thread.php?tid=D25C0B3F6803435 http://www.buzztouch.com/forum/thread.php?tid=E9698FA44624757 Hope this helps… Cheers! -- Smug
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
11/03/13 11:04 PM (12 years ago)
Cool thank you.I actually figured it out but forgot to post solution.I open up the m3u file on notepad or any text editor.it will show you a url.I pasted the url in my browser.the browser will change the url.I used that url for the stream
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
11/03/13 11:09 PM (12 years ago)
Glad you got it working :) Let us know if you make any cool or interesting modifications to the Plugin… Cheers! -- Smug
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
11/03/13 11:11 PM (12 years ago)
I will do.ive actually been reading some cool sites. I will post and let everyone know other ways to get and convert urls.
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
11/04/13 12:22 AM (12 years ago)
All the file extensions like .pls, .m3u, .m3u8 contain a direct link to the mp3, aac, or even wma (in some cases) audio files on server. You can use either textedit (on mac) or use notepad (on win) to take a look at the streaming link. The CP stream plugin supports only direct url of the stream so you need to have those links or else the stream will not play. In other case if you want to play directly the pls extension you will need to create a pls parser file. But its just like wasting time to create that class file when you can extract the streaming link directly from using textedit or notepad within seconds.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
11/04/13 09:08 AM (12 years ago)
Cool thanks sandeep. I was hoping for a simpler way for pls. Smugwimp I used your modification from your other post to perfect the streaming.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
11/04/13 09:11 AM (12 years ago)
You know hows theres multiple links on pls.how would you know which one to use.im thinking any would work.Im going to experiment to find out.
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
11/04/13 10:19 AM (12 years ago)
If there are multiple streaming links in the pls file then any one of them would work. you just need to check the bitrate that you want to use from those links.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
11/04/13 12:14 PM (12 years ago)
O ok I was wondering if those numbers were bit rates.cool thank you.im glad I seen your wifi and cell fix before I published my app
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
11/04/13 08:19 PM (12 years ago)
On some of the pls files when I try to play it just keeps buffering. It keeps downloading something when I try to play it on a computer browser. Do you know what this can be?? For example: http://2223.live.streamtheworld.com:443/KPRFFMAAC_SC
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
11/06/13 09:48 PM (12 years ago)
i figured out that was an old url. some still do the same thing and I will probably have to parse the stream
 

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.