Browse files

CSmartPlaylistDirectory: avoid variable name clash

  • Loading branch information...
1 parent dd7c497 commit 3f0e86d566de74070e43f70d0a0b287fe5fef1e0 @Montellese committed Jul 24, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 xbmc/filesystem/SmartPlaylistDirectory.cpp
View
12 xbmc/filesystem/SmartPlaylistDirectory.cpp
@@ -98,8 +98,8 @@ namespace XFILE
// store the smartplaylist as JSON in the URL as well
videoUrl.AddOption("xsp", xsp);
- CDatabase::Filter filter;
- success = db.GetSortedVideos(mediaType, videoUrl.ToString(), sorting, items, filter, true);
+ CDatabase::Filter dbfilter;
+ success = db.GetSortedVideos(mediaType, videoUrl.ToString(), sorting, items, dbfilter, true);
db.Close();
}
}
@@ -116,8 +116,8 @@ namespace XFILE
// store the smartplaylist as JSON in the URL as well
musicUrl.AddOption("xsp", xsp);
- CDatabase::Filter filter;
- success = db.GetAlbumsByWhere(musicUrl.ToString(), filter, items, sorting);
+ CDatabase::Filter dbfilter;
+ success = db.GetAlbumsByWhere(musicUrl.ToString(), dbfilter, items, sorting);
items.SetContent("albums");
db.Close();
}
@@ -160,8 +160,8 @@ namespace XFILE
// store the smartplaylist as JSON in the URL as well
musicUrl.AddOption("xsp", xsp);
- CDatabase::Filter filter;
- success = db.GetSongsByWhere(musicUrl.ToString(), filter, items, sorting);
+ CDatabase::Filter dbfilter;
+ success = db.GetSongsByWhere(musicUrl.ToString(), dbfilter, items, sorting);
items.SetContent("songs");
db.Close();
}

0 comments on commit 3f0e86d

Please sign in to comment.