Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2010
5,055
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.61 KB | None | 0 0
  1. { "JSONRPC.Introspect", CJSONRPC::Introspect, Response, ReadData, "Enumerates all actions and descriptions" },
  2. { "JSONRPC.Version", CJSONRPC::Version, Response, ReadData, "Retrieve the jsonrpc protocol version" },
  3. { "JSONRPC.Permission", CJSONRPC::Permission, Response, ReadData, "Retrieve the clients permissions" },
  4. { "JSONRPC.Ping", CJSONRPC::Ping, Response, ReadData, "Ping responder" },
  5. { "JSONRPC.SetAnnouncementFlags", CJSONRPC::SetAnnouncementFlags, Announcing, ControlAnnounce, "Change the announcement flags" },
  6. { "JSONRPC.Announce", CJSONRPC::Announce, Response, ReadData, "Announce to other connected clients" },
  7.  
  8. // Player
  9. { "Player.GetActivePlayers", CPlayerOperations::GetActivePlayers, Response, ReadData, "Returns all active players IDs"},
  10.  
  11. // Music player
  12. { "MusicPlayer.PlayPause", CPlayerOperations::PlayPause, Response, ControlPlayback, "Pauses or unpause playback" },
  13. { "MusicPlayer.Stop", CPlayerOperations::Stop, Response, ControlPlayback, "Stops playback" },
  14. { "MusicPlayer.SkipPrevious", CPlayerOperations::SkipPrevious, Response, ControlPlayback, "Skips to previous item on the playlist" },
  15. { "MusicPlayer.SkipNext", CPlayerOperations::SkipNext, Response, ControlPlayback, "Skips to next item on the playlist" },
  16.  
  17. { "MusicPlayer.BigSkipBackward", CPlayerOperations::BigSkipBackward, Response, ControlPlayback, "" },
  18. { "MusicPlayer.BigSkipForward", CPlayerOperations::BigSkipForward, Response, ControlPlayback, "" },
  19. { "MusicPlayer.SmallSkipBackward", CPlayerOperations::SmallSkipBackward, Response, ControlPlayback, "" },
  20. { "MusicPlayer.SmallSkipForward", CPlayerOperations::SmallSkipForward, Response, ControlPlayback, "" },
  21.  
  22. { "MusicPlayer.Rewind", CPlayerOperations::Rewind, Response, ControlPlayback, "Rewind current playback" },
  23. { "MusicPlayer.Forward", CPlayerOperations::Forward, Response, ControlPlayback, "Forward current playback" },
  24.  
  25. { "MusicPlayer.GetTime", CPlayerOperations::GetTime, Response, ReadData, "Retrieve time" },
  26. { "MusicPlayer.GetTimeMS", CPlayerOperations::GetTimeMS, Response, ReadData, "Retrieve time in MS" },
  27. { "MusicPlayer.GetPercentage", CPlayerOperations::GetPercentage, Response, ReadData, "Retrieve percentage" },
  28. { "MusicPlayer.SeekTime", CPlayerOperations::SeekTime, Response, ControlPlayback, "Seek to a specific time" },
  29.  
  30. { "MusicPlayer.GetPlaylist", CPlayerOperations::GetPlaylist, Response, ReadData, "Retrieve active playlist" },
  31.  
  32. { "MusicPlayer.Record", CPlayerOperations::Record, Response, ControlPlayback, "" },
  33.  
  34. // Video player
  35. { "VideoPlayer.PlayPause", CPlayerOperations::PlayPause, Response, ControlPlayback, "Pauses or unpause playback" },
  36. { "VideoPlayer.Stop", CPlayerOperations::Stop, Response, ControlPlayback, "Stops playback" },
  37. { "VideoPlayer.SkipPrevious", CPlayerOperations::SkipPrevious, Response, ControlPlayback, "Skips to previous item on the playlist" },
  38. { "VideoPlayer.SkipNext", CPlayerOperations::SkipNext, Response, ControlPlayback, "Skips to next item on the playlist" },
  39.  
  40. { "VideoPlayer.BigSkipBackward", CPlayerOperations::BigSkipBackward, Response, ControlPlayback, "" },
  41. { "VideoPlayer.BigSkipForward", CPlayerOperations::BigSkipForward, Response, ControlPlayback, "" },
  42. { "VideoPlayer.SmallSkipBackward", CPlayerOperations::SmallSkipBackward, Response, ControlPlayback, "" },
  43. { "VideoPlayer.SmallSkipForward", CPlayerOperations::SmallSkipForward, Response, ControlPlayback, "" },
  44.  
  45. { "VideoPlayer.Rewind", CPlayerOperations::Rewind, Response, ControlPlayback, "Rewind current playback" },
  46. { "VideoPlayer.Forward", CPlayerOperations::Forward, Response, ControlPlayback, "Forward current playback" },
  47.  
  48. { "VideoPlayer.GetTime", CPlayerOperations::GetTime, Response, ReadData, "Retrieve time" },
  49. { "VideoPlayer.GetTimeMS", CPlayerOperations::GetTimeMS, Response, ReadData, "Retrieve time in MS" },
  50. { "VideoPlayer.GetPercentage", CPlayerOperations::GetPercentage, Response, ReadData, "Retrieve percentage" },
  51. { "VideoPlayer.SeekTime", CPlayerOperations::SeekTime, Response, ControlPlayback, "Seek to a specific time" },
  52.  
  53. { "VideoPlayer.GetPlaylist", CPlayerOperations::GetPlaylist, Response, ReadData, "Retrieve active playlist" },
  54.  
  55. // Slideshow player
  56. { "Slideshow.PlayPause", CSlideshowOperations::PlayPause, Response, ControlPlayback, "Pauses or unpause slideshow" },
  57. { "Slideshow.Stop", CSlideshowOperations::Stop, Response, ControlPlayback, "Stops slideshow" },
  58. { "Slideshow.SkipPrevious", CSlideshowOperations::SkipPrevious, Response, ControlPlayback, "Skips to previous picture in the slideshow" },
  59. { "Slideshow.SkipNext", CSlideshowOperations::SkipNext, Response, ControlPlayback, "Skips to next picture in the slideshow" },
  60.  
  61. { "Slideshow.MoveLeft", CSlideshowOperations::MoveLeft, Response, ControlPlayback, "If picture is zoomed move viewport left otherwise skip previous" },
  62. { "Slideshow.MoveRight", CSlideshowOperations::MoveRight, Response, ControlPlayback, "If picture is zoomed move viewport right otherwise skip previous" },
  63. { "Slideshow.MoveDown", CSlideshowOperations::MoveDown, Response, ControlPlayback, "If picture is zoomed move viewport down" },
  64. { "Slideshow.MoveUp", CSlideshowOperations::MoveUp, Response, ControlPlayback, "If picture is zoomed move viewport up" },
  65.  
  66. { "Slideshow.ZoomOut", CSlideshowOperations::ZoomOut, Response, ControlPlayback, "Zoom out once" },
  67. { "Slideshow.ZoomIn", CSlideshowOperations::ZoomIn, Response, ControlPlayback, "Zoom in once" },
  68. { "Slideshow.Zoom", CSlideshowOperations::Zoom, Response, ControlPlayback, "Zooms current picture" },
  69. { "Slideshow.Rotate", CSlideshowOperations::Rotate, Response, ControlPlayback, "Rotates current picture" },
  70.  
  71. // Playlist
  72. { "Playlist.GetItems", CPlaylistOperations::GetItems, Response, ReadData, "Retrieve items in the playlist" },
  73. { "Playlist.Add", CPlaylistOperations::Add, Response, ControlPlayback, "Add items to the playlist" },
  74. { "Playlist.Remove", CPlaylistOperations::Remove, Response, ControlPlayback, "Remove items in the playlist" },
  75. { "Playlist.Swap", CPlaylistOperations::Swap, Response, ControlPlayback, "Swap items in the playlist" },
  76. { "Playlist.Shuffle", CPlaylistOperations::Shuffle, Response, ControlPlayback, "Shuffle playlist" },
  77.  
  78. // File
  79. { "Files.GetShares", CFileOperations::GetRootDirectory, Response, ReadData, "Get the root directory of the media windows" },
  80. { "Files.Download", CFileOperations::Download, FileDownload, ReadData, "Specify a file to download to get info about how to download it, i.e a proper URL" },
  81.  
  82. { "Files.GetDirectory", CFileOperations::GetDirectory, Response, ReadData, "Retrieve the specified directory" },
  83.  
  84. // Music library
  85. { "MusicLibrary.GetArtists", CMusicLibrary::GetArtists, Response, ReadData, "Retrieve all artists" },
  86. { "MusicLibrary.GetAlbums", CMusicLibrary::GetAlbums, Response, ReadData, "Retrieve all albums from specified artist or genre" },
  87. { "MusicLibrary.GetSongs", CMusicLibrary::GetSongs, Response, ReadData, "Retrieve all songs from specified album, artist or genre" },
  88.  
  89. { "MusicLibrary.GetSongInfo", CMusicLibrary::GetSongInfo, Response, ReadData, "Retrieve the wanted info from the specified song" },
  90.  
  91. // Video library
  92. { "VideoLibrary.GetMovies", CVideoLibrary::GetMovies, Response, ReadData, "Retrieve all movies" },
  93.  
  94. { "VideoLibrary.GetTVShows", CVideoLibrary::GetTVShows, Response, ReadData, "" },
  95. { "VideoLibrary.GetSeasons", CVideoLibrary::GetSeasons, Response, ReadData, "" },
  96. { "VideoLibrary.GetEpisodes", CVideoLibrary::GetEpisodes, Response, ReadData, "" },
  97.  
  98. { "VideoLibrary.GetMusicVideoAlbums", CVideoLibrary::GetMusicVideoAlbums, Response, ReadData, "" },
  99. { "VideoLibrary.GetMusicVideos", CVideoLibrary::GetMusicVideos, Response, ReadData, "" },
  100.  
  101. { "VideoLibrary.GetMovieInfo", CVideoLibrary::GetMovieInfo, Response, ReadData, "" },
  102. { "VideoLibrary.GetTVShowInfo", CVideoLibrary::GetTVShowInfo, Response, ReadData, "" },
  103. { "VideoLibrary.GetEpisodeInfo", CVideoLibrary::GetEpisodeInfo, Response, ReadData, "" },
  104. { "VideoLibrary.GetMusicVideoInfo", CVideoLibrary::GetMusicVideoInfo, Response, ReadData, "" },
  105.  
  106. // System operations
  107. { "System.Shutdown", CSystemOperations::Shutdown, Response, ControlPower, "" },
  108. { "System.Suspend", CSystemOperations::Suspend, Response, ControlPower, "" },
  109. { "System.Hibernate", CSystemOperations::Hibernate, Response, ControlPower, "" },
  110. { "System.Reboot", CSystemOperations::Reboot, Response, ControlPower, "" },
  111.  
  112. { "System.GetInfo", CSystemOperations::GetInfo, Response, ReadData, "Retrieve info about the system" },
  113.  
  114. // XBMC Operations
  115. { "XBMC.GetVolume", CXBMCOperations::GetVolume, Response, ReadData, "Retrieve the current volume" },
  116. { "XBMC.SetVolume", CXBMCOperations::SetVolume, Response, ControlPlayback, "Set volume" },
  117. { "XBMC.ToggleMute", CXBMCOperations::ToggleMute, Response, ControlPlayback, "Toggle mute" },
  118.  
  119. { "XBMC.Play", CXBMCOperations::Play, Response, ControlPlayback, "Starts playback" },
  120. { "XBMC.StartSlideshow", CXBMCOperations::StartSlideshow, Response, ControlPlayback, "Starts slideshow" },
  121.  
  122. { "XBMC.Log", CXBMCOperations::Log, Response, Logging, "Logs a line in the xbmc.log" },
  123.  
  124. { "XBMC.Quit", CXBMCOperations::Quit, Response, ControlPower, "Quit xbmc" }
  125. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement