2012-04-15, 03:33
(2012-04-11, 13:09)macky Wrote: I would like to amend the last line of the code, the file rename, but I'm not sure of the coding used.
I want DVD in the filename so XBMC shows a DVD case e.g. Moviename.dvd.mkv
What would be the code for that?
XBMC should autodetect the resolution as soon as you play the disc and set the DVD box... but to do what you are requesting, add this line to the code to the AutoRipDVD.bat file:
Code:
set volid="%volid%.dvd."
Add it in the last section so it reads as follows, (positioning is critical)
Code:
:rename
::Cuts off 1st 5 characters of fname, then appends prefix
set volid="%volid%.dvd."
ren %fname% "%volid%"_%fname:~5%
I haven't tested this as I am currently not on my main computer, but it should work. Let me know how it goes.
*Note: This will flag all rips as DVD's even if they are Blu-Ray's