bodrick/Ember-MM — Issue #3: Incorrect Episode Listing
Author: fungus1487
Created: 2012-02-12 13:43:46+00:00
State: open

Hi Great project and thanks for keeping it going.

I have managed to narrow down an issue with the UI incorrectly showing the right tv episodes for a given season. This is most easily understood by looking at the following two links.

http://downloads.designdotworks.co.uk/incorrect-episode-listing-01.jpg
http://downloads.designdotworks.co.uk/incorrect-episode-listing-02.jpg

The first shows ember listing a season 05 under blackadder (when there is no such series) as well as episodes 2-12 inside this series.
The second shows ember listing a season 05 under dexter (correct so far) but only episode 1. The rest appear to end up under the blackadder seasons.

I have checked the ember sqlite database to make sure references are correct and all looks fine, each episode for dexter references the right show id etc and I can manually run the queries in the ember database api class to validate that it is returning what is the correct information. For clarities sake I have also attached my database.

http://downloads.designdotworks.co.uk/Media.emm

This appears to be an issue only in how the UI displays these listings as further investigation shows my scraped nfos are fine and XBMC finally picks up everything in season order with the correct episodes.

My library structure is relatively straight forward too.

..\tv shows\
..\tv shows\dexter\
..\tv shows\dexter\season 01\
..\tv shows\dexter\season 01\s01e01.bluray.mkv
..\tv shows\dexter\season 01\s01e01.bluray.nfo
..\tv shows\dexter\season 01\s01e02.bluray.mkv
..\tv shows\dexter\season 01\s01e02.bluray.nfo
..\tv shows\dexter\season 01\... [etc]
..\tv shows\dexter\season 02\s02e01.bluray.mkv
..\tv shows\dexter\season 02\s02e01.bluray.nfo
..\tv shows\dexter\season 02\s02e02.bluray.mkv
..\tv shows\dexter\season 02\s02e02.bluray.nfo
..\tv shows\dexter\season 02\... [etc]

Hopefully this gives you enough information to track it down in the UI code, I tried sniffing around but I'm not familiar with the code and I use c# (been a while since I plunged into VB). I was looking at how the seasons data grid gets populated and filtered but again everything is indexed by integers so its a little difficult to browse. I can help if you need just point me in the right direction.