aboutsummaryrefslogtreecommitdiff
path: root/system/playercorefactory.xml
diff options
context:
space:
mode:
authorAlTheKiller <AlTheKiller@svn>2009-09-23 01:49:50 +0000
committerAlTheKiller <AlTheKiller@svn>2009-09-23 01:49:50 +0000
commit45285e8a9300cd754a760560640b75b09f98035e (patch)
treead9f093885ad5c98e9dd4156674e7691c22ed0a2 /system/playercorefactory.xml
step 3/4: Move linuxport to trunk. How'd I get roped into this?
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23097 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'system/playercorefactory.xml')
-rw-r--r--system/playercorefactory.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/system/playercorefactory.xml b/system/playercorefactory.xml
new file mode 100644
index 0000000000..b81df8fe09
--- /dev/null
+++ b/system/playercorefactory.xml
@@ -0,0 +1,37 @@
+<playercorefactory>
+ <players>
+ <!-- These are compiled-in as re-ordering them would break scripts
+ The following aliases may also be used:
+ audiodefaultplayer, videodefaultplayer, videodefaultdvdplayer
+ <player name="DVDPlayer" audio="true" video="true" />
+ <player name="DVDPlayer" /> placeholder for MPlayer
+ <player name="PAPlayer" audio="true" />
+ -->
+ </players>
+
+ <rules name="system rules">
+ <rule name="rtv" protocols="rtv" player="DVDPlayer" />
+ <rule name="hdhomerun/myth/rtmp/mms" protocols="hdhomerun|myth|cmyth|rtmp|mms|mmsh" player="DVDPlayer" />
+ <rule name="lastfm/shout" protocols="lastfm|shout" player="PAPlayer" />
+
+ <!-- dvdplayer can play standard rtsp streams -->
+ <rule name="rtsp" protocols="rtsp" filetypes="!(rm|ra)" player="PAPlayer" />
+
+ <!-- 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="mp2" mimetypes="application/octet-stream" filetypes="mp2" player="PAPlayer" />
+ </rule>
+
+ <!-- DVDs -->
+ <rule name="dvd" dvd="true" player="videodefaultdvdplayer" />
+ <rule name="dvdfile" dvdfile="true" player="videodefaultdvdplayer" />
+ <rule name="dvdimage" dvdimage="true" player="videodefaultdvdplayer" />
+
+ <!-- Only dvdplayer can handle these normally -->
+ <rule name="sdp/asf" filetypes="sdp|asf" player="DVDPlayer" />
+
+ <!-- Pass these to dvdplayer as we do not know if they are audio or video -->
+ <rule name="nsv" filetypes="nsv" player="DVDPlayer" />
+ </rules>
+</playercorefactory>