Use the nzb filename in (tv) sorting

Want something added? Ask for it here.
Post Reply
jordz
Newbie
Newbie
Posts: 19
Joined: December 21st, 2008, 10:49 am

Use the nzb filename in (tv) sorting

Post by jordz »

I always use "correct" nzb filenames, it would be nice if you could rename tv shows like this:
%s.n/Season.%0s/.%ext

That is nice because you never know what filenames you got in the downloaded archives.
It depends on the rlsgroup. With this method you keep the original filename of the nzb, which I personally always use, with this I won't have to do that again :)
Arch Linux sabnbzd-svn package: http://aur.archlinux.org/packages.php?ID=21941
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Use the nzb filename in (tv) sorting

Post by switch »

0.5 will have a variable called %fn that will simply use the original filename. However you can still do that now by simply omitting the filename part of the sort string.

Eg instead of this:

Code: Select all

%sn/Season %s/%sn - S%0sE%0e - %en.%ext
do this:

Code: Select all

%sn/Season %s/
and it won't do any renaming of the filename.
jordz
Newbie
Newbie
Posts: 19
Joined: December 21st, 2008, 10:49 am

Re: Use the nzb filename in (tv) sorting

Post by jordz »

I have that now, but the thing is:

for example a nzb file:
Show.S05E01.Episode-RLSGRP.nzb

Some rlsgroups do this:
show.s05e01.episode-rlsgrp.avi
and some do:
501-episode-rlsgrp.avi

Than I have to rename it manually, but I always have the correct rls name in the NZB file.
Would be nice to have it like this: Show.S05E01.Episode-RLSGRP.avi
Arch Linux sabnbzd-svn package: http://aur.archlinux.org/packages.php?ID=21941
Post Reply