aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorhuceke <ebsi4711@gmail.com>2012-09-04 15:20:59 -0700
committerhuceke <ebsi4711@gmail.com>2012-09-04 15:20:59 -0700
commit45fe6fce168e99e34cd7ffd437d482eabb2bd3da (patch)
treef5d2d10366d2152e505ee8137e662300b845a0e4 /system
parentd9d303f93a201e5fb70f84765766bbdbb906eecb (diff)
parent494cb5e4f24766f76cf6db8114f33a81fd00b8ba (diff)
Merge pull request #1282 from huceke/raspberrypi
RaspberryPI support
Diffstat (limited to 'system')
-rw-r--r--system/peripherals.xml20
-rw-r--r--system/playercorefactory.xml5
2 files changed, 22 insertions, 3 deletions
diff --git a/system/peripherals.xml b/system/peripherals.xml
index cf0c6c442f..5d2eef3152 100644
--- a/system/peripherals.xml
+++ b/system/peripherals.xml
@@ -9,6 +9,26 @@
<setting key="key_power" value="XBMC.ShutDown()" label="13015" order="6" />
</peripheral>
+ <peripheral vendor_product="2708:1001" bus="rpi" name="Raspberry Pi CEC Adapter" mapTo="cec">
+ <setting key="enabled" type="bool" value="1" label="305" order="1" />
+ <setting key="activate_source" type="bool" value="1" label="36020" order="2" />
+ <setting key="wake_devices" type="string" value="0" label="36007" order="3" />
+ <setting key="standby_devices" type="string" value="0" label="36008" order="4" />
+ <setting key="cec_standby_screensaver" type="bool" value="1" label="36009" order="5" />
+ <setting key="standby_pc_on_tv_standby" type="enum" value="13011" label="36029" order="6" lvalues="36028|13005|13011" />
+ <setting key="standby_tv_on_pc_standby" type="bool" value="1" label="36026" order="7" />
+ <setting key="send_inactive_source" type="bool" value="1" label="36025" order="8" />
+ <setting key="use_tv_menu_language" type="bool" value="1" label="36018" order="9" />
+
+ <setting key="tv_vendor" type="int" value="0" configurable="0" />
+ <setting key="device_name" type="string" value="XBMC" configurable="0" />
+ <setting key="device_type" type="int" value="1" configurable="0" />
+ <setting key="physical_address" type="string" label="36021" value="0" configurable="0" />
+ <setting key="cec_hdmi_port" type="int" value="1" label="36015" configurable="0" />
+ <setting key="connected_device" type="int" label="36019" value="0" configurable="0" />
+ <setting key="port" type="string" value="" label="36022" configurable="0" />
+ </peripheral>
+
<peripheral vendor_product="2548:1001" bus="usb" name="Pulse-Eight CEC Adapter" mapTo="cec">
<setting key="enabled" type="bool" value="1" label="305" order="1" />
<setting key="activate_source" type="bool" value="1" label="36020" order="2" />
diff --git a/system/playercorefactory.xml b/system/playercorefactory.xml
index 0267a5c612..76027b6315 100644
--- a/system/playercorefactory.xml
+++ b/system/playercorefactory.xml
@@ -11,7 +11,7 @@
<rules name="system rules">
<rule name="rtv" protocols="rtv" player="DVDPlayer" />
- <rule name="hdhomerun/myth/rtmp/mms/udp" protocols="hdhomerun|myth|cmyth|rtmp|mms|mmsh|udp" player="DVDPlayer" />
+ <rule name="hdhomerun/myth/mms/udp" protocols="hdhomerun|myth|cmyth|mms|mmsh|udp" player="DVDPlayer" />
<rule name="lastfm/shout" protocols="lastfm|shout" player="PAPlayer" />
<!-- dvdplayer can play standard rtsp streams -->
@@ -19,13 +19,12 @@
<!-- Internet streams -->
<rule name="streams" internetstream="true">
- <rule name="flv/aacp/sdp" mimetypes="video/x-flv|video-flv|audio/aacp|application/sdp" player="DVDPlayer" />
+ <rule name="aacp/sdp" mimetypes="audio/aacp|application/sdp" player="DVDPlayer" />
<rule name="mp2" mimetypes="application/octet-stream" filetypes="mp2" player="PAPlayer" />
</rule>
<!-- DVDs -->
<rule name="dvd" dvd="true" player="DVDPlayer" />
- <rule name="dvdfile" dvdfile="true" player="DVDPlayer" />
<rule name="dvdimage" dvdimage="true" player="DVDPlayer" />
<!-- Only dvdplayer can handle these normally -->