TV sorting using show initials instead of full name?

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
weekender
Newbie
Newbie
Posts: 11
Joined: April 2nd, 2010, 1:03 am

TV sorting using show initials instead of full name?

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post by shypike »

I think the RSS feed uses this name, SABnzbd simply copies that.
weekender
Newbie
Newbie
Posts: 11
Joined: April 2nd, 2010, 1:03 am

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

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post 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.)
weekender
Newbie
Newbie
Posts: 11
Joined: April 2nd, 2010, 1:03 am

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

Post 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 ???
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post by shypike »

I cannot tell with just this info.
Can you send the NZB to [email protected] ?
(Please add the URL of this post.)
weekender
Newbie
Newbie
Posts: 11
Joined: April 2nd, 2010, 1:03 am

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

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post 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?)
weekender
Newbie
Newbie
Posts: 11
Joined: April 2nd, 2010, 1:03 am

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

Post by weekender »

No I do not use SickBeard.
As for the indexer, I use nzbs.in
weekender
Newbie
Newbie
Posts: 11
Joined: April 2nd, 2010, 1:03 am

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

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post 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.
weekender
Newbie
Newbie
Posts: 11
Joined: April 2nd, 2010, 1:03 am

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

Post 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.
Post Reply