2012-05-13, 14:44
Not sure. I got the error when I upgraded from 11.0 stable to the latest nightly this morning. There appears to either be something wrong with that nightly, or something wrong with the way I upgraded because it seems to be unable to query my episodes from the DB (so my tv shows show up as empty) even though it can clearly find the files and downloads the artwork etc for them. Therefore, I didn't really have an empty fresh install. So it may well be the case that this function doesn't get called at all with an empty library, but it looks to me like it would.
Regardless, it's usually a bad idea to put the first declaration of a variable inside a conditional binding if it being used outside of that binding.
Regardless, it's usually a bad idea to put the first declaration of a variable inside a conditional binding if it being used outside of that binding.