junalmeida / Sick-Beard

Sick-Beard is a PVR & episode guide that downloads and manages all your TV shows. You must have rights to the TV Shows being downloaded. Always observe network regulations and laws in your country.
GNU General Public License v3.0
143 stars 72 forks source link

Duplicate entries in database for ep. titles that begin with a number #269

Closed FabianN closed 5 years ago

FabianN commented 9 years ago

I've noticed an issue which I'd guess it's cause is fairly straight-forward, but I have found that any episode who's name starts with a number gets it's entries in the sickbeard db duplicated that number of times.

An example is shown in the image. capture

It duplicated the 500 Keys entry until there were 500 episode entries in that season.

It did the same thing with a startrek tng ep, though I just deleted that entire show entry because the number for that one was somewhere in the 10k's, and the show's page would no longer load fully for me.

abmoraz commented 9 years ago

It's because your naming convention doesn't follow SickBeard's. You don't have 500, you have 480. It sees "S22E21-500" in the file name and assumes it is a multi-part episode. Specifically, Episode 21 through episode 500 in season 22 (which is 480 total episodes) and each episode is named "keys". Since the episode names don't match (or don't exist) in TheTVDB, they don't get air dates (as shown in the blank 3rd column).

The same thing happened to me with "Fairy Tail" and the episode "750 years later".

I'm pretty sure all you need to do to fix it is remove the dash between the 21 and the 500. Change it to a period or something other than a dash, a space, an underscore, or the letter "x" (which are all used to parse multipart episodes)

FabianN commented 9 years ago

Yeah, that's what I mean.

I tried changing some naming settings as suggested, but I'm still having the same issues. Here is what my naming scheme is setup as

465431

benyjr commented 9 years ago

@FabianN

Not sure why you need the date. Try this naming pattern: Season %S/%SN - s%0Se%0E - %EN It works for me

junalmeida commented 8 years ago

@FabianN is this still valid?

junalmeida commented 5 years ago

Closing all old stalled issues. If it is still valid please reopen.