Browse files

cosmetic: fixed indentation

  • Loading branch information...
1 parent 3642424 commit 214e47b01ee4f777141917f17da7fc30bb645525 @mkortstiege mkortstiege committed Jun 14, 2011
Showing with 6 additions and 6 deletions.
  1. +6 −6 xbmc/interfaces/json-rpc/VideoLibrary.cpp
View
12 xbmc/interfaces/json-rpc/VideoLibrary.cpp
@@ -351,17 +351,17 @@ JSON_STATUS CVideoLibrary::GetRecentlyAddedMusicVideos(const CStdString &method,
JSON_STATUS CVideoLibrary::GetGenres(const CStdString &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result)
{
- CStdString media = parameterObject["type"].asString();
+ CStdString media = parameterObject["type"].asString();
media = media.ToLower();
int idContent = -1;
/* select which video content to get genres from*/
if (media.Equals("movie"))
- idContent = VIDEODB_CONTENT_MOVIES;
- else if (media.Equals("tvshow"))
- idContent = VIDEODB_CONTENT_TVSHOWS;
- else if (media.Equals("musicvideo"))
- idContent = VIDEODB_CONTENT_MUSICVIDEOS;
+ idContent = VIDEODB_CONTENT_MOVIES;
+ else if (media.Equals("tvshow"))
+ idContent = VIDEODB_CONTENT_TVSHOWS;
+ else if (media.Equals("musicvideo"))
+ idContent = VIDEODB_CONTENT_MUSICVIDEOS;
CVideoDatabase videodatabase;
if (!videodatabase.Open())

0 comments on commit 214e47b

Please sign in to comment.