Is there a way to rename files based on nzb name?

Get help, report and discuss bugs.
Post Reply
ecrispy
Posts: 1
Joined: 25 Aug 2019, 16:53

Is there a way to rename files based on nzb name?

Post by ecrispy » 25 Aug 2019, 17:01

This is not for movies/tv shows for which I use VideoSort + Sonarr etc. This is for other categories/misc items.

My goal is very simple - if nzb is called SomeFile.nzb then the download should be SomeFile/SomeFile.ext, not whatever filename is downloaded.

I searched for this and suggestion was to use VideoSort which has an option PreferNzbName which renames files using the nzb's name. So I made a copy of VideoSort called MyVideoSort and use it for my custom category. In it I just set movie naming scheme to '%t/%t'. However it also first tries to guess the type of file. Sometimes it thinks something is a tv show when it isn't, and sometimes it will ignore part of the filename based on how it parses it etc.

Does such a script exist or can someone tell me how to achieve this?

hugbug
Developer & Admin
Posts: 7396
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Is there a way to rename files based on nzb name?

Post by hugbug » 28 Aug 2019, 14:05

You should use %dn instead of %t. Use the same format specifier for all format options: MovieFormat, SeriesFormat and DatedFormat.

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests