456bingo123 wrote:
fanofcena wrote:
456bingo123 wrote:
My dad has a few weeks of non-stop music. Also, you wouldn't need that many mp3's. You often hear the same song played over the radio in a year.With my vipersounds CDN i have 2years of non stop music 1.2 terrabytes :3 pretty much my music cannot end!
Well, there's a single song that's being played now, that a machine is playing that will last 1000 years! Longplayer.org Is your vipersounds CDN sort of like that?
nope it has 1.2terrabytes of differnt songs at 320kbps bitrate and 48khz .. its for radio station [ all music on that server is legal]
Offline
fanofcena wrote:
btw my code fixes your Media player requirement .. it can get "meta" data pretty easily..
All it does is serve as a proxy. It doesn't extract the information directly (or process it at all).
What we need is a php file that extracts the stream information from the server page and produces an XML file that can be read with XMLHttpRequest (ajax). Someone needs to be streaming so we know what strings to make the php script look for.
The media player request is easy to fulfill, the <audio> tag does the job nicely.
Offline
Dawgles wrote:
fanofcena wrote:
btw my code fixes your Media player requirement .. it can get "meta" data pretty easily..
All it does is serve as a proxy. It doesn't extract the information directly (or process it at all).
What we need is a php file that extracts the stream information from the server page and produces an XML file that can be read with XMLHttpRequest (ajax). Someone needs to be streaming so we know what strings to make the php script look for.
The media player request is easy to fulfill, the <audio> tag does the job nicely.
Are u lost if u can load the file as editable dom on server u can get ny data out of it whatsoever u want... And due to security ur ffox will nt allow u to edit it via js i tried earlier bt scast nd icecast both put headers on the output so u cant edit it .. On chrome it could b worked around bt ffox fail nd if u allow me i can make u 1 full code
auxio tag hmmmm try testing ogg playback on chrome or mp3 on ffox .. The only reason i suggstd jplayer as it makes sure media is played under ny condition
Last edited by fanofcena (2011-12-07 14:53:37)
Offline
I am interested in participating. I would be happy to interview or get interviewed.
Offline
sportsdude6 wrote:
what about my sugestion?
Where?
Offline
fanofcena wrote:
Dawgles wrote:
fanofcena wrote:
btw my code fixes your Media player requirement .. it can get "meta" data pretty easily..
All it does is serve as a proxy. It doesn't extract the information directly (or process it at all).
What we need is a php file that extracts the stream information from the server page and produces an XML file that can be read with XMLHttpRequest (ajax). Someone needs to be streaming so we know what strings to make the php script look for.
The media player request is easy to fulfill, the <audio> tag does the job nicely.Are u lost if u can load the file as editable dom on server u can get ny data out of it whatsoever u want... And due to security ur ffox will nt allow u to edit it via js i tried earlier bt scast nd icecast both put headers on the output so u cant edit it .. On chrome it could b worked around bt ffox fail nd if u allow me i can make u 1 full code
auxio tag hmmmm try testing ogg playback on chrome or mp3 on ffox .. The only reason i suggstd jplayer as it makes sure media is played under ny condition
"Are u lost" --- ...seriously?
Ogg works on all browsers sans safari and IE.
Loading the dom isn't even half of the battle, it's just loading a page. Most of the work will have to go into extracting the information from the page and placing it in the readable format veggie has set up at http://scratchforums.tk/radio/
"Now Playing:
"Nothing" by the Nothings"
This element's inner HTML will be written to; that's the easy part. The information needs to be extracted from the "bloat" which is the design of the icecast server. I can't check right now (server's down), but if it's in a DIV with an id like "meta-artist" then it may be easier than I expect. Then the info can be passed to a variable and written to the page HTML.
Last edited by Dawgles (2011-12-07 18:09:16)
Offline
Dawgles wrote:
fanofcena wrote:
Dawgles wrote:
All it does is serve as a proxy. It doesn't extract the information directly (or process it at all).
What we need is a php file that extracts the stream information from the server page and produces an XML file that can be read with XMLHttpRequest (ajax). Someone needs to be streaming so we know what strings to make the php script look for.
The media player request is easy to fulfill, the <audio> tag does the job nicely.Are u lost if u can load the file as editable dom on server u can get ny data out of it whatsoever u want... And due to security ur ffox will nt allow u to edit it via js i tried earlier bt scast nd icecast both put headers on the output so u cant edit it .. On chrome it could b worked around bt ffox fail nd if u allow me i can make u 1 full code
auxio tag hmmmm try testing ogg playback on chrome or mp3 on ffox .. The only reason i suggstd jplayer as it makes sure media is played under ny condition"Are u lost" --- ...seriously?
Ogg works on all browsers sans safari and IE.
Loading the dom isn't even half of the battle, it's just loading a page. Most of the work will have to go into extracting the information from the page and placing it in the readable format veggie has set up at http://scratchforums.tk/radio/
"Now Playing:
"Nothing" by the Nothings"
This element's inner HTML will be written to; that's the easy part. The information needs to be extracted from the "bloat" which is the design of the icecast server. I can't check right now (server's down), but if it's in a DIV with an id like "meta-artist" then it may be easier than I expect. Then the info can be passed to a variable and written to the page HTML.
Unfortunately it just keeps it in a styled list like this
<td>Peak Listeners:</td> <td class="streamdata">0</td> </tr> <tr> <td>Stream Genre:</td> <td class="streamdata">Post-Hipster Alternarap Metal Indie Thrash Twee</td> </tr> <tr> <td>Stream URL:</td> <td class="streamdata"><a target="_blank" href="stream.ogg">stream.ogg</a></td> </tr> <tr> <td>Current Song:</td> <td class="streamdata">Dictionary Attack - How Do I Live</td> </tr> </table> </div> <div class="roundbottom"><img src="/corner_bottomleft.jpg" class="corner" style="display: none"></div> </div>
Offline
veggieman001 wrote:
sportsdude6 wrote:
what about my sugestion?
Where?
189th post
Offline
JJROCKER wrote:
456bingo123 wrote:
sportsdude6 wrote:
Suggestion- tell scratchers what other religions do instead of xmas? Like jews do hannukah.
That's a good idea. Veggie needs to get on
Hold on... You basically just said every scratcher celebrates christmas...
Offline
veggieman001 wrote:
JJROCKER wrote:
456bingo123 wrote:
That's a good idea. Veggie needs to get onHold on... You basically just said every scratcher celebrates christmas...
No I didnt. Wat do ya mean?
Offline
I may give a little overview over all of the holidays this winter that I know about, though.
Offline
veggieman001 wrote:
JJROCKER wrote:
456bingo123 wrote:
That's a good idea. Veggie needs to get onHold on... You basically just said every scratcher celebrates christmas...
Offline
jslomba wrote:
Give me credit for the name
Also, you can interview me.
Uh... it's a generic name.
Okay I may.
I will sort out interviewing this weekend, I swear.
Offline
sportsdude6 wrote:
veggieman001 wrote:
JJROCKER wrote:
Hold on... You basically just said every scratcher celebrates christmas...
No I didnt. Wat do ya mean?
Yes you did. You said that we should tell scratchers what other religions do instead of xmas. So you are assuming that every Scratcher celebrates Christmas and we should tell everyone what other people do?
That's basically what you said
Anyway, veggie, what did I miss? Anything new?
Last edited by JJROCKER (2011-12-07 19:46:31)
Offline
Featuring it in my new sig
Offline
Darn. Is it possible to alter output with icecast?
Last edited by Dawgles (2011-12-07 19:52:39)
Offline
Dawgles wrote:
Darn. Is it possible to alter output with icecast?
Not that I know of. I'm going to look some stuff up.
Sure, kimmy.
JJROCKER, not really.
Offline
kimmy123 wrote:
veggieman001 wrote:
Sure, kimmy.
Nvm.
-_-
Offline
veggieman001 wrote:
I discovered this.
That would be really helpful.
Offline