Linux XBMC External Player: ExecuteAppLinux: Failure: -1
#1
Greetings,

I have read instructions and searched this forum but I could not make the external player(s) to work.

My system:

Quote: Utuntu 9.10
GPU:Mesa DRI R300 (RV5157145)20090101 x86/m

My playercorefactory.xml looks like this.
Quote:<playercorefactory>
<players>
<player name="totem" type="ExternalPlayer" audio="false" video="true">
<filename>/usr/bin/totem</filename>
<args>--fullscreen "{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
<playonestackitemm>true</playonestackitemm>
</player>
<player name="rhythmbox" type="ExternalPlayer" audio="true" video="false">
<filename>/usr/bin/rhythmbox</filename>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
<playonestackitemm>true</playonestackitemm>
</player>
</players>
<rules action="prepend">
<rule video="true" player="totem"/>
<rule audio="true" player="rhythmbox"/>
</rules>
</playercorefactory>

test.rmvb and test.mp3 work fine with totem and rhythmbox outside xbmc respectively.

Inside the xbmc, the default video player for test.rmvb is totem and the default music player is rythmbox. However, it failed when I actually click on them, they both failed with the NOTICE: ExecuteAppLinux: Failure: -1

Quote:14:12:10 T:3078457200 M:1819381760 NOTICE: ExternalPlayer Filename: /usr/bin/totem
14:12:10 T:3078457200 M:1819381760 WARNING: ExternalPlayer: invalid value for warpcursor: none
14:12:10 T:3078457200 M:1819381760 NOTICE: ExternalPlayer Tweaks: hideconsole (false), hidexbmc (false), isla
uncher (false), warpcursor (none)
14:12:10 T:3078457200 M:1819381760 NOTICE: OpenFile: /root/Videos/test.rmvb
14:12:10 T:3078457200 M:1819381760 DEBUG: CGUIAudioManager:Big GrineInitialize
14:12:10 T:2508176240 M:1819381760 DEBUG: thread start, auto delete: 0
14:12:10 T:2508176240 M:1819381760 NOTICE: Process: Player : /usr/bin/totem
14:12:10 T:2508176240 M:1819381760 NOTICE: Process: File : /root/Videos/test.rmvb
14:12:10 T:2508176240 M:1819381760 NOTICE: Process: Content:
14:12:10 T:2508176240 M:1819381760 NOTICE: Process: Args : --fullscreen "{1}"
14:12:10 T:2508176240 M:1819381760 NOTICE: Process: Start
14:12:10 T:2508176240 M:1819381760 NOTICE: ExecuteAppLinux: "/usr/bin/totem" --fullscreen "/root/Videos/test.rmvb"
14:12:10 T:2508176240 M:1819381760 INFO: LIRC setUsed: disabled
14:12:11 T:3078457200 M:1810812928 DEBUG: OnPlayBackStarted - Playback has started
14:12:11 T:2508176240 M:1819475968 INFO: LIRC setUsed: disabled
14:12:11 T:2508176240 M:1819475968 NOTICE: ExecuteAppLinux: Failure: -1
14:12:11 T:2508176240 M:1819475968 NOTICE: Process: Stop

Similar messages for the music piece.

