View Single Post
  #1  
Old 09-09-2017, 05:29 PM
Kylearan Kylearan is offline
Junior Member
 
Join Date: Oct 2011
Posts: 4
Kylearan is on a distinguished road
Default

Streamripper Scripting For Windows Help Needed


I've been using Streamripper scripts for Linux Mint for a year. The scripts I found a template for work well for saving streams and naming them with the date format I choose. I want to be able to do the same thing in Windows but the command line naming and dating is limited. What I want to do is to crate a script that will allow me to name the file in this format "PROGRAMNAME 07-17-2017.(format suffix)". Here is an example of a script that does this in Linux.

-----------------------------------------------------------------------------
#!/bin/sh

date=`date +"%m-%d-%Y"`

url=http://live2.darkmatterdigitalnetwork.com:10133/stream
output_filename=Conspirinormal_${date}

duration=10800

output_dir=/home/someuser/Audio/DMDN/Conspirinormal/
cd $output_dir

streamripper $url -d $output_dir -l $duration -a $output_filename
---------------------------------------------------------------------------

#!/bin/sh

date=`date +"%m-%d-%Y"`

url=http://live2.darkmatterdigitalnetwork.com:10133/stream
output_filename=Conspirinormal_${date}

duration=10800

output_dir=/home/someuser/Audio/DMDN/Conspirinormal/
cd $output_dir

streamripper $url -d $output_dir -l $duration -a $output_filename

----------------------------------------------------------------------------

Can anyone tell me how to do the same thing with a Windows batch file?

Thank you

Kylearan
Reply With Quote