Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { "JSONRPC.Introspect", CJSONRPC::Introspect, Response, ReadData, "Enumerates all actions and descriptions" },
- { "JSONRPC.Version", CJSONRPC::Version, Response, ReadData, "Retrieve the jsonrpc protocol version" },
- { "JSONRPC.Permission", CJSONRPC::Permission, Response, ReadData, "Retrieve the clients permissions" },
- { "JSONRPC.Ping", CJSONRPC::Ping, Response, ReadData, "Ping responder" },
- { "JSONRPC.SetAnnouncementFlags", CJSONRPC::SetAnnouncementFlags, Announcing, ControlAnnounce, "Change the announcement flags" },
- { "JSONRPC.Announce", CJSONRPC::Announce, Response, ReadData, "Announce to other connected clients" },
- // Player
- { "Player.GetActivePlayers", CPlayerOperations::GetActivePlayers, Response, ReadData, "Returns all active players IDs"},
- // Music player
- { "MusicPlayer.PlayPause", CPlayerOperations::PlayPause, Response, ControlPlayback, "Pauses or unpause playback" },
- { "MusicPlayer.Stop", CPlayerOperations::Stop, Response, ControlPlayback, "Stops playback" },
- { "MusicPlayer.SkipPrevious", CPlayerOperations::SkipPrevious, Response, ControlPlayback, "Skips to previous item on the playlist" },
- { "MusicPlayer.SkipNext", CPlayerOperations::SkipNext, Response, ControlPlayback, "Skips to next item on the playlist" },
- { "MusicPlayer.BigSkipBackward", CPlayerOperations::BigSkipBackward, Response, ControlPlayback, "" },
- { "MusicPlayer.BigSkipForward", CPlayerOperations::BigSkipForward, Response, ControlPlayback, "" },
- { "MusicPlayer.SmallSkipBackward", CPlayerOperations::SmallSkipBackward, Response, ControlPlayback, "" },
- { "MusicPlayer.SmallSkipForward", CPlayerOperations::SmallSkipForward, Response, ControlPlayback, "" },
- { "MusicPlayer.Rewind", CPlayerOperations::Rewind, Response, ControlPlayback, "Rewind current playback" },
- { "MusicPlayer.Forward", CPlayerOperations::Forward, Response, ControlPlayback, "Forward current playback" },
- { "MusicPlayer.GetTime", CPlayerOperations::GetTime, Response, ReadData, "Retrieve time" },
- { "MusicPlayer.GetTimeMS", CPlayerOperations::GetTimeMS, Response, ReadData, "Retrieve time in MS" },
- { "MusicPlayer.GetPercentage", CPlayerOperations::GetPercentage, Response, ReadData, "Retrieve percentage" },
- { "MusicPlayer.SeekTime", CPlayerOperations::SeekTime, Response, ControlPlayback, "Seek to a specific time" },
- { "MusicPlayer.GetPlaylist", CPlayerOperations::GetPlaylist, Response, ReadData, "Retrieve active playlist" },
- { "MusicPlayer.Record", CPlayerOperations::Record, Response, ControlPlayback, "" },
- // Video player
- { "VideoPlayer.PlayPause", CPlayerOperations::PlayPause, Response, ControlPlayback, "Pauses or unpause playback" },
- { "VideoPlayer.Stop", CPlayerOperations::Stop, Response, ControlPlayback, "Stops playback" },
- { "VideoPlayer.SkipPrevious", CPlayerOperations::SkipPrevious, Response, ControlPlayback, "Skips to previous item on the playlist" },
- { "VideoPlayer.SkipNext", CPlayerOperations::SkipNext, Response, ControlPlayback, "Skips to next item on the playlist" },
- { "VideoPlayer.BigSkipBackward", CPlayerOperations::BigSkipBackward, Response, ControlPlayback, "" },
- { "VideoPlayer.BigSkipForward", CPlayerOperations::BigSkipForward, Response, ControlPlayback, "" },
- { "VideoPlayer.SmallSkipBackward", CPlayerOperations::SmallSkipBackward, Response, ControlPlayback, "" },
- { "VideoPlayer.SmallSkipForward", CPlayerOperations::SmallSkipForward, Response, ControlPlayback, "" },
- { "VideoPlayer.Rewind", CPlayerOperations::Rewind, Response, ControlPlayback, "Rewind current playback" },
- { "VideoPlayer.Forward", CPlayerOperations::Forward, Response, ControlPlayback, "Forward current playback" },
- { "VideoPlayer.GetTime", CPlayerOperations::GetTime, Response, ReadData, "Retrieve time" },
- { "VideoPlayer.GetTimeMS", CPlayerOperations::GetTimeMS, Response, ReadData, "Retrieve time in MS" },
- { "VideoPlayer.GetPercentage", CPlayerOperations::GetPercentage, Response, ReadData, "Retrieve percentage" },
- { "VideoPlayer.SeekTime", CPlayerOperations::SeekTime, Response, ControlPlayback, "Seek to a specific time" },
- { "VideoPlayer.GetPlaylist", CPlayerOperations::GetPlaylist, Response, ReadData, "Retrieve active playlist" },
- // Slideshow player
- { "Slideshow.PlayPause", CSlideshowOperations::PlayPause, Response, ControlPlayback, "Pauses or unpause slideshow" },
- { "Slideshow.Stop", CSlideshowOperations::Stop, Response, ControlPlayback, "Stops slideshow" },
- { "Slideshow.SkipPrevious", CSlideshowOperations::SkipPrevious, Response, ControlPlayback, "Skips to previous picture in the slideshow" },
- { "Slideshow.SkipNext", CSlideshowOperations::SkipNext, Response, ControlPlayback, "Skips to next picture in the slideshow" },
- { "Slideshow.MoveLeft", CSlideshowOperations::MoveLeft, Response, ControlPlayback, "If picture is zoomed move viewport left otherwise skip previous" },
- { "Slideshow.MoveRight", CSlideshowOperations::MoveRight, Response, ControlPlayback, "If picture is zoomed move viewport right otherwise skip previous" },
- { "Slideshow.MoveDown", CSlideshowOperations::MoveDown, Response, ControlPlayback, "If picture is zoomed move viewport down" },
- { "Slideshow.MoveUp", CSlideshowOperations::MoveUp, Response, ControlPlayback, "If picture is zoomed move viewport up" },
- { "Slideshow.ZoomOut", CSlideshowOperations::ZoomOut, Response, ControlPlayback, "Zoom out once" },
- { "Slideshow.ZoomIn", CSlideshowOperations::ZoomIn, Response, ControlPlayback, "Zoom in once" },
- { "Slideshow.Zoom", CSlideshowOperations::Zoom, Response, ControlPlayback, "Zooms current picture" },
- { "Slideshow.Rotate", CSlideshowOperations::Rotate, Response, ControlPlayback, "Rotates current picture" },
- // Playlist
- { "Playlist.GetItems", CPlaylistOperations::GetItems, Response, ReadData, "Retrieve items in the playlist" },
- { "Playlist.Add", CPlaylistOperations::Add, Response, ControlPlayback, "Add items to the playlist" },
- { "Playlist.Remove", CPlaylistOperations::Remove, Response, ControlPlayback, "Remove items in the playlist" },
- { "Playlist.Swap", CPlaylistOperations::Swap, Response, ControlPlayback, "Swap items in the playlist" },
- { "Playlist.Shuffle", CPlaylistOperations::Shuffle, Response, ControlPlayback, "Shuffle playlist" },
- // File
- { "Files.GetShares", CFileOperations::GetRootDirectory, Response, ReadData, "Get the root directory of the media windows" },
- { "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" },
- // Music library
- { "MusicLibrary.GetArtists", CMusicLibrary::GetArtists, Response, ReadData, "Retrieve all artists" },
- { "MusicLibrary.GetAlbums", CMusicLibrary::GetAlbums, Response, ReadData, "Retrieve all albums from specified artist or genre" },
- { "MusicLibrary.GetSongs", CMusicLibrary::GetSongs, Response, ReadData, "Retrieve all songs from specified album, artist or genre" },
- { "MusicLibrary.GetSongInfo", CMusicLibrary::GetSongInfo, Response, ReadData, "Retrieve the wanted info from the specified song" },
- // Video library
- { "VideoLibrary.GetMovies", CVideoLibrary::GetMovies, Response, ReadData, "Retrieve all movies" },
- { "VideoLibrary.GetTVShows", CVideoLibrary::GetTVShows, Response, ReadData, "" },
- { "VideoLibrary.GetSeasons", CVideoLibrary::GetSeasons, Response, ReadData, "" },
- { "VideoLibrary.GetEpisodes", CVideoLibrary::GetEpisodes, Response, ReadData, "" },
- { "VideoLibrary.GetMusicVideoAlbums", CVideoLibrary::GetMusicVideoAlbums, Response, ReadData, "" },
- { "VideoLibrary.GetMusicVideos", CVideoLibrary::GetMusicVideos, Response, ReadData, "" },
- { "VideoLibrary.GetMovieInfo", CVideoLibrary::GetMovieInfo, Response, ReadData, "" },
- { "VideoLibrary.GetTVShowInfo", CVideoLibrary::GetTVShowInfo, Response, ReadData, "" },
- { "VideoLibrary.GetEpisodeInfo", CVideoLibrary::GetEpisodeInfo, Response, ReadData, "" },
- { "VideoLibrary.GetMusicVideoInfo", CVideoLibrary::GetMusicVideoInfo, Response, ReadData, "" },
- // System operations
- { "System.Shutdown", CSystemOperations::Shutdown, Response, ControlPower, "" },
- { "System.Suspend", CSystemOperations::Suspend, Response, ControlPower, "" },
- { "System.Hibernate", CSystemOperations::Hibernate, Response, ControlPower, "" },
- { "System.Reboot", CSystemOperations::Reboot, Response, ControlPower, "" },
- { "System.GetInfo", CSystemOperations::GetInfo, Response, ReadData, "Retrieve info about the system" },
- // XBMC Operations
- { "XBMC.GetVolume", CXBMCOperations::GetVolume, Response, ReadData, "Retrieve the current volume" },
- { "XBMC.SetVolume", CXBMCOperations::SetVolume, Response, ControlPlayback, "Set volume" },
- { "XBMC.ToggleMute", CXBMCOperations::ToggleMute, Response, ControlPlayback, "Toggle mute" },
- { "XBMC.Play", CXBMCOperations::Play, Response, ControlPlayback, "Starts playback" },
- { "XBMC.StartSlideshow", CXBMCOperations::StartSlideshow, Response, ControlPlayback, "Starts slideshow" },
- { "XBMC.Log", CXBMCOperations::Log, Response, Logging, "Logs a line in the xbmc.log" },
- { "XBMC.Quit", CXBMCOperations::Quit, Response, ControlPower, "Quit xbmc" }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement