Notice: Undefined variable: HTTP_USER_AGENT in /home/tiplabs/public_html/mainfile.php on line 28 Notice: Undefined variable: HTTP_SERVER_VARS in /home/tiplabs/public_html/mainfile.php on line 34 Notice: Undefined variable: forum_admin in /home/tiplabs/public_html/mainfile.php on line 79 Notice: Undefined variable: inside_mod in /home/tiplabs/public_html/mainfile.php on line 82 Notice: Undefined variable: inside_mod in /home/tiplabs/public_html/db/db.php on line 44 Notice: Constant _YOUHAVE already defined in /home/tiplabs/public_html/language/lang-english.php on line 159 Notice: Undefined variable: user in /home/tiplabs/public_html/modules.php on line 28 Notice: Undefined offset: 2 in /home/tiplabs/public_html/mainfile.php on line 214 Notice: Use of undefined constant admin - assumed 'admin' in /home/tiplabs/public_html/mainfile.php on line 171 Notice: Undefined offset: 1 in /home/tiplabs/public_html/mainfile.php on line 594 Notice: Undefined offset: 2 in /home/tiplabs/public_html/mainfile.php on line 597 Notice: Undefined offset: 1 in /home/tiplabs/public_html/mainfile.php on line 482 Notice: Undefined offset: 2 in /home/tiplabs/public_html/mainfile.php on line 214 tipLabs - Tech Tips by Tech Experts
Notice: Undefined variable: banners in /home/tiplabs/public_html/themes/ExtraLite/theme.php on line 54
Tech Tips













Site Search
Notice: Undefined offset: 2 in /home/tiplabs/public_html/mainfile.php on line 214 Notice: Undefined offset: 2 in /home/tiplabs/public_html/mainfile.php on line 214 Notice: Undefined variable: public_msg in /home/tiplabs/public_html/mainfile.php on line 1077


 Tip Labs

 Tip Archive
Notice: Use of undefined constant left - assumed 'left' in /home/tiplabs/public_html/themes/ExtraLite/theme.php on line 82 Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 374 Notice: Use of undefined constant admin - assumed 'admin' in /home/tiplabs/public_html/mainfile.php on line 374 Notice: Undefined offset: 1 in /home/tiplabs/public_html/mainfile.php on line 191 Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 374 Notice: Use of undefined constant admin - assumed 'admin' in /home/tiplabs/public_html/mainfile.php on line 374 Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 376 Notice: Use of undefined constant userbox - assumed 'userbox' in /home/tiplabs/public_html/mainfile.php on line 376 Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 378 Notice: Undefined variable: cont in /home/tiplabs/public_html/mainfile.php on line 947
tipLabs - RSS Feed
·Now you can save YouTube videos to your computer and play them whenever
·Multi-IM shootout between Trillian, Gaim/Pidgin and Miranda
·Use nuTsie to play iTunes music on your high-speed 3G cell
·Use MaxiVista to share monitors, duplicate displays, and control PCs
·Forget your KVM, use Synergy to control multiple machines
·Recording Audio streams and Listening to them in iTunes
·Charter pay-per-view is unencrypted
·New King in Internet Speed Testing:
·Galleon TiVo App in Maintence but still impressive
·Free IPTV from the creators of Skype

read more...

Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 374 Notice: Use of undefined constant admin - assumed 'admin' in /home/tiplabs/public_html/mainfile.php on line 374 Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 376 Notice: Use of undefined constant userbox - assumed 'userbox' in /home/tiplabs/public_html/mainfile.php on line 376 Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 378
Add tipLabs to your Website
tipLabs RSS Feed

Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 374 Notice: Use of undefined constant admin - assumed 'admin' in /home/tiplabs/public_html/mainfile.php on line 374 Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 376 Notice: Use of undefined constant userbox - assumed 'userbox' in /home/tiplabs/public_html/mainfile.php on line 376 Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 378
Additional News Links
Bill Rillios Virtual Stock Picks


Daves Daily
Doc Reno
CanMag
News Directory
Offbeat News

  

Tech Tips From Tech Experts

Notice: Undefined offset: 2 in /home/tiplabs/public_html/mainfile.php on line 214 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /home/tiplabs/public_html/includes/counter.php on line 58
Notice: Undefined variable: entry in /home/tiplabs/public_html/modules/nerdlist/index.php(46) : eval()'d code on line 174 Notice: Undefined variable: entry in /home/tiplabs/public_html/modules/nerdlist/index.php(46) : eval()'d code on line 218 Recording Audio streams and Listening to them in iTunes

We have mentioned recording XM satellite radio MP3s in the past

http://www.tiplabs.com/modules.php?name=News&file=article&sid=101

