Archive:XBMC v12 (Frodo) API changes: Difference between revisions
Jump to navigation
Jump to search
>Montellese |
>Montellese (list new JSON-RPC methods and notifications in Frodo) |
||
Line 20: | Line 20: | ||
==== New Methods ==== | ==== New Methods ==== | ||
* | * '''Addons''' | ||
** ExecuteAddon | |||
** GetAddons | |||
** GetAddonDetails | |||
** SetAddonEnabled | |||
* '''AudioLibrary''' | |||
** GetRecentlyPlayedAlbums | |||
** GetRecentlyPlayedSongs | |||
** SetAlbumDetails | |||
** SetArtistDetails | |||
** SetSongDetails | |||
* '''Files''' | |||
** GetFileDetails | |||
* '''GUI''' | |||
** ActivateWindow | |||
** GetProperties | |||
** SetFullscreen | |||
** ShowNotification | |||
* '''Input''' | |||
** ContextMenu | |||
** ExecuteAction | |||
** Info | |||
** SendText | |||
** ShowCodec | |||
** ShowOSD | |||
* '''Player''' | |||
** Move | |||
** SetPartymode | |||
** SetRepeat | |||
** SetShuffle | |||
** Zoom | |||
* '''System''' | |||
** EjectOpticalDrive | |||
* '''VideoLibrary''' | |||
** RemoveEpisode | |||
** RemoveMovie | |||
** RemoteMusicVideo | |||
** RemoveTVShow | |||
** SetEpisodeDetails | |||
** SetMovieDetails | |||
** SetMusicVideoDetails | |||
** SetTVShowDetails | |||
==== New Notifications ==== | |||
* '''Application''' | |||
** OnVolumeChanged | |||
* '''AudioLibrary''' | |||
** OnScanStarted | |||
** OnScanFinished | |||
* '''Input''' | |||
** OnInputRequested | |||
** OnInputFinished | |||
* '''Playlist''' | |||
** OnAdd | |||
** OnRemove | |||
** OnClear | |||
* '''VideoLibrary''' | |||
** OnScanStarted | |||
** OnScanFinished | |||
=== Miscellaneous === | === Miscellaneous === |
Revision as of 10:27, 4 October 2012
Template:Frodo Frodo will represent the second repository update. Any add-ons that are submitted for inclusion in Frodo-pre and Frodo will require compatibility with the new APIs.
The Frodo-pre repository will be created soon, while the APIs may still change somewhat. When the APIs are frozen, the final Frodo repository will open and final API compatibility will be enforced.
Be sure to read the Official Repository Guidlines before submitting a pull request.
Scripts and Plugins
- ?
Skins
- ?
JSON-RPC
Main page: JSON-RPC API/v5
API
Changed Methods
- ?
New Methods
- Addons
- ExecuteAddon
- GetAddons
- GetAddonDetails
- SetAddonEnabled
- AudioLibrary
- GetRecentlyPlayedAlbums
- GetRecentlyPlayedSongs
- SetAlbumDetails
- SetArtistDetails
- SetSongDetails
- Files
- GetFileDetails
- GUI
- ActivateWindow
- GetProperties
- SetFullscreen
- ShowNotification
- Input
- ContextMenu
- ExecuteAction
- Info
- SendText
- ShowCodec
- ShowOSD
- Player
- Move
- SetPartymode
- SetRepeat
- SetShuffle
- Zoom
- System
- EjectOpticalDrive
- VideoLibrary
- RemoveEpisode
- RemoveMovie
- RemoteMusicVideo
- RemoveTVShow
- SetEpisodeDetails
- SetMovieDetails
- SetMusicVideoDetails
- SetTVShowDetails
New Notifications
- Application
- OnVolumeChanged
- AudioLibrary
- OnScanStarted
- OnScanFinished
- Input
- OnInputRequested
- OnInputFinished
- Playlist
- OnAdd
- OnRemove
- OnClear
- VideoLibrary
- OnScanStarted
- OnScanFinished
Miscellaneous
- WebSocket transport
Webserver
- /image handler to provide access to cached images (thumbnails, fanart, ...) of media items. The image URL (image://) returned by JSON-RPC needs to be URL encoded before appending it like a path to
http://<your-ip>:<configured port>/image/<url-encoded image:// path>
Scrapers
- ?
Screensavers and visualizations
- ?