The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Launches
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 02-27-2008, 01:24 AM
What's Jailbreak?
 
Join Date: Feb 2008
Device + Firmware: 1.1.3
Operating System: windows xp sp2
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
php listener

Php listener is script for iphone in php which plays mp3 stream from the shoutcast directory. Just wrote it since i was having problem with iradio on new firmware 1.1.3. The script uses iui as front end. The script is buggy and is not in any way complete. Just wanted to share it and see if its any good to improve it or just end it here..

Installation:

install php 5.2 from the installer app
install the lighttpd from installer app
copy the lighthttpd.conf file to /usr/local/etc [included in zip file/ basic purpose to enable php]

move the contents of zip to your site folder or document root for your server which is /private/var/root/Sites for lighttpd

just reboot your iphone and open safari to this address

http://127.0.0.1/

Current issues:
low cpu usage, thats the only good point i found about it
can only play shoutcast mp3 streams
quicktime might take 10-15 secs to load so be patient
php has issues resolving dns on edge
good wifi connectivity
since i was in hurry to post i just wrote it for top 500 stream in the shoutcast directory
other miscellaneous issues from a alpha, prototype or what ever you like calling it..




Click the image to open in full size.
Click the image to open in full size.
Click the image to open in full size.
Click the image to open in full size.
Click the image to open in full size.
Click the image to open in full size.
Click the image to open in full size.
Attached Files
File Type: zip php listener.zip (29.5 KB, 100 views)
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 02-28-2008, 02:06 AM
What's Jailbreak?
 
Join Date: Feb 2008
Device + Firmware: 1.1.3
Operating System: windows xp sp2
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

here is a updated version which loads faster fractionally or so i think and fixed a issue with windows shoutcast servers.
Attached Files
File Type: zip php listenerv0.0.2.zip (35.3 KB, 180 views)
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 03-20-2008, 07:42 AM
What's Jailbreak?
 
Join Date: Mar 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

seems like a really nice application man but i having som issues when i'm trying to change from the top500 list, playback will not start, and i also tried: http://127.0.0.1/shoutcast.php?addre...00&bitRate=128
doesn't work no mather what i do, you have any solutions?

just found an solution guys

http :// 127.0.0.1/shoutcast.php?address=http://shoutcast.server.com:8000/;stream.nsv&bitRate=yourbitrate

EDIT: and btw, you need to set the "80" port in the fsockopen to $address[port]

Last edited by active-x; 03-20-2008 at 07:48 AM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 07-14-2008, 07:08 PM
What's Jailbreak?
 
Join Date: Jul 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

smarttouch,

thanks for the script. I tried using your script in apache webserver installed in my laptop and tried accessing the page from my iphone. when I select any station and click play, QUICKTIME loads but it doesnt play anything.

It would be great if you help me in setting up this

Thanks
Harry
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 05-11-2009, 04:04 PM
What's Jailbreak?
 
Join Date: May 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
php listener config help

i need a little help setting this up..

im using serverroom.com to host my stream.

I just need to be able to link to 1 stream from my iphone.

is there any tutorials about setting this up to work?

thanks in advance!!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Launches

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 04:08 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top