|
|
And iTunes IS Scriptable!
Create a folder called "Scripts" in the iTunes folder in OS 9 or in OS X in the Users > username > Library > iTunes folder folder. You can then run compiled and application scripts from iTunes' Scripts Menu. Then, visit my site for free scripts and info:
scripting with streamripper?
any chance of you making a script to rip a playing stream with stream ripper? Streamripper uses the terminal and I know the terminal is scriptable. I have some scripting knowledge but I'm a little behind when it comes to scripting in X. It would be great if you could just access the script from the script menu and rip any stream. Who needs Napster? ;)
stream ripper at sourceforge
thanks!
joon
scripting with streamripper?
If you don't need/can't use the song-splitting ability of streamripper, you might want to try archiver.pl written by Jamie Zawinski instead - it's what I use most of the time. It just records a stream, no relaying, no cutting into pieces, but it uses zero CPU compared to streamripper (which uses close to 100% CPU on a G4/533 for me).
Your best bet is to find some osax or something that lets you run shell commands from AppleScript. My recording script actually calls one or the other based on whether I request relaying:
if [[ -z $@ ]] {
mkdir $rptmp
$HOME/src/archiver.pl --verbose $rpurl $rptmp $rpsecs || exit
mv $rptmp/*/*.mp3 $rpd/$fn
rm $rptmp/*/*.time
rmdir $rptmp/*
} else {
streamripper $rpurl -r -s -d $rpd -l $rpsecs || exit
mv $rptmp/* $rpd/$fn
}
scripting with streamripper?
Close to 100% on a 533 G4? That sounds too high. I get < 40% on a Titanium G4 500. Just today I had streamripper rip and relay while iTunes2 was playing that relay and this was with IE 5 running, Photoshop and Dreamweaver in classic for my web work -and yes, I was working as usual going back and forth, those apps weren't just sitting there. I know I was really pushing it but I had very little problems. Only if that Altivec kicked in more often it would be less of an issue. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.08 seconds |
|