I used the following: set dir=z:\Recorded TV for /f "delims=" %%A in ('dir /b "%dir%*.wtv"') do ("C:\Program Files (x86)\tSubGet\tSubGetC.exe" -k "%dir%\%%A")
Legend!!! thanks for responding so quickly. Works perfectly.
set "BASE=%~dp0" set "TSUBGET=%BASE%\tSubGetc.exe" for %%f in (*.wtv) do ( "%TSUBGET%" -k "%%f" ) Stick that in a .bat file (save it in the same location as tsubget) and run it from the same folder as your WTVs. As for detecting new WTV files, as you've mentioned, running on a scheduler is probably the easiest. E.g. use the task scheduler to do this, just make sure it starts in the same folder as your WTVs.
set "BASE=%~dp0" set "TSUBGET=%BASE%\tSubGetc.exe" for %%f in (*.wtv) do ( "%TSUBGET%" -k "%%f" ) Stick that in a .bat file and run it from the same folder as your WTVs. As for detecting new WTV files, as you've mentioned, running on a scheduler is probably the easiest. E.g. use the task scheduler to do this, just make sure it starts in the same folder as your WTVs.
If wildcards were available i'd run it agains *.wtv files.
Hope you can give me some advice. What i'd like to do with this program with WMC is as follows: WMC records a TV program Upon Recording completion i'd like TSUBGET to run to create an SRT file in the same folder location I'm really struggling with the best way to achieve the following in priority order (1) how do i inject the unique path\filename into the commandline since it doesn't accept wildcards (i.e. . or *.wtv). (2) what script/program should i use to automatically detect that a new show has...
Don't worry, figured it out... wrap the name in "quotation marks"
I'm having a problem running the commandline as my filenames have spaces in them. When i rename to something basic like "test.wtv" it works. When I put in the full file name it keeps tell me "An invalid parameter was passed". I've tried replacing the spaces with % and %20, but neither work. Any ideas???
Thanks for this, just what i was looking for too!
To be honest, you could probably get around it with some scripting (e.g. here), but here, try this: https://sourceforge.net/projects/tsubget/files/tSubGet-0.9.7 Not tested, so ymmv. Pass -k to skip if it exists.
I know this is old. Wonder if instead of "[-y] Overwrites the output without prompt." is there a commandline to simply skip if the file is already there. NOTE: I'd like to run this against all files in the "Recorded TV" folder and want it to simply skip files it has already done.
I'm glad you found it useful! If you wish to donate, you can do so here. Thanks!
Amazing! Its taken me months of trying to find this exact program and it works! Love...
Hi Steffen, There should be the executable, tSubGetC.exe, which is the console version...
Hi guys, I just found your tool after many months trying to find something, and im...