xbmc/xbmc — pull request #1083 by pieh (2012-06-17 09:33:55+00:00)
Title: fix fetching playcount for plugin listings with content set

This fixes problem described in http://forum.xbmc.org/showthread.php?tid=134027

Current routine to fetch additional info for videos is a bit flawed: it assume that if items have content set - then we don't have to fetch additional metadata/playcount. This doesn't work well for plugins (which might set items content).

I just added additional check to test if items were created from database (which I hope, means that metadata and playcount are already fetched).