but that requires still a subscription to XM radio and the purchase of hardware. However with the large list of internet music broadcasters out there there is a large amount of free music for your listening pleasure. Some folks will go and buy an expensive Denon receiver and grab those streams and listen to them as they like. However you dont get a copy of the songs to listen to later.

Streamripper is an open source (GPL) application that lets you record streaming audio directly to your hard drive. It will allow you to record streaming internet radio stations automatically and store off the title and artist of each MP3 to your hard drive. When you come back after it runs for hours you will see your music collection increase drastically. If you get into this it will start to make sense to get a home NAS eventually.

One implementation we are going to discuss here is using the linux version of streamripper (there is a windows version) and storing off the music and then allowing you to broadcast it to iTunes. This is something that works well in a work environment where many folks can just start listening to music that has been piling up overnight.

Grab a copy of Streamripper here:

http://streamripper.sourceforge.net

Next install it on your favorite linux box. One internet music streaming location we use is Radio Paradise. Here is a sample bash script to start it up with that radio station:

===== START CUT ======
#!/bin/bash

URL="http://www.radioparadise.com/musiclinks/rp_128.m3u"
DIR="/export/streams"
DURATION_HOURS=8
DURATION_SECS=$[60*60*$DURATION_HOURS]
MAX_MEGS=1024

streamripper $URL -d $DIR -l $DURATION_SECS -M $MAX_MEGS &
===== END CUT ======
This script will start recording all the music played from Radio Paradise for 8 hours (good for running during the night at the office to not use critical bandwidth during office hours). It will also store off just 1GB of music. Simply setup a cron job to run this every night to get a nice collection of music for everyone at the office the following day. What you will get is in your /export/streams directory a collection of .mp3 files with artists and title set in the tags. This may be sufficient for most folks however we have determined that some music we could do without and dont want it even shared. So we have another script that runs at 7am to clean up the music directory and deletes unwanted artists. Also it is important to note that streamripper will put duplicates into an \'incomplete\' directory, so it is easy to delete any duplicate songs. This script is written in perl so you may need to install perl if you dont already have it.
===== START CUT ======
#!/usr/bin/perl

@pattern_list = (
 "incomplete",
 ".*Beatles.*",
 "Talking Heads.*",
 "Ladysmith.*",
 "Bering Strait.*",
 "Elvis Costello.*",
 "Jethro Tull.*",
);

$verbose         = 1;
$debug           = 0;
$dryrun          = 0;
$total_dirs      = 0;
$total_files     = 0;
@files_to_delete = ();

if ($ARGV[0] eq "-n") {
 $dryrun = 1;
}

foreach(@pattern_list) {
 &delete_files($_);
}

&perform_delete if (!$dryrun);

sub delete_files {
 my($pattern) = @_;
 my(@filelist, @files, @dirs);
 @filelist = &find_files(".", $pattern, 0);
 push(@files_to_delete, @filelist);
 #print "For pattern \'$pattern\' found ".@filelist." filelist:\n@filelist\n";
 foreach (@filelist) {
   if (-d $_) {
    $total_dirs++;
    push(@dirs, $_);
   } else {
     $total_files++;
     push(@files, $_);
     }
 }
 if ($verbose) {
   print "Pattern \'$pattern\' will:\n";
   print " delete ".@dirs." directories...\n" if (@dirs);
   if ($verbose > 1) {
     foreach (@dirs) {
       print " $_\n";
     }
   }
   print " delete ".@files." files...\n" if (@files);
   if ($verbose > 1) {
     foreach (@files) {
       print " $_\n";
     }
   }
 }
}

sub perform_delete {
 $| = 1;
 if ($verbose) {
   print "Total files to delete: $total_files\n";
   print "Total directories to delete: $total_dirs\n";
 }
 
 if (@files_to_delete) {
   print "Deleting..." if ($verbose);
   foreach (reverse sort @files_to_delete) {
     if (-d $_) {
       rmdir $_ or die "Couldn\'t remove directory: $_";
     } else {
        unlink $_ or die "Couldn\'t delete file: $_";
        }
   }
 }
 print "done!\n" if ($verbose);
}

sub find_files {
 my($basedir, $pattern, $recursive) = @_;
 my($entry, @entries, @subfiles);
 my(@files) = ();

 print "find_files($basedir, $pattern, $recursive) called\n" if $debug;
 opendir THISDIR, $basedir;
 @entries = grep !/^(CVS|\..*)$/, readdir THISDIR;
 closedir THISDIR; 
 print "Found these entries @entries\n" if $debug;

 foreach $entry (@entries) {
   print "...checking entry \n" if $debug;
   if ( $entry =~ /^$pattern$/ ) {
     push(@files, $entry);

     if ( -d "$basedir/$entry" ) {
       @subfiles = &find_files("$basedir/$$ntry", ".*", 1);
       @subfiles = map "$entry/$_", @subfiles;
       print "In $basedir/$entry, found these files @subfiles\n" if $debug;
       push(@files, @subfiles);
     }
   } elsif ( -d "$basedir/$entry" ) {
     if ($recursive) {
       @subfiles = &find_files("$basedir/", $pattern, $recursive);
       @subfiles = map "$entry/$_", @subfiles;
       print "In $basedir/$entry, found these files @subfiles\n" if $debug;
       push(@files, @subfiles);
     }
   }
 }

 print "find_files($basedir, $pattern, $recursive) returned @files\n" if $debug;
 return (@files);
}

