Closed GoogleCodeExporter closed 8 years ago
I believe I have found the issue in the code. It's an inconsistent
IndexArgument for the ReportFacadeLoadingProgress method, beween
ElementForDelayedImgLoading, and the actualy DelayedImgLoading, so the wrong
element gets updated with the Banner.
Unfortunately, I cannot attach the patch here due to storage quota exceeded...
I have started a thread on the MP Forum:
http://forum.team-mediaportal.com/threads/patch-for-mp-tvseries-issue-648-wrong-
banner-show-title-when-importing-in-mp.113206/
Original comment by michel.zehnder
on 16 Oct 2012 at 7:55
Thanks michel, I will take a look at this for next release.
I probably haven't seen this as I use ListPoster layout.
Original comment by damien.haynes@gmail.com
on 19 Oct 2012 at 11:52
michel, I havent looked too closely at your patch but I did some testing. It
seems to have an exception on line 2695 of TVSeriesPlugin.cs:
System.ThrowHelper.ThrowKeyNotFoundException()
See full log attached. It occurs when the facade is refreshed during import.
Original comment by damien.haynes@gmail.com
on 20 Oct 2012 at 4:45
Attachments:
Damien
I have added a check for existence of the key.
I also added some logging (debug mode), could you run it again with an import
in debug mode and attach me the log? I'm interested as to why there is no such
key.
Thanks
Original comment by michel.z...@quadrotech-it.com
on 20 Oct 2012 at 8:38
Attachments:
Hi Michel, sorry been a bit busy lately trying to get skins done for MP1.3.
Anyway, I tried reproducing again with latest patch but funny enough I
couldn't. I will continue to test trying to narrow down cause and keep you
updated.
Original comment by damien.haynes@gmail.com
on 22 Oct 2012 at 10:55
Michel, I see why I didnt see error in log this time. The logging you added was
at the wrong level of the if block. Can try this instead:
http://paste2.org/p/2369712
Original comment by damien.haynes@gmail.com
on 23 Oct 2012 at 5:24
Not sure if its going to help but I reproduced in this log:
"00000003 - 23/10/2012 4:17:41 PM - DelayedImgLoading: Could not find
GUIListItem with index: 1"
On screen it just shows a blank banner as would be expected in this case.
Original comment by damien.haynes@gmail.com
on 23 Oct 2012 at 5:26
Attachments:
Strange, I can't see why that index is not there. It should get created on the
case BackGroundLoadingArgumentType.ElementForDelayedImgLoading: round.
Anyways, it seems to work from a UI perspective. I added your pastebin to the
patch, and I keep an eye on the log to maybe find the cause of it.
Original comment by michel.z...@quadrotech-it.com
on 25 Oct 2012 at 4:32
Attachments:
Thanks michel, done r1983.
Guess we will see if anyone else experiences issue with the blank banners. We
can look into it more later.
Original comment by damien.haynes@gmail.com
on 15 Dec 2012 at 12:52
Original issue reported on code.google.com by
michel.zehnder
on 16 Oct 2012 at 4:36