-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This moves get_playback_support from static definitions, to dynamic based parsing desc.xml. The PlaybackSupport object is changed from enum to a set of boolean attributes, for making it easier to convert to equivalent structures at higher levels.
- Loading branch information
Showing
3 changed files
with
334 additions
and
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,273 @@ | ||
<?xml version="1.0"?> | ||
<YAMAHA_AV rsp="GET" RC="0"> | ||
<Main_Zone> | ||
<Input> | ||
<Input_Sel_Item> | ||
<Item_1> | ||
<Param>Rhapsody</Param> | ||
<RW>RW</RW> | ||
<Title>Rhapsody</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon076.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name>Rhapsody</Src_Name> | ||
<Src_Number>1</Src_Number> | ||
</Item_1> | ||
<Item_2> | ||
<Param>SiriusXM</Param> | ||
<RW>RW</RW> | ||
<Title>SiriusXM</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon078.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name>SiriusXM</Src_Name> | ||
<Src_Number>1</Src_Number> | ||
</Item_2> | ||
<Item_3> | ||
<Param>Pandora</Param> | ||
<RW>RW</RW> | ||
<Title>Pandora</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon075.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name>Pandora</Src_Name> | ||
<Src_Number>1</Src_Number> | ||
</Item_3> | ||
<Item_4> | ||
<Param>Spotify</Param> | ||
<RW>RW</RW> | ||
<Title>Spotify</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon102.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name>Spotify</Src_Name> | ||
<Src_Number>1</Src_Number> | ||
</Item_4> | ||
<Item_5> | ||
<Param>NET RADIO</Param> | ||
<RW>RW</RW> | ||
<Title>NET RADIO</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon005.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name>NET_RADIO</Src_Name> | ||
<Src_Number>1</Src_Number> | ||
</Item_5> | ||
<Item_6> | ||
<Param>SERVER</Param> | ||
<RW>RW</RW> | ||
<Title>SERVER</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon006.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name>SERVER</Src_Name> | ||
<Src_Number>1</Src_Number> | ||
</Item_6> | ||
<Item_7> | ||
<Param>AirPlay</Param> | ||
<RW>RW</RW> | ||
<Title>AirPlay</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon067.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name>AirPlay</Src_Name> | ||
<Src_Number>1</Src_Number> | ||
</Item_7> | ||
<Item_8> | ||
<Param>USB</Param> | ||
<RW>RW</RW> | ||
<Title>USB</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon009.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name>USB</Src_Name> | ||
<Src_Number>1</Src_Number> | ||
</Item_8> | ||
<Item_9> | ||
<Param>iPod (USB)</Param> | ||
<RW>R</RW> | ||
<Title>USB</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon011.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name>iPod_USB</Src_Name> | ||
<Src_Number>1</Src_Number> | ||
</Item_9> | ||
<Item_10> | ||
<Param>TUNER</Param> | ||
<RW>RW</RW> | ||
<Title>TUNER</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon008.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name>Tuner</Src_Name> | ||
<Src_Number>1</Src_Number> | ||
</Item_10> | ||
<Item_11> | ||
<Param>HDMI1</Param> | ||
<RW>RW</RW> | ||
<Title>HDMI1</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon004.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name/> | ||
<Src_Number>1</Src_Number> | ||
</Item_11> | ||
<Item_12> | ||
<Param>HDMI2</Param> | ||
<RW>RW</RW> | ||
<Title>HDMI2</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon004.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name/> | ||
<Src_Number>1</Src_Number> | ||
</Item_12> | ||
<Item_13> | ||
<Param>HDMI3</Param> | ||
<RW>RW</RW> | ||
<Title>HDMI3</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon004.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name/> | ||
<Src_Number>1</Src_Number> | ||
</Item_13> | ||
<Item_14> | ||
<Param>HDMI4</Param> | ||
<RW>RW</RW> | ||
<Title>HDMI4</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon004.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name/> | ||
<Src_Number>1</Src_Number> | ||
</Item_14> | ||
<Item_15> | ||
<Param>HDMI5</Param> | ||
<RW>RW</RW> | ||
<Title>HDMI5</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon004.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name/> | ||
<Src_Number>1</Src_Number> | ||
</Item_15> | ||
<Item_16> | ||
<Param>AV1</Param> | ||
<RW>RW</RW> | ||
<Title>AV1</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon003.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name/> | ||
<Src_Number>1</Src_Number> | ||
</Item_16> | ||
<Item_17> | ||
<Param>AV2</Param> | ||
<RW>RW</RW> | ||
<Title>AV2</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon003.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name/> | ||
<Src_Number>1</Src_Number> | ||
</Item_17> | ||
<Item_18> | ||
<Param>AV3</Param> | ||
<RW>RW</RW> | ||
<Title>AV3</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon003.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name/> | ||
<Src_Number>1</Src_Number> | ||
</Item_18> | ||
<Item_19> | ||
<Param>AV4</Param> | ||
<RW>RW</RW> | ||
<Title>AV4</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon003.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name/> | ||
<Src_Number>1</Src_Number> | ||
</Item_19> | ||
<Item_20> | ||
<Param>AV5</Param> | ||
<RW>RW</RW> | ||
<Title>AV5</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon003.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name/> | ||
<Src_Number>1</Src_Number> | ||
</Item_20> | ||
<Item_21> | ||
<Param>AV6</Param> | ||
<RW>RW</RW> | ||
<Title>AV6</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon003.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name/> | ||
<Src_Number>1</Src_Number> | ||
</Item_21> | ||
<Item_22> | ||
<Param>AUDIO1</Param> | ||
<RW>RW</RW> | ||
<Title>AUDIO1</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon002.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name/> | ||
<Src_Number>1</Src_Number> | ||
</Item_22> | ||
<Item_23> | ||
<Param>AUDIO2</Param> | ||
<RW>RW</RW> | ||
<Title>AUDIO2</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon002.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name/> | ||
<Src_Number>1</Src_Number> | ||
</Item_23> | ||
<Item_24> | ||
<Param>V-AUX</Param> | ||
<RW>RW</RW> | ||
<Title>V-AUX</Title> | ||
<Icon> | ||
<On>/YamahaRemoteControl/Icons/icon010.png</On> | ||
<Off/> | ||
</Icon> | ||
<Src_Name/> | ||
<Src_Number>1</Src_Number> | ||
</Item_24> | ||
</Input_Sel_Item> | ||
</Input> | ||
</Main_Zone> | ||
</YAMAHA_AV> |
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