diff options
author | topfs2 <topfs2@svn> | 2010-07-22 19:03:13 +0000 |
---|---|---|
committer | topfs2 <topfs2@svn> | 2010-07-22 19:03:13 +0000 |
commit | 27613eff223734bdc464354fc3f08121b88f68c5 (patch) | |
tree | 2a257037de30cd31eebf40589500e45b86426dfd | |
parent | 22444077dbbce5cb38aebe337db0de30205f2eb2 (diff) |
Added some more parameter descriptions in JSONRPC
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@32063 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r-- | xbmc/lib/libjsonrpc/JSONRPC.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/lib/libjsonrpc/JSONRPC.cpp b/xbmc/lib/libjsonrpc/JSONRPC.cpp index fe02be78c3..e7185b8ca0 100644 --- a/xbmc/lib/libjsonrpc/JSONRPC.cpp +++ b/xbmc/lib/libjsonrpc/JSONRPC.cpp @@ -143,10 +143,10 @@ Command CJSONRPC::m_commands[] = { { "Playlist.Shuffle", CPlaylistOperations::Shuffle, Response, ControlPlayback, "Shuffle playlist" }, // File - { "Files.GetSources", CFileOperations::GetRootDirectory, Response, ReadData, "Get the root directory of the media windows" }, + { "Files.GetSources", CFileOperations::GetRootDirectory, Response, ReadData, "Get the sources of the media windows. Parameter example {\"media\": \"video\"}. Media can be video, music, pictures or files" }, { "Files.Download", CFileOperations::Download, FileDownload, ReadData, "Specify a file to download to get info about how to download it, i.e a proper URL" }, - { "Files.GetDirectory", CFileOperations::GetDirectory, Response, ReadData, "Retrieve the specified directory" }, + { "Files.GetDirectory", CFileOperations::GetDirectory, Response, ReadData, "Retrieve the specified directory. Parameter example {\"directory\": \"foo/bar\", \"media\": \"video\"}. Media can be video, music, pictures or files" }, // Music library { "AudioLibrary.GetArtists", CAudioLibrary::GetArtists, Response, ReadData, "Retrieve all artists" }, |