When new shows are downloaded, I have Juice run a batch file that tells foobar (0.8.3) to add the file to the playlist, but that's the problem: the file is added to the selected playlist.
Here is the code: (enqueue.cmd)
CODE
@echo off
set str=
:loop
if "%str%" NEQ "" set str=%str% %1
if "%str%" EQU "" set str=%1
shift
if "%1" NEQ "" goto loop
"c:\program files\foobar2000\foobar2000.exe" /add "%str%"
set str=
:loop
if "%str%" NEQ "" set str=%str% %1
if "%str%" EQU "" set str=%1
shift
if "%1" NEQ "" goto loop
"c:\program files\foobar2000\foobar2000.exe" /add "%str%"
I want to know if there's a way to add the downloaded file to the 'Podcasts' playlist I have set up, instead of the selected one in foobar.
The top portion of the script is fine, I'm just interested in the last line. I'm not familiar with foobar's commands (I found the script online).
Thanks.
