Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Audio stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 09-09-2017, 06: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
  #2  
Old 04-06-2018, 06:08 AM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: Streamripper Scripting For Windows Help Needed


Code:
set hour=%time:~0,2%
if "%hour:~0,1%" == " " set hour=0%hour:~1,1%
set date=%date:~-4%-%date:~3,2%-%date:~0,2%_%hour%-%time:~3,2%-%time:~6,2%

set url=http://live2.darkmatterdigitalnetwork.com:10133/stream

set output_filename=Conspirinormal_%date%

set duration=10800

set output_dir="C:\New folder"

cd %output_dir%

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

Code:
C:\>set hour=12

C:\>if "1" == " " set hour=02

C:\>set date=2018-04-06_12-03-23

C:\>set url=http://live2.darkmatterdigitalnetwork.com:10133/stream

C:\>set output_filename=Conspirinormal_2018-04-06_12-03-23

C:\>set duration=10800

C:\>set output_dir="C:\New folder"

C:\>cd "C:\New folder"

C:\New folder>streamripper http://live2.darkmatterdigitalnetwork.com:10133/stream -d "C:\New folder" -l 10800 -a Conspirinormal_2018-04-06_12-03-23
Connecting...
stream: DMDN
server name: Icecast 2.4.0-kh1
declared bitrate: 48
meta interval: 16000

[skipping...   ] Conspirinormal Podcast - 205: Aaron Gulyas (The Sa [   95kb]

https://ss64.com/

http://streamripper.sourceforge.net/tutorialconsole.php
Reply With Quote
  #3  
Old 04-07-2018, 01:50 AM
nguyenthanhtam9723 nguyenthanhtam9723 is offline
Member
 
Join Date: Oct 2016
Posts: 33
nguyenthanhtam9723 is on a distinguished road
Default

Re: Streamripper Scripting For Windows Help Needed


http://caobanlong.org/cach-chon-mua-cao-ban-long-tot/
Reply With Quote
  #4  
Old 04-09-2018, 04:11 AM
cabulo cabulo is offline
Senior Member
 
Join Date: Jan 2017
Posts: 102
cabulo is on a distinguished road
Default

Re: Streamripper Scripting For Windows Help Needed


nguyen,

I know you for longer than a year.

How much $$$ did you make from advertising here since then?

It might be worth selling you anus here as well for a few $$$.
Reply With Quote
Reply Post New Thread
Tags: , , ,



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:29 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons