thecamaroshow
New member
Hey RB Peeps,
How would I set up for Radioboss to get 3 tracks from the same artist?
How would I set up for Radioboss to get 3 tracks from the same artist?
Is this a specific artist or you need 3 songs from a random artist?thecamaroshow said:How would I set up for Radioboss to get 3 tracks from the same artist?
@echo off
setlocal EnableDelayedExpansion
cd \particular\folder
set n=0
for %%f in (*.*) do (
set /A n+=1
set "file[!n!]=%%f"
)
set /A "rand=(n*%random%)/32768+1"
copy "!file[%rand%]!" \different\folder
@echo off
cls
E:\DTREE\dtree.exe /y ETUtils\DTPics\net\picxx.jpg
setlocal enabledelayedexpansion
set /a rand=%random%%%31+1
pushd E:\dtutils\dtpics\net\
set nbr=1
for /f "delims=*" %%1 in ('dir /a-d /b *.jpg') do (
set file=%%1
set /a nbr+=1
if !nbr! gtr !rand! goto getout
)
:getout
xcopy /y "%file%" "E:\DTUtils\dtpics\net\picxx.jpg"
https://www.google.com/search?q=radio+batch+file+select+random+track&ie=utf-8&oe=utf-8