XBMC 10/11 uses External player for audio even if it is not set to do that
#1
Hi,
I am having a weird problem. It is happening on both XBMC 10 and 11.

I have defined VLC player for ISO files in playercorefactory.xml file (in userdata folder)

Code:
<playercorefactory>
<players>
<player name="VLC" type="ExternalPlayer" audio="false" video="true">
<filename>
C:\Program Files (x86)\VideoLAN\VLC\VLC.exe
</filename>
<args>
"{1}" /fulscreen
</args>
<hidexbmc>
true
</hidexbmc>
<hideconsole>
true
</hideconsole>
<warpcursor>
none
</warpcursor>
</player>
</players>
<rules action="prepend">
<rule filename=".*.iso*" player="VLC"/>
</rules>
</playercorefactory>

All my audio files are in FLAC format and I want the default PAPlayer to handle these files.

When using XBMC Remote for Android, I go to an Album, choose a song and tap it to start the playback. The problem is, XBMC opens the VLC player and the audio playback starts in it, instead of XBMC. After I close the VLC player, XBMC continues with the next song.

XBMC uses the internal paplayer without any problem if I play the song from within XBMC.

Where can be the problem? How to fix this? It is very annoying.

Here is the Debug log:
http://pastebin.com/fvYLgefF

Thank you for your help.
Marek
Reply
#2
If you just want to match against .iso files, try using filetypes="iso" rather than filename=".*.iso*".
Reply
#3
I have tried various alternatives and this seems to work OK:

Quote:<playercorefactory>
<players>
<player name="VLC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\VideoLAN\VLC\VLC.exe</filename>
<args>"{1}" /fulscreen</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule audio="true" player="paplayer"/>
<rule filetype="iso" player="VLC"/>

</rules>
</playercorefactory>
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC 10/11 uses External player for audio even if it is not set to do that0