Page 1 of 1

TV sorting using show initials instead of full name?

Posted: April 8th, 2014, 3:08 am
by weekender
I'm using the following string: %sn/Season %s/%sn - S%0sE%0e.%ext
TV sorting works well on all my TV shows except one where %sn returns the initials of the show instead of its full name.

TV show name: My.TV.Show.S04E01.720p.HDTV.x264-WHATEVER
Show is placed in: MTS/Season 4/MTS - S04E01.mkv
instead of: My TV Show/Season 4/My TV Show - S04E01.mkv

That only happens with that particular show. I don't want to disclose its name but its a pretty big show that returned for its 4th season this past Sunday =P

I'm on Sab 0.7.17 Mac 10.9
Shows are pulled automatically using the RSS feature of Sab.

Re: TV sorting using show initials instead of full name?

Posted: April 8th, 2014, 6:21 am
by shypike
I think the RSS feed uses this name, SABnzbd simply copies that.

Re: TV sorting using show initials instead of full name?

Posted: April 8th, 2014, 9:16 am
by weekender
I checked the feed, and the release name is still as My.TV.Show.S04E01.720p.HDTV.x264-WHATEVER
I wish I could re-download it and add it to Sab manually to see if the problem still occurs but can't, all nzbs are already dead lol
Guess I'll have to wait until next sunday, unless someone re-posts it before then.

Re: TV sorting using show initials instead of full name?

Posted: April 8th, 2014, 10:11 am
by shypike
Well, there is no algorithm in SABnzbd to do such renames.
So somehow the MTS abbreviation must come from the source.
Either from the RSS title, the NZB name (which can be different) or the actual .mkv name.
(Check Config->Special->rss_filenames; if 1 then actual NZB names are used instead of the RSS title.)

Re: TV sorting using show initials instead of full name?

Posted: April 8th, 2014, 10:49 am
by weekender
Yep you're right. The mkv had a different file name than its NZB name (NZB name was same as RSS title).
Sab chose to rename the file based on the mkv file name.
I always thought Sab used the NZB name to rename files.

rss_filenames (off) is currently un-checked, so how come the RSS title wasn't used?

I'm confused on that last part ???

Re: TV sorting using show initials instead of full name?

Posted: April 8th, 2014, 2:41 pm
by shypike
I cannot tell with just this info.
Can you send the NZB to [email protected] ?
(Please add the URL of this post.)

Re: TV sorting using show initials instead of full name?

Posted: April 9th, 2014, 1:59 am
by weekender
Sent you the NZB.

I did a couple tests. Here are my results:

With rss_filenames checked
"My.TV.Show.S04E01.720p.HDTV.x264-WHATEVER" downloaded from RSS gets renamed as "MTS - S04E01.mkv".
"My.TV.Show.S04E01.720p.HDTV.x264-WHATEVER" added manually with NZB file gets renamed properly to "My TV Show - S04E01.mkv".

With rss_filenames un-checked
"My.TV.Show.S04E01.720p.HDTV.x264-WHATEVER" downloaded from RSS gets renamed as "MTS - S04E01.mkv".
"My.TV.Show.S04E01.720p.HDTV.x264-WHATEVER" added manually with NZB file gets renamed properly to "My TV Show - S04E01.mkv".

So the problem comes from the RSS feed and the rss_filenames setting doesn't seem to do anything.

Re: TV sorting using show initials instead of full name?

Posted: April 9th, 2014, 12:25 pm
by shypike
I also need to know your indexer, since it only happens when coming from an RSS feed.
(You're not also using SickBeard, are you?)

Re: TV sorting using show initials instead of full name?

Posted: April 9th, 2014, 2:48 pm
by weekender
No I do not use SickBeard.
As for the indexer, I use nzbs.in

Re: TV sorting using show initials instead of full name?

Posted: April 14th, 2014, 3:58 am
by weekender
So same thing happened with last night's episode.
It rename the folder, as well as the filename with:
"My.TV.Show.s04e02.mkv" got moved to "MTS/Season 4/MTS - S04E02.mkv"


Sent you the log by email.

Re: TV sorting using show initials instead of full name?

Posted: April 14th, 2014, 2:31 pm
by shypike
The solution is rather simple.
The problem is with the indexer.
Since 0.7.17, SABnzbd supports additional meta-data from indexers.
One of those is the "propername" tag, which should give you the proper show name,
without all the garbage put in by posters.
Only the indexer has decided that MTS is the proper name for "My TV Show".
The tag takes priority over the other name sources.

You can disable meta-tag support in Config->Special->enable_meta.
Set that value to 0 and the problem will go away.
Don't forget to tell your indexer about their mistake too.

Re: TV sorting using show initials instead of full name?

Posted: April 14th, 2014, 5:32 pm
by weekender
Ok great, thanks for looking into it.
I'll let the indexer know about this, but I have a feeling it's intentional on their part.
It's probably to avoid the release getting flagged too quickly.