Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old October 15th, 2005   #1
arnieboy
Guest
 
Beans: n/a
[SOLVED] HOWTO: StreamTuner + StreamRipper, another way to get music

Written by Nano

I don't know how many music albums I have but it's never enough! I always need new music and I'm sure many of you need it too!

So here I want to give you some tips (for whoever didn't already know) about how to get some good quality music, and legally, as it's legal to record a TV program and then watch it when you come home.

Let's start with Streamtuner.
"streamtuner is a stream directory browser. Through the use of a plugin system, it offers an intuitive GTK+ 2.0 interface to Internet radio directories such as SHOUTcast and Live365."
In addition it can catalogue all your local music files for a fast access to them.

Ok, let's install it.


Code:
sudo apt-get install streamtuner

Ok, it should create an entry in your meny under Applications -> Sound & Video.
Since you have it installed let's teach it to open your favorite music player everytime you want to listen one of the listed radios.
In streamtuner open Edit -> Preferences. In the Application tab you will see a table. In the right column you will see "xmms %q" (I think it's the default setting), replace "xmms" with your favorite player but don't forget "%q" at the end of the string. In my case it is set to "beep-media-player %q".

Now you can listen to a lot of radio stations, many of them broadcasting at a very good bitrate.

Now, wouldn't it be cool to record your favorite ones in your hard disk?
Let's go.

To rip streaming radios we'll use "streamripper".

Code:
sudo apt-get install streamripper

Now, let's tell Streamtuner how to use Streamripper properly.
Again, open Edit -> Preferences.

In the same table as before we'll edit the last row of the table, where it says "Record a stream".
Here we will delete the right column cell and replace it with this:

Quote:
x-terminal-emulator -e streamripper %q -d /mnt/Data01/Ripped -r -q
Where "/mnt/Data01/Ripped" is the location where you want all the mp3s to be stored.

The "-r" option means Streamripper will create a relay server. In other words, if you don't do it you will be downloading the ripped version twice, once by streamripper and once by your media player. You might not care if you have broadband but you will otherwise.
The "-r" option, as we said, will create the relay using by default the 8000 port but, in case it's busy (video streaming, others) it will continue serching for the next open port. Usually, if 8000 is busy 8001 won't.

Example. You found a nice radio. You tune it, your player opens it and you hear it. You like it and decide to start ripping it. You press the Record button. A console will open and streamtuner will start doing its job.
Now, you can listen at whatever you want with your media player (other streaming radios, local files, etc) that streamripper will keep doing it's job. But if you want to listen what is being ripped, instead of connecting to the streaming radio you can connect to the relay created by streamripper.
To do so, just open with your media player http://localhost:8000/ (or http://localhost:8001/, etc).

Hope you will get some cool music with this combo.
At least I do.

Cheers!
  Reply With Quote
Old October 16th, 2005   #2
Jenda
Dark Roasted Ubuntu
 
Jenda's Avatar
 
Join Date: Apr 2005
Location: Prague, Czech Republic
Beans: 1,127
Ubuntu 9.10 Karmic Koala
Send a message via ICQ to Jenda Send a message via MSN to Jenda
Re: HOWTO: StreamTuner + StreamRipper, another way to get music

Quote:
So here I want to give you some tips (for whoever didn't already know) about how to get some good quality music, and legally, as it's legal to record a TV program and then watch it when you come home.
Are you absolutely sure about this? It seems to me that this would be included in "unauthorized replication".
__________________
This message was brought to you by dvorak!
Visit us on IRC as well: #ubuntuforums on irc.freenode.net
Jenda is offline   Reply With Quote
Old October 16th, 2005   #3
arnieboy
Guest
 
Beans: n/a
Re: HOWTO: StreamTuner + StreamRipper, another way to get music

Quote:
Originally Posted by Jenda
Are you absolutely sure about this? It seems to me that this would be included in "unauthorized replication".
ask nano
  Reply With Quote
Old October 20th, 2005   #4
mtron
Ubuntu Extra Shot
 
mtron's Avatar
 
Join Date: Feb 2005
Location: EU
Beans: 374
Send a message via ICQ to mtron
Re: HOWTO: StreamTuner + StreamRipper, another way to get music

Quote:
Originally Posted by Jenda
Are you absolutely sure about this?
As we both live in the EU (that's all i can say), this is totally ok for private use, however you are not allowed to "share" them, use them at a public preformance, sell them ect.

So, no stress (till now) Let's hope it says like this.
mtron is offline   Reply With Quote
Old October 20th, 2005   #5
Jenda
Dark Roasted Ubuntu
 
Jenda's Avatar
 
Join Date: Apr 2005
Location: Prague, Czech Republic
Beans: 1,127
Ubuntu 9.10 Karmic Koala
Send a message via ICQ to Jenda Send a message via MSN to Jenda
Re: HOWTO: StreamTuner + StreamRipper, another way to get music

Indeed. That makes sense. Not that I really care. As long as I don't feel like I'm robbing the author, then I'll do anything.
__________________
This message was brought to you by dvorak!
Visit us on IRC as well: #ubuntuforums on irc.freenode.net
Jenda is offline   Reply With Quote
Old October 22nd, 2005   #6
Nano
Gee! These Aren't Roasted!
 
Join Date: Oct 2004
Location: Barcelona, Spain
Beans: 185
Xubuntu Jaunty Jackalope (testing)
Send a message via ICQ to Nano Send a message via MSN to Nano Send a message via Skype™ to Nano
Re: HOWTO: StreamTuner + StreamRipper, another way to get music

In theory it is legal since the radio station already paid the rights to broadcast the tracks.
Of course, you cannot distribute/sell any of the songs.
__________________
-------------------------------------
Ubuntu in Spanish is Ubuñtu!
Running Aspire 9814 AMD64 & Extensa 5620
Nano is offline   Reply With Quote
Old November 26th, 2005   #7
renebs
5 Cups of Ubuntu
 
Join Date: May 2005
Beans: 39
Ubuntu 8.10 Intrepid Ibex
Re: HOWTO: StreamTuner + StreamRipper, another way to get music

Quote:
Originally Posted by arnieboy
Written by Nano

I Hope you will get some cool music with this combo.
At least I do.

Cheers!
Just have to say one thing: Thanks for Arnieboy and all the people involved on these softwares (streamripper, Streamtuner, xmms, etc.)
renebs is offline   Reply With Quote
Old January 5th, 2006   #8
dejitarob
Gee! These Aren't Roasted!
 
dejitarob's Avatar
 
Join Date: Feb 2005
Location: Babylon
Beans: 190
Ubuntu 8.04 Hardy Heron
Re: HOWTO: StreamTuner + StreamRipper, another way to get music

The station I am attempting to do this on apparently prevents you from ripping songs. It has a delay between each track for a few seconds and when I try to use streamripper it just cycles through 'bufferring..' then 're-connecting...' It just loads a blank track '-.mp3' instead of the actual streaming content so it never actually rips anything.

Edit: Apparently, 'meta interval -1' signifies that it is plain HTTP not shoutcast. Thus I can just open up the .m3u to get the actual song locations.
__________________
"We do not want a world in which the guarantee that we will not die of starvation is bought by accepting the risk of dying of boredom." -Vaneigem

Last edited by dejitarob; January 5th, 2006 at 03:36 AM..
dejitarob is offline   Reply With Quote
Old February 27th, 2006   #9
Harry_Sack
5 Cups of Ubuntu
 
Harry_Sack's Avatar
 
Join Date: Jan 2006
Beans: 28
Ubuntu 6.10 Edgy
Re: HOWTO: StreamTuner + StreamRipper, another way to get music

Does anyone know how I could make the terminal open new tabs instead of a new terminal window for every stream?
I like to record several streams at the same time, but then I have to have like ten terminal windows open at the same time.

Thanks for the howto!
Found lots of good music previously unknown to me.
__________________
Heineken? **** that ****! Pabst Blue Ribbon!
Harry_Sack is offline   Reply With Quote
Old March 28th, 2006   #10
billdd
First Cup of Ubuntu
 
Join Date: Mar 2006
Beans: 10
Re: HOWTO: StreamTuner + StreamRipper, another way to get music

Hey Arnie, Thanks for the info. I just installed ubuntu today and love it. Followed your instructions and got streamtuner installed in seconds. Thanks.
Bill
billdd is offline   Reply With Quote

Bookmarks

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

Forum Jump


All times are GMT -4. The time now is 03:04 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry