Latest Episode
Play

Go Back   Keith and The Girl Forums Keith and The Girl Forums Talk Shite

Talk Shite General discussion

Reply
 
Thread Tools Display Modes
Old 08-11-2009, 05:58 AM   #131 (permalink)
Senior Member
 
hypercrypt's Avatar
 
Join Date: Nov 2006
Posts: 597
Yep, fully understand.
(Offline)   Reply With Quote
Old 08-11-2009, 07:09 AM   #132 (permalink)
Senior Member
 
tuttle88's Avatar
 
Join Date: Mar 2008
Location: Oakland, CA formerly Adelaide, Australia
Posts: 536
Quote:
Originally Posted by hexix View Post
You can turn off some or all elements of the notifications for apps by going to the "Settings" app on your phone, choose "Notifications", then the KATG.com app. From there you can shut off whatever parts you want turned off.
Thanks for that. There is a coffee shop with free wifi near where I work and it automatically connects when I'm walking past, then a minute later when I'm walking down the mall I hear "Keith and the Girl dot com" in my headphones. If scares me every time & I look stoooopid
(Offline)   Reply With Quote
Old 08-21-2009, 06:20 PM   #133 (permalink)
Junior Member
 
elastoplastic's Avatar
 
Join Date: Nov 2008
Location: Denver
Posts: 8
Quote:
Originally Posted by jnilsson View Post
thanks... i am currently working on the streaming part... its an easy month at work, so got some free time

finnaly starting to get a hang of it... just have the problem that once i get about 25mb loaded in cache, it crashes as there is no space left on the device... i got to figure out how to clear it...

once i get the streaming part more less done i'll post a version on the web for anyone who wishes to try.

EDIT: in the meantime, if you want to stream the show on your android phone, streamfurious works great for me...
If you want any help developing the android version, I've done a bit of Java developement and android development. And I'd love to see this app for the android platform. Let me know when you get your code in git, and I'll download it and see what I can add/help with.
(Offline)   Reply With Quote
Old 08-23-2009, 08:07 AM   #134 (permalink)
Member
 
jnilsson's Avatar
 
Join Date: Aug 2005
Location: Barcelona, Spain
Posts: 38
hey, yea, i could really use some help... have not been able to work latelly but getting back at it now. I'll organize me code a bit and put it up. As i said, im not that much of a java developer but have "touched" on several languages so i understard it and am learning as i go along. Its not the easies place to start to learn because of the mess that is the development environment.

anyway, what i have had most problems with is the streaming part. As there are no "natural" shoutcast functionality, we have to create it from 0. So, we have to read the header information in the stream, and send the response. Not that complicated, once we have done this, we get a feed which we have to feed to the internal mplayer object. This is where im having problems. The mplayer object does accept streams but you have to pass it as a mp3 file. So, there are two ways of doing this:

1. is to pass it to a local temp file, and when we have X amount downloaded start to play it. The problem with this is that we can't read and write to the same temp file, and doing it with more then 1 file causes cuts in the stream, not acceptable.

2. is to create a local webservice that streams the input stream to a virtual "mp3" stream, which works. I have seen the code, have just not been able to get it to work. I found a music player with its code that works, but the project is huge and a mess to follow for me.

this is basicly where i am at the moment. As to me, the most importaint part is the stream, so i have been stuck here for a while.

like i said, ill clean up the code and pass it to the git repo, i'll try to do it today. am reinstalling my environment with the snow leopard this weekend, so i should be ready to start to work in a few hours.

I'll let you know when i have the gir repo ready.
__________________
(Offline)   Reply With Quote
Old 08-23-2009, 08:08 AM   #135 (permalink)
Member
 
jnilsson's Avatar
 
Join Date: Aug 2005
Location: Barcelona, Spain
Posts: 38
hey, yea, i could really use some help... have not been able to work latelly but getting back at it now. I'll organize me code a bit and put it up. As i said, im not that much of a java developer but have "touched" on several languages so i understard it and am learning as i go along. Its not the easies place to start to learn because of the mess that is the development environment.

anyway, what i have had most problems with is the streaming part. As there are no "natural" shoutcast functionality, we have to create it from 0. So, we have to read the header information in the stream, and send the response. Not that complicated, once we have done this, we get a feed which we have to feed to the internal mplayer object. This is where im having problems. The mplayer object does accept streams but you have to pass it as a mp3 file. So, there are two ways of doing this:

1. is to pass it to a local temp file, and when we have X amount downloaded start to play it. The problem with this is that we can't read and write to the same temp file, and doing it with more then 1 file causes cuts in the stream, not acceptable.

2. is to create a local webservice that streams the input stream to a virtual "mp3" stream, which works. I have seen the code, have just not been able to get it to work. I found a music player with its code that works, but the project is huge and a mess to follow for me.

this is basicly where i am at the moment. As to me, the most importaint part is the stream, so i have been stuck here for a while.

like i said, ill clean up the code and pass it to the git repo, i'll try to do it today. am reinstalling my environment with the snow leopard this weekend, so i should be ready to start to work in a few hours.

I'll let you know when i have the gir repo ready.
(Offline)   Reply With Quote
Old 08-23-2009, 11:33 AM   #136 (permalink)
Senior Member
 
hayroob's Avatar
 
Join Date: Mar 2008
Location: Detroitish
Posts: 1,025
I'm knee deep in a project, but it'll be done soon and then I'll dive in on this.
(Offline)   Reply With Quote
Old 08-23-2009, 12:52 PM   #137 (permalink)
Member
 
jnilsson's Avatar
 
Join Date: Aug 2005
Location: Barcelona, Spain
Posts: 38
sounds good... in the meantime, ill work out the UI, and start the rss stuff....

have been working for 2 hours today on the layout and im about ready the throw out my laptop and phone.... so im taking a break for today.... dam, being google, you would exect something clean and well done.... something like all done in python or something... not a mess like java.
(Offline)   Reply With Quote
Old 08-23-2009, 07:59 PM   #138 (permalink)
Junior Member
 
MorningWood's Avatar
 
Join Date: Sep 2008
Location: Ohio; state of regret
Posts: 24
I don't want to derail this thread but I just wanted to say that if hayroob or jnilsson were interested in making a blackberry app sometime in the future, I'd definitely be smitten.
(Offline)   Reply With Quote
Old 08-23-2009, 10:12 PM   #139 (permalink)
Junior Member
 
elastoplastic's Avatar
 
Join Date: Nov 2008
Location: Denver
Posts: 8
Quote:
Originally Posted by jnilsson View Post
I'll let you know when i have the gir repo ready.
sounds good. We should start a thread for thread android katg app too.
(Offline)   Reply With Quote
Old 08-24-2009, 04:44 AM   #140 (permalink)
Member
 
jnilsson's Avatar
 
Join Date: Aug 2005
Location: Barcelona, Spain
Posts: 38
just created the new thread...

http://www.keithandthegirl.com/forum...26/#post604710
(Offline)   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 10:42 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.1
Keith and The GirlAd Management plugin by RedTyger