Merge pull request #24943 from foresto/prev-subtitle
[xbmc.git] / system / playercorefactory.xml
blobf928311cf0b04389c10d82844b2b9a94454a264c
1 <?xml version="1.0" encoding="UTF-8"?>
2 <playercorefactory>
3   <players>
4     <!-- These are compiled-in as re-ordering them would break scripts
5     The following aliases may also be used:
6       audiodefaultplayer, videodefaultplayer, videodefaultVideoPlayer
7     <player name="VideoPlayer" audio="true" video="true" />
8     <player name="VideoPlayer" /> placeholder for MPlayer
9     <player name="PAPlayer" audio="true" />
10     -->
11   </players>
13   <rules name="system rules">
14     <rule name="mms/udp" protocols="mms|mmsh|udp" player="VideoPlayer" />
15     <rule name="lastfm/shout" protocols="lastfm|shout" player="PAPlayer" />
16     <rule name="rtmp" protocols="rtmp" player="videodefaultplayer" />
18     <!-- VideoPlayer can play standard rtsp streams -->
19     <rule name="rtsp" protocols="rtsp" filetypes="!(rm|ra)"  player="PAPlayer" />
21     <!-- Internet streams -->
22     <rule name="streams" internetstream="true">
23       <rule name="aacp/sdp" mimetypes="audio/aacp|application/sdp" player="VideoPlayer" />
24       <rule name="mp2" mimetypes="application/octet-stream" filetypes="mp2" player="PAPlayer" />
25     </rule>
27     <!-- DVDs -->
28     <rule name="dvd" dvd="true" player="VideoPlayer" />
29     <rule name="discimage" discimage="true" game="false" player="VideoPlayer" />
31     <!-- Only VideoPlayer can handle these normally -->
32     <rule name="sdp/asf" filetypes="sdp|asf" player="VideoPlayer" />
34     <!-- Pass these to VideoPlayer as we do not know if they are audio or video -->
35     <rule name="nsv" filetypes="nsv" player="VideoPlayer" />
37     <!-- pvr radio channels should be played by VideoPlayer because they need buffering -->
38     <rule name="radio" filetypes="pvr" filename=".*/radio/.*" player="VideoPlayer" />
39   </rules>
40 </playercorefactory>