Page 1 of 1

Showname changing case

Posted: January 4th, 2012, 5:26 am
by bunjiboys
First off, apologies if this has been discussed before, but after searching through the forums I have been unable to find any matching threads.

But my question is if it would be possible to have the %sn macro not change the case of the showname in certain cases. An example would be a show like either CSI or NCIS, with an all upper case title, where using the %sn macro will cause it to become Csi or Ncis respectively. Of course this is a very minor cosmetic issue, but still one thats bugging me personally :).

I've taken a very quick look into tvsort.py and I see theres already some magic being worked on top of the .title(), so I was wondering if it would be doable to add an option to allow for the original case on show names to be preserved, if you trust that your input will be using the correct case.

In case thats not possible, is there some easy way of doing this using either the pre- or post-scripts? I know I could have a post script do all this myself by simply renaming the files and folders, but its a lot of extra operations, if I could just overwrite the %sn through say the pre-queue script, but it doesnt seem to possible to me.

Re: Showname changing case

Posted: January 4th, 2012, 6:44 pm
by shypike
Noted, maybe in a later release.

Re: Showname changing case

Posted: February 5th, 2012, 2:51 pm
by shypike
Implemented in 0.7.0 (not out yet) as %sN, %s.N and %s_N.
These terms will give the verbatim title of show or movie.

Re: Showname changing case

Posted: February 9th, 2012, 12:14 pm
by drawde
Thanks shypike! i was looking for this exact same thing.