load songmovies from song group subdir

This commit is contained in:
Chris Danford
2008-05-07 18:55:53 +00:00
parent 18209c3d23
commit 9f63c12ac9
+1
View File
@@ -263,6 +263,7 @@ void BackgroundUtil::GetGlobalRandomMovies(
// Check for an exact match
if( !sMatch.empty() )
{
GetDirListing( SONG_MOVIES_DIR+pSong->m_sGroupName+"/"+sMatch, vsPathsOut, false, true ); // search in SongMovies/SongGroupName/ first
GetDirListing( SONG_MOVIES_DIR+sMatch, vsPathsOut, false, true );
GetDirListing( RANDOMMOVIES_DIR+sMatch, vsPathsOut, false, true );
if( !vsPathsOut.empty() )