Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / retrieve song title from a shoutcast stream

Author
Message
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 19th Jul 2005 10:16
Anyone know how to do this? I've got the stream playing, but not sure how to get the other info about what is playing.

PETA - People for the Eating of Tasty Animals
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 19th Jul 2005 11:57
stream ripper X on the mac OS X will copy the mpegs to a folder and store the duplicates in another folder. for broadcasts that are not individual mpegs it will copy it as a large mp3 file to the hard drive. Im sure there is an alternative for windows.

If no-one gives your an answer to a question you have asked, consider:- Is your question clear.- Did you ask nicely.- Are you showing any effort to solve the problem yourself 
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 19th Jul 2005 12:03
this is for a program i'm writing in java, and as far as i know, the broadcast only sends out the audio chunks.

PETA - People for the Eating of Tasty Animals
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 19th Jul 2005 12:33 Edited at: 19th Jul 2005 12:38
this is a commercial version of what your looking for.

http://www.5cup.com/shareware/Internet_Utilities-Download_Managers-Web_Stream_Recorder_Pro-1.0.html


this page might shed some light if your doing it on your own.
http://docs.hp.com/en/6154/hp/telephony/media/Recorder.html

this page might shed some light on how to acheive it in java
http://forum.java.sun.com/thread.jspa?threadID=640091


this page will show you how to play the stream in java once you have it
http://www.developer.com/java/other/article.php/857411


this might shed some light ont he stream name
http://java.sun.com/j2se/1.3/docs/api/java/io/ObjectInputStream.GetField.html


I havent spent much time exploring them, but its probably a good start

If no-one gives your an answer to a question you have asked, consider:- Is your question clear.- Did you ask nicely.- Are you showing any effort to solve the problem yourself 
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 19th Jul 2005 13:42
I tried the various ObjectStream methods. The name it returns for the streams look like this: "javax.sound.sampled.AudioInputStream@dd89f9"

Using various classes, this is all I've been able to get from the stream, besides the actual data that's being played.


PETA - People for the Eating of Tasty Animals
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 19th Jul 2005 13:47
sorry mate, i would suggest trying a java2 forum. My last encounter was with jdk 1.4.1

If no-one gives your an answer to a question you have asked, consider:- Is your question clear.- Did you ask nicely.- Are you showing any effort to solve the problem yourself 
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 19th Jul 2005 19:18
I have, just waiting for the guys at javazoom to respond.

PETA - People for the Eating of Tasty Animals

Login to post a reply

Server time is: 2024-11-27 19:44:26
Your offset time is: 2024-11-27 19:44:26