[BUG] Negative unwatched episode count for TV Shows

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Sranshaft Offline
Posting Freak
Posts: 1,420
Joined: Dec 2008
Reputation: 24
Location: Melbourne, Australia
Post: #1
Since I've updated from the March 19th build, I've been getting negative counts for TV Shows so that the unwatched count shows -1 unwatched episodes for example.

It appears to be disregarding if an episode was previously watched before. Using the Confluence skin, it displays Episodes Total: 9, Watched: 10, Unwatched: -1.

The way I was able to reproduce the bug was to:

1. set all episodes to unwatched. The skin will now show the total number of unwatched shows.

2. set all episodes to watched. The skin now shows 0 unwatched episodes.

3. watch an episode of the show (or skip through to the end).

4. the skin now displays -1 unwatched episodes.

Last tested on XBMCSetup-20110323-5886c7f-dx.exe which still has this behavior.

Opened a ticket here. A little off-topic but something I ran into while trying to narrow down the cause, selecting 'Mark all as watched' from the context menu of the TV Show node, does not work. Selecting it on the season node or episode node works as expected.

[Image: all-thin-fanart.jpg]
(This post was last modified: 2011-03-23 20:26 by Sranshaft.)
find quote
Sranshaft Offline
Posting Freak
Posts: 1,420
Joined: Dec 2008
Reputation: 24
Location: Melbourne, Australia
Post: #2
Can we get a confirmation or denial on this bug? This seems to be a pretty major one.

[Image: all-thin-fanart.jpg]
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #3
yes the bug exists.
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #4
and was fixed in https://github.com/xbmc/xbmc/commit/3eba...c578711b1e
find quote
Sranshaft Offline
Posting Freak
Posts: 1,420
Joined: Dec 2008
Reputation: 24
Location: Melbourne, Australia
Post: #5
spiff Wrote:and was fixed in https://github.com/xbmc/xbmc/commit/3eba...c578711b1e

Just saw that. Don't think it made it into XBMCSetup-20110325-1392683-master so I'll wait for the next build. Thanks for the update Spiff.

[Image: all-thin-fanart.jpg]
find quote
gizmotoy Offline
Senior Member
Posts: 152
Joined: Jan 2011
Reputation: 0
Post: #6
It seems that this bug has crept back in. I currently have a TV show with a negative watch counter. I've seen it on both the 12.0 and 12.1 official Windows builds. Any suggestions? Anything you need from me to help debug?

I tried marking the entire show as unwatched, and then as watched again, but the counter returned to -1. It's very persistent.

Edit: For anyone else running across this, if you rename the files so XBMC scans them as new, then clean out the old entries, it should go back to working correctly.
(This post was last modified: 2013-03-29 18:26 by gizmotoy.)
find quote
numl0ck Offline
Junior Member
Posts: 1
Joined: Oct 2013
Reputation: 0
Post: #7
I now see this as well. When I rename the files XBMC will show "2 unwatched" when there are 3 unwatched in the folder and when they get marked at watched it shows "-1 Unwatched"

I'm currently running 12.2 on ATV2.
(This post was last modified: 2013-10-27 03:26 by numl0ck.)
find quote