aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2024-05-26 10:27:09 +1000
committerYuchen Pei <id@ypei.org>2024-05-26 10:27:09 +1000
commit1c00ea3e5acf6fd36e62cd44e26c388581b70049 (patch)
treeafcb9a7f8f04ff281cbb951b6a36addd4df846ed /misc
parentf4cdccb0d469cd4c089a045fc36993126cf3a572 (diff)
[kodi] use vlc as the player
Diffstat (limited to 'misc')
-rw-r--r--misc/.kodi/userdata/playercorefactory.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/misc/.kodi/userdata/playercorefactory.xml b/misc/.kodi/userdata/playercorefactory.xml
new file mode 100644
index 0000000..ef9d7e4
--- /dev/null
+++ b/misc/.kodi/userdata/playercorefactory.xml
@@ -0,0 +1,14 @@
+<playercorefactory>
+ <players>
+ <player name="VLC" type="ExternalPlayer" audio="false" video="true">
+ <filename>/usr/bin/vlc</filename>
+ <args>"{1}" -f --video-on-top</args>
+ <hidexbmc>true</hidexbmc>
+ <warpcursor>none</warpcursor>
+ </player>
+ </players>
+
+ <rules action="prepend">
+ <rule name="Playtype" filetype="mkv|mp4|avi|webm|ogv" player="VLC"/>
+ </rules>
+</playercorefactory>