xbmc/xbmc — pull request #1945 by Montellese (2012-12-16 20:57:32+00:00)
Title: videodb: retrieve streamdetails while retrieving other details which require extra SQL queries

Currently we don't retrieve streamdetails when e.g. retrieving the cast for movies or tags for musicvideos even though all those actions require extra SQL queries. That means that we have to manually call CVideoDatabase::GetStreamDetails wherever we call GetMovieInfo/GetEpisodeInfo/GetMusicVideoInfo to get all the details of a video. This leads to a lot of more or less duplicate code and several issues in JSON-RPC where streamdetails are reported empty even though there are streamdetails for a specific video (Martijn has discovered such an issue a few days ago, see http://trac.xbmc.org/ticket/13749) which makes the API or rather the values returned by the API inconsistent.