[Windows] My way to rename an episode the way I want it
Posted: October 30th, 2009, 7:46 am
Because the subs on bierdopje.com always have the syntax Show.Name.S0xE0x.720p.HDTV.X264.RLS, I was looking for a way to make sure the episode I was downloading gets renamed like that.
I now finally have that working and ofcourse wanted to share that with you guys.
To start I have TV sorting enabled with the following parsing method: %sn/Season %0s/%s.n.S%0sE%0e - %e.n.%ext
In the end I abuse the %e.n to copy the "720p.HDTV.X264.RLS" part. For this to work I have to name my NZB's like Show.Name.S0xE0x - 720p.HDTV.X264.RLS.
To fix the " - " in the file name I made a little user script that I attached to the Series category:
I hope I can make someone happy with this.
Grtz, Brainpower
I now finally have that working and ofcourse wanted to share that with you guys.
To start I have TV sorting enabled with the following parsing method: %sn/Season %0s/%s.n.S%0sE%0e - %e.n.%ext
In the end I abuse the %e.n to copy the "720p.HDTV.X264.RLS" part. For this to work I have to name my NZB's like Show.Name.S0xE0x - 720p.HDTV.X264.RLS.
To fix the " - " in the file name I made a little user script that I attached to the Series category:
Code: Select all
cd /d %1
set oldname=%3
set newname=%oldname: - =.%
if exist %oldname%.mkv ren %oldname%.mkv %newname%.mkv
if exist %oldname%.avi ren %oldname%.avi %newname%.avi
if exist %oldname%.mpg ren %oldname%.mpg %newname%.mpg
if exist %oldname%.nfo ren %oldname%.nfo %newname%.nfo
if exist %oldname%.ts ren %oldname%.ts %newname%.ts
Grtz, Brainpower