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