Kodi Community Forum

Full Version: Play ISO's With VLC?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Running Ubuntu 10.04. I read the wiki instructions and created a playercorefactory.xml but it isn't doing anything. xbmc can play some of my ISO's but not others. VLC plays them all.


<playercorefactory>
<players>
<player name="vlc" type="ExternalPlayer" audio="false" video="true">
<filename>vlc</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
</player>
</players>
<rules action="prepend">
<rule filetypes="iso" filename="*iso*|*ISO*" player="vlc"/>
</rules>
</playercorefactory>
For a start your filename is wrong it must be the full path to the player including the exe

http://wiki.xbmc.org/index.php?title=HOW...a_playback
Thanks. Linux doesn't use exe files but I get your drift.

Turns out there is another set of directories for xbmc in /usr/share.

Anyway, I got it to work by using the following but there is no remote control of it so it's kind of useless.


GNU nano 2.2.2 File: /usr/share/xbmc/system/playercorefactory.xml

<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" />
-->
<player name="vlc" type="ExternalPlayer" audio="true" video="true">
<filename>/usr/bin/vlc</filename>
<args>--fullscreen</args>
<hideconsole>true</hideconsole>
<hidecursor>true</hidecursor>
<forceontop>true</forceontop>
</player>
</players>

<rules action="prepend">
<rule filetypes="iso" filename="*iso*" player="vlc"/>
</rules>


<rules name="system rules">
<rule name="rtv" protocols="rtv" player="DVDPlayer" />
<rule name="hdhomerun/myth/rtmp/mms/udp" protocols="hdhomerun|myth|cmyth|rtmp|mms|mmsh|udp" $
<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" pla$
<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>
Sorry missed you were using linux Smile

Once XBMC has launched the player then its the player that needs to be configured to work with the same keys XBMC is using for play stop pause etc this is done in vlc, except for stop I mapped that key to exit in the external player so pressing stop closes the player and returns you to xbmc
Oh, ok. I'll check that out thanks.
Reading through various posts it looks pretty complex. I'm going to give my brain a rest.

Thanks.