xbmc/xbmc — comment on commit dbf85d5dd420517fb9e20aa0d619e7d4f4624734
File:  line 0
By Montellese:

The test item I use to reproduce this problem is scanned and is part of the movie library. I just removed it and rescanned it to make sure it's scanned and the issue remains. In library view the fanart is displayed perfectly fine but in the files node it doesn't display neither for the directory nor the file itself.

With your !item.GetVideoInfoTag()->IsEmpty() suggestion the fanart is displayed correctly for the file but still not for the directory. I didn't remember that there is an IsEmpty() check in CVideoInfoTag but knowing that now I agree that this approach is better suited than mine.