This repository has been archived by the owner on Sep 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Proto files updated. Thanks to postlund (https://github.com/postlund/pyatv) to keeping it up to date.
- Loading branch information
Showing
48 changed files
with
513 additions
and
221 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
syntax = "proto2"; | ||
|
||
message AudioFormatSettings { | ||
optional bytes formatSettingsPlistData = 1; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,82 +1,89 @@ | ||
syntax = "proto2"; | ||
|
||
enum Command { | ||
Unknown=0; | ||
Play=1; | ||
Pause=2; | ||
TogglePlayPause=3; | ||
Stop=4; | ||
NextTrack=5; | ||
PreviousTrack=6; | ||
AdvanceShuffleMode=7; | ||
AdvanceRepeatMode=8; | ||
BeginFastForward=9; | ||
EndFastForward=10; | ||
BeginRewind=11; | ||
EndRewind=12; | ||
Rewind15Seconds=13; | ||
FastForward15Seconds=14; | ||
Rewind30Seconds=15; | ||
FastForward30Seconds=16; | ||
|
||
SkipForward=18; | ||
SkipBackward=19; | ||
ChangePlaybackRate=20; | ||
RateTrack=21; | ||
LikeTrack=22; | ||
DislikeTrack=23; | ||
BookmarkTrack=24; | ||
|
||
SeekToPlaybackPosition=45; | ||
ChangeRepeatMode=46; | ||
ChangeShuffleMode=47; | ||
|
||
EnableLanguageOption=53; | ||
DisableLanguageOption=54; | ||
Unknown = 0; | ||
Play = 1; | ||
Pause = 2; | ||
TogglePlayPause = 3; | ||
Stop = 4; | ||
NextTrack = 5; | ||
PreviousTrack = 6; | ||
AdvanceShuffleMode = 7; | ||
AdvanceRepeatMode = 8; | ||
BeginFastForward = 9; | ||
EndFastForward = 10; | ||
BeginRewind = 11; | ||
EndRewind = 12; | ||
Rewind15Seconds = 13; | ||
FastForward15Seconds = 14; | ||
Rewind30Seconds = 15; | ||
FastForward30Seconds = 16; | ||
SkipForward = 18; | ||
SkipBackward = 19; | ||
ChangePlaybackRate = 20; | ||
RateTrack = 21; | ||
LikeTrack = 22; | ||
DislikeTrack = 23; | ||
BookmarkTrack = 24; | ||
SeekToPlaybackPosition = 45; | ||
ChangeRepeatMode = 46; | ||
ChangeShuffleMode = 47; | ||
EnableLanguageOption = 53; | ||
DisableLanguageOption = 54; | ||
NextChapter = 25; | ||
PreviousChapter = 26; | ||
NextAlbum = 27; | ||
PreviousAlbum = 28; | ||
NextPlaylist = 29; | ||
PreviousPlaylist = 30; | ||
BanTrack = 31; | ||
AddTrackToWishList = 32; | ||
RemoveTrackFromWishList = 33; | ||
NextInContext = 34; | ||
PreviousInContext = 35; | ||
ResetPlaybackTimeout = 41; | ||
SetPlaybackQueue = 48; | ||
AddNowPlayingItemToLibrary = 49; | ||
CreateRadioStation = 50; | ||
AddItemToLibrary = 51; | ||
InsertIntoPlaybackQueue = 52; | ||
ReorderPlaybackQueue = 55; | ||
RemoveFromPlaybackQueue = 56; | ||
PlayItemInPlaybackQueue = 57; | ||
} | ||
|
||
NextChapter=25; | ||
PreviousChapter=26; | ||
NextAlbum=27; | ||
PreviousAlbum=28; | ||
NextPlaylist=29; | ||
PreviousPlaylist=30; | ||
BanTrack=31; | ||
AddTrackToWishList=32; | ||
RemoveTrackFromWishList=33; | ||
NextInContext=34; | ||
PreviousInContext=35; | ||
message CommandInfo { | ||
enum RepeatMode { | ||
Unknown = 0; | ||
One = 1; | ||
All = 2; | ||
} | ||
|
||
ResetPlaybackTimeout=41; | ||
SetPlaybackQueue=48; | ||
AddNowPlayingItemToLibrary=49; | ||
CreateRadioStation=50; | ||
AddItemToLibrary=51; | ||
InsertIntoPlaybackQueue=52; | ||
enum ShuffleMode { | ||
Unkown = 0; | ||
Off = 1; | ||
Albums = 2; | ||
Songs = 3; | ||
} | ||
|
||
ReorderPlaybackQueue=55; | ||
RemoveFromPlaybackQueue=56; | ||
PlayItemInPlaybackQueue=57; | ||
optional Command command = 1; | ||
optional bool enabled = 2; | ||
optional bool active = 3; | ||
repeated double preferredIntervals = 4; | ||
optional string localizedTitle = 5; | ||
optional float minimumRating = 6; | ||
optional float maximumRating = 7; | ||
repeated float supportedRates = 8; | ||
optional string localizedShortTitle = 9; | ||
optional RepeatMode repeatMode = 10; | ||
optional ShuffleMode shuffleMode = 11; | ||
optional int32 presentationStyle = 12; | ||
optional int32 skipInterval = 13; | ||
optional int32 numAvailableSkips = 14; | ||
optional int32 skipFrequency = 15; | ||
optional int32 canScrub = 16; | ||
repeated int32 supportedPlaybackQueueTypes = 17; | ||
repeated string supportedCustomQueueIdentifiers = 18; | ||
repeated int32 supportedInsertionPositions = 19; | ||
optional bool supportsSharedQueue = 20; | ||
} | ||
|
||
message CommandInfo { | ||
optional Command command = 1; | ||
optional bool enabled = 2; | ||
optional bool active = 3; | ||
repeated double preferredIntervals = 4; | ||
optional string localizedTitle = 5; | ||
optional float minimumRating = 6; | ||
optional float maximumRating = 7; | ||
repeated float supportedRates = 8; | ||
optional string localizedShortTitle = 9; | ||
optional int32 repeatMode = 10; | ||
optional int32 shuffleMode = 11; | ||
optional int32 presentationStyle = 12; | ||
optional int32 skipInterval = 13; | ||
optional int32 numAvailableSkips = 14; | ||
optional int32 skipFrequency = 15; | ||
optional int32 canScrub = 16; | ||
repeated int32 supportedPlaybackQueueTypes = 17; | ||
repeated string supportedCustomQueueIdentifiers = 18; | ||
repeated int32 supportedInsertionPositions = 19; | ||
optional bool supportsSharedQueue = 20; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,47 @@ | ||
syntax = "proto2"; | ||
|
||
message CommandOptions { | ||
optional string sourceId = 2; | ||
optional string mediaType = 3; | ||
optional bool externalPlayerCommand = 4; | ||
optional float skipInterval = 5; | ||
optional float playbackRate = 6; | ||
optional float rating = 7; | ||
optional bool negative = 8; | ||
optional double playbackPosition = 9; | ||
optional int32 repeatMode = 10; | ||
optional int32 shuffleMode = 11; | ||
optional uint64 trackID = 12; | ||
optional int64 radioStationID = 13; | ||
optional string radioStationHash = 14; | ||
optional bytes systemAppPlaybackQueueData = 15; | ||
optional string destinationAppDisplayID = 16; | ||
optional uint32 sendOptions = 17; | ||
optional bool requestDefermentToPlaybackQueuePosition = 18; | ||
optional string contextID = 19; | ||
optional bool shouldOverrideManuallyCuratedQueue = 20; | ||
optional string stationURL = 21; | ||
optional bool shouldBeginRadioPlayback = 22; | ||
optional int32 playbackQueueInsertionPosition = 23; | ||
optional string contentItemID = 24; | ||
optional int32 playbackQueueOffset = 25; | ||
optional int32 playbackQueueDestinationOffset = 26; | ||
optional bytes languageOption = 27; | ||
optional bytes playbackQueueContext = 28; | ||
optional string insertAfterContentItemID = 29; | ||
optional string nowPlayingContentItemID = 30; | ||
optional int32 replaceIntent = 31; | ||
enum RepeatMode { | ||
Unknown = 0; | ||
One = 1; | ||
All = 2; | ||
} | ||
|
||
enum ShuffleMode { | ||
Unkown = 0; | ||
Off = 1; | ||
Albums = 2; | ||
Songs = 3; | ||
} | ||
|
||
optional string sourceId = 2; | ||
optional string mediaType = 3; | ||
optional bool externalPlayerCommand = 4; | ||
optional float skipInterval = 5; | ||
optional float playbackRate = 6; | ||
optional float rating = 7; | ||
optional bool negative = 8; | ||
optional double playbackPosition = 9; | ||
optional RepeatMode repeatMode = 10; | ||
optional ShuffleMode shuffleMode = 11; | ||
optional uint64 trackID = 12; | ||
optional int64 radioStationID = 13; | ||
optional string radioStationHash = 14; | ||
optional bytes systemAppPlaybackQueueData = 15; | ||
optional string destinationAppDisplayID = 16; | ||
optional uint32 sendOptions = 17; | ||
optional bool requestDefermentToPlaybackQueuePosition = 18; | ||
optional string contextID = 19; | ||
optional bool shouldOverrideManuallyCuratedQueue = 20; | ||
optional string stationURL = 21; | ||
optional bool shouldBeginRadioPlayback = 22; | ||
optional int32 playbackQueueInsertionPosition = 23; | ||
optional string contentItemID = 24; | ||
optional int32 playbackQueueOffset = 25; | ||
optional int32 playbackQueueDestinationOffset = 26; | ||
optional bytes languageOption = 27; | ||
optional bytes playbackQueueContext = 28; | ||
optional string insertAfterContentItemID = 29; | ||
optional string nowPlayingContentItemID = 30; | ||
optional int32 replaceIntent = 31; | ||
} |
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
Oops, something went wrong.