===== END CUT ======
Finally now that you have your MP3s all nice in one location you setup iTunes to share your files. Here are the steps for doing this in iTunes:

* Open iTunes preferences.
* Select the check box "Share my Music" and select a library that you created using the directory of your streamripper songs into.
* Change the shared name to whatever you like.
* If you want to password protect the share, select "Require password" and put in a password.

Final comments
--------------
There is also a winamp plugin for streamripper that will allow you to store streams to file as well which is handily. Here is a tutorial on that here:

http://streamripper.sourceforge.net/tutorialplugin.php

--> Thanks goes to topprospect for submitting this tip.

--
* Got a tip? Let us know at info@tiplabs.com.

* Not on this list and want to get on it? Send email to here: majordomo@tiplabs.com and put "subscribe nerdlist" in body.

=============================================================
tipLabs _____====---> www.tiplabs.com <---====_____ tipLabs
=============================================================
   Notice: Use of undefined constant right - assumed 'right' in /home/tiplabs/public_html/themes/ExtraLite/theme.php on line 91 Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 374 Notice: Use of undefined constant admin - assumed 'admin' in /home/tiplabs/public_html/mainfile.php on line 374 Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 376 Notice: Use of undefined constant userbox - assumed 'userbox' in /home/tiplabs/public_html/mainfile.php on line 376 Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 378
Security News

Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 374 Notice: Use of undefined constant admin - assumed 'admin' in /home/tiplabs/public_html/mainfile.php on line 374 Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 376 Notice: Use of undefined constant userbox - assumed 'userbox' in /home/tiplabs/public_html/mainfile.php on line 376 Notice: Undefined offset: 2 in /home/tiplabs/public_html/mainfile.php on line 214 Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 374 Notice: Use of undefined constant admin - assumed 'admin' in /home/tiplabs/public_html/mainfile.php on line 374 Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 376 Notice: Use of undefined constant userbox - assumed 'userbox' in /home/tiplabs/public_html/mainfile.php on line 376 Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 378 Notice: Undefined offset: 2 in /home/tiplabs/public_html/mainfile.php on line 214 Notice: Undefined variable: code in /home/tiplabs/public_html/blocks/block-Login.php on line 37 Notice: Undefined offset: 1 in /home/tiplabs/public_html/mainfile.php on line 191
Login
Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 374 Notice: Use of undefined constant admin - assumed 'admin' in /home/tiplabs/public_html/mainfile.php on line 374 Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 376 Notice: Use of undefined constant userbox - assumed 'userbox' in /home/tiplabs/public_html/mainfile.php on line 376 Notice: Use of undefined constant bkey - assumed 'bkey' in /home/tiplabs/public_html/mainfile.php on line 378 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /home/tiplabs/public_html/blocks/block-NerdList_History.php on line 24 Notice: Use of undefined constant HTTP_USER_AGENT - assumed 'HTTP_USER_AGENT' in /home/tiplabs/public_html/blocks/block-NerdList_History.php on line 25 Notice: Undefined variable: sitekey in /home/tiplabs/public_html/blocks/block-NerdList_History.php on line 25 Notice: Undefined variable: content in /home/tiplabs/public_html/blocks/block-NerdList_History.php on line 38
NerdList History
NerdList_071009
NerdList_062407
NerdList_031107
NerdList_021107
NerdList_100806
NerdList_070206
NerdList_052806
NerdList_011506
NerdList_121805
NerdList_092505
NerdList_082105
NerdList_073105
NerdList_062605
NerdList_051905
NerdList_050805
NerdList_040805
NerdList_030605
NerdList_020805
NerdList_011005
NerdList_010405
NerdList_120504
NerdList_112904
NerdList_112004
NerdList_111404
NerdList_101704
NerdList_100304
NerdList_090904
NerdList_082204
NerdList_081204
NerdList_071804
NerdList_070804
NerdList_061704
NerdList_051704
NerdList_041104
NerdList_041004
NerdList_032904
NerdList_032104
NerdList_031204
NerdList_022804
NerdList_022204

Get the tips right as they are released.
Join the Nerdlist:

security code



Copyright 2004,2005,2006,2007 TipLabs, All rights reserved.