Page 1 of 1

[1.2.0] h.264 in nzb name confuses series sorting

Posted: February 1st, 2017, 10:39 am
by CarpeDemon
I've found an easily reproducible bug where the tv sorting gets confused by having either "h.264" or "h 264" in the nzb name.
For example:

Foo - 2017-01-20 bar baz 720p h.264.nzb

Instead of identifying as a "Foo" dated "2017-01-20"
sab decides it is a "Foo - 2017-01-20 bar baz 720p h" episode s02e64

I have a workaround in my pre-queue script to rewrite "h.264" and "h 264" to "h264"
But it seems like this must be a common problem that would be better fixed in sab's series sorting code.
It also triggers on "h.265"

Re: [1.2.0] h.264 in nzb name confuses series sorting

Posted: February 1st, 2017, 11:18 am
by safihre
You're very welcome to submit a change on our github repo: https://github.com/sabnzbd/sabnzbd

The sorting code hasn't been changed in a long while!

Re: [1.2.0] h.264 in nzb name confuses series sorting

Posted: February 7th, 2017, 4:37 pm
by shypike
Series sorting doesn't support date-based series names.
It looks for something that resembles season/episode.
264 qualifies, because this format is used a lot.
We would need to filter out things like 264 first
and that would make it fail for season 2, episode 64.
Although, 64 is not a common episode number.
We'll see what we can do in a future release.

Re: [1.2.0] h.264 in nzb name confuses series sorting

Posted: March 19th, 2019, 10:04 pm
by Erikson
shypike wrote: February 7th, 2017, 4:37 pm Series sorting doesn't support date-based series names.
It looks for something that resembles season/episode.
264 qualifies, because this format is used a lot.
We would need to filter out things like 264 first
and that would make it fail for season 2, episode 64.
Although, 64 is not a common episode number.
We'll see what we can do in a future release.
Hey guys, I'm having the same issue as OP, I signed up just to bump this post.

Could you not exclude "h.264" from sorting as a known keyword? Or allow the user to define certain keywords to ignore? Sorry I'd make a pull request but my Python is terrible.