Quote:16:03:11 T:3078014832 M:1810333696 NOTICE: ExternalPlayer Filename: /usr/bin/rhythmbox
16:03:11 T:3078014832 M:1810333696 WARNING: ExternalPlayer: invalid value for warpcursor: none
16:03:11 T:3078014832 M:1810333696 NOTICE: ExternalPlayer Tweaks: hideconsole (false), hidexbmc (false), isla
uncher (false), warpcursor (none)
16:03:11 T:3078014832 M:1810333696 NOTICE: OpenFile: /root/Music/test.mp3
16:03:11 T:3078014832 M:1810333696 DEBUG: CGUIAudioManager:Big GrineInitialize
16:03:11 T:2481974128 M:1810333696 DEBUG: thread start, auto delete: 0
16:03:11 T:2481974128 M:1810333696 NOTICE: Process: Player : /usr/bin/rhythmbox
16:03:11 T:2481974128 M:1810333696 NOTICE: Process: File : /root/Music/test.mp3
16:03:11 T:2481974128 M:1810333696 NOTICE: Process: Content:
16:03:11 T:2481974128 M:1810333696 NOTICE: Process: Args :
16:03:11 T:2481974128 M:1810333696 NOTICE: Process: Start
16:03:11 T:2481974128 M:1810333696 NOTICE: ExecuteAppLinux: "/usr/bin/rhythmbox" "/root/Music/test.mp3"
16:03:11 T:2481974128 M:1810333696 INFO: LIRC setUsed: disabled
16:03:12 T:2481974128 M:1810075648 INFO: LIRC setUsed: disabled
16:03:12 T:2481974128 M:1810075648 NOTICE: ExecuteAppLinux: Failure: -1
16:03:12 T:2481974128 M:1810075648 NOTICE: Process: Stop

Both players work fine outside XBMC, and
Code:
ExecuteAppLinux: "/usr/bin/totem" --fullscreen "/root/Videos/test.rmvb"
ExecuteAppLinux: "/usr/bin/rhythmbox"  "/root/Music/test.mp3"
seems to be the right syntax on Linux, something must be wrong interfacing XBMC with Linux OS.

Any help is appreciated.

Sincerely,

Kang Sun
[email protected]
Reply
#2
does the xbmc account have access to that file? I noticed it's under /root, so you might have a permission issue..

just a thought...
1: Nvidia Shield TV (2017) 16GB - 2: Beelink MinixMXIII II - 3: Beelink MinixMXIII II - 4: Beelink MinixMXIII II
NAS: unRAID 6.3 Pro • Case (NZXT H440) • MB (MBD-X7SBE with SIM1U+) • CPU (Xeon X3360) • RAM (4x2GB DDR2) • SATA (6 On MB, 8 AOC-SAT2-MV8) • PSU (EVGA SUPERNOVA 650 G2) • HDD (2 x Toshiba 3TB parity, 6 x WD Red 3TB xfs, 1 x 512GB SSD cache)  • UPS (APC BR1000G)
Reply
#3
Thanks for the reply.
The XBMC is also running in the root account. The permission is not an issue.
-- Kang
Reply
#4
Having the same problem with ksun6868 but it on Xbian 1.0 alpha 3
Reply
#5
Need debug log (wiki) showing when you attempt to play media using external player and failing. Please upload log to www.pastebin.com or www.xbmclogs.com and post assigned URL link for your uploaded log here with your reply. Also, post a copy of your playercorefactory.xml here.
Reply
#6
Thanks artafael for your responses Smile

My log result are as same as ksun6868 and my playercorefactory.xml are below.....

Code:
<playercorefactory>
  <players>
     <player name="xpdf" type="ExternalPlayer">
     <filename>/usr/bin/xpdf</filename>
     <args>"{1}"</args>
     <hidexbmc>true</hidexbmc>
     <hideconsole>false</hideconsole>
     <warpcursor>none</warpcursor>
    </player>
</players>
<rules action="prepend">
    <rule name="pdf" filetypes="pdf" player="xpdf" />
</rules>
</playercorefactory>


Those code above work fine on XBMCbuntu I'm guess that maybe XPDF would require some Desktop Environment to run.
Reply
#7
(2012-11-28, 19:10)psycoles Wrote: My log result are as same as ksun6868

We need to see your log from your system, not someone else's log from 3 years ago.
Reply
#8
Here you are

http://www.xbmclogs.com/show.php?id=16166
Reply
#9
bump it to the top to make sure artrafael seen it
Reply

Logout Mark Read Team Forum Stats Members Help
Linux XBMC External Player: ExecuteAppLinux: Failure: -10