xbmc/xbmc — pull request #4217 by Montellese (2014-02-16 21:32:47+00:00)
Title: jsonrpc: fix Files.GetDirectory returning wrong type "song" instead of "unknown"

This fixes the case where JSON-RPC's Files.GetDirectory would return items with the type "song" even though they aren't songs e.g. when retrieving a list of album years using the "musicdb://years/" path. Years obviously aren't songs so the returned type should be unknown.