Kodi Community Forum
How do I use multi External Player's based on file-extension? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: How do I use multi External Player's based on file-extension? (/showthread.php?tid=52702)



How do I use multi External Player's based on file-extension? - tatoosh - 2009-06-11

I got XBMC to run my external Player "Media Player Classic Home Cinema".

How to add a second external player?
I need it for videos which are recording at the moment - here i need VLC. All other Players and also the XBMC (mplayer) does not work.

I record with Huappauge PVR 250 in MPEg2.

I tried this, but cant get it to work - i dont see VLC in my XBMC right click menu.

advancedsettings.xml
Code:
<advancedsettings>
<video>
  <defaultplayer>externalplayer</defaultplayer>
</video>
<externalplayer>
  <filename>C:\Portable\MPHC\mplayerc.exe</filename>
  <args>/fullscreen</args>
  <forceontop>true</forceontop>
  <hidexbmc>true</hidexbmc>
  <hideconsole>false</hideconsole>
  <hidecursor>false</hidecursor>
</externalplayer>
<VLC>
  <filename>C:\Portable\VLC\VLCstart.cmd</filename>
  <forceontop>true</forceontop>
  <hidexbmc>true</hidexbmc>
  <hideconsole>false</hideconsole>
  <hidecursor>false</hidecursor>
</VLC>
</advancedsettings>

Media Player Classic works, VLC not ... how to add a second player?
Is it possible to to this:
if file extension is MPG use VLC - else use Media Player classic (automatically) Huh


- spiff - 2009-06-12

moby_uk is hopefully occupied documenting his new addition


- tatoosh - 2009-06-12

didnt found that - can u please give me a link?


- spiff - 2009-06-12

the hopefully indicated that i know where its at?


- Gamester17 - 2009-06-12

See:
http://trac.xbmc.org/ticket/6383
and:
http://trac.xbmc.org/ticket/5300
and today maybe more importantly this forum discussion:
http://forum.xbmc.org/showthread.php?tid=40136

External Player is not not documented at all in the wiki as of yet:
http://wiki.xbmc.org/index.php?title=Advancedsettings.xml

Anyone, please feel free to update the wiki with information about ExternalPlayer usage!

...just register and account and send me a PM requesting ninja (write) access to wiki:
http://wiki.xbmc.org/?title=XBMC_Online_Manual

It is a community driven wiki after all Nod


- spiff - 2009-06-12

gamester, the whole point here is that advancedsettings.xml is NOT involved any longer Wink

there is an example file attached in the ticket which those not entirely numb-brained should be able to understand and follow