This repository has been archived by the owner on Sep 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jsonrpc: refactor (Audio|Video|Picture)Player and (Audio|Video)Playlist
Merged AudioPlayer, VideoPlayer and PicturePlayer into Player (thanks topfs2) Merged AudioPlaylist and VideoPlaylist to replace Playlist and provide initial support for picture playlists (aka slideshows) Players/Playlists are no longer accessed by their media type (video, audio, picture) but by a unique ID. Active players/playlists (their ID and media type) can still be retrieved using Player.GetActivePlayers/Playlist.GetPlaylists Replaced Playlist.State with Playlist.GetProperties Replaced Player.State, Player.GetTime and Player.GetPercentage with Player.GetProperties Removed Playlist.SkipPrevious and Playlist.SkipNext (use Player.GoPrevious and Player.GoNext instead) The following methods have been moved from the Playlist to the Player namespace: Play (renamed to Open), Shuffle, UnShuffle, Repeat Refactored notifications for the Player namespace Unified naming of position/item/index parameters in Player and Playlist namespaces Merged XBMC.Play and XBMC.StartSlideshow into Player.Open Make Playlist.Add, Playlist.Clear and Player.Open work for picture playlists (closes #11219) Removed (Big|Small)Skip(Forward|Backward) from Player namespace Replace Rewind and Forward with SetSpeed in Player namespace Replace "value" parameter in "Player.SeekTime" with time struct parameters (thanks darwin; closes #11474) Merge SeekTime, SeekPercentage and (Small|Big)Skip(Forward|Backward) into Seek in Player namespace
- Loading branch information
1 parent
da78eaa
commit c4f161e
Showing
27 changed files
with
1,961 additions
and
2,576 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.