- September 16, 2009
- 3
- 0
- Home Country
-
United States of America
I wrote a little batch file that I can launch right from MediaPortal's menu with MyPrograms to encode dvd's. I'm using anydvd and Handbrake CLI. I'm new at this, but everything works really well. Here is my code-
(I didn't write all the code, I found it arround the net but not really sure from who)
It works really well until I get a dvd with a label of DVD_Video or something like that. I was wondering if there was a tool somewhere that I could add a line to bring in the IMDB title instead of the DVD drive volume name.
Code:
dir d: | find "Volume in drive" > name.txt
for /F "tokens=6" %%i in (name.txt) do set name=%%i
del name.txt
echo Project Name: %name%
"C:\Program Files (x86)\HandBrake\HandBrakeCLI.exe" -i "D:\VIDEO_TS" -o "Z:\Movies\%name%.mkv" -L --preset="MKV"
start ejectcd.exe
(I didn't write all the code, I found it arround the net but not really sure from who)
It works really well until I get a dvd with a label of DVD_Video or something like that. I was wondering if there was a tool somewhere that I could add a line to bring in the IMDB title instead of the DVD drive volume name.