XBMC Community Forum
[PATCH] LaunchPlayer - External Video Player Launcher (to launch third-party players) - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: [PATCH] LaunchPlayer - External Video Player Launcher (to launch third-party players) (/showthread.php?tid=40136)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40


- Jester - 2008-12-04 22:33

We need konfoo to have a look at this, if somebody else wants to try and post the log too, that might help to diagnose this...


- GregKeys - 2008-12-04 22:41

I went back and edited my reply, and I think I was editing when you replied Smile
Look back up at it. Note the double entry of the app name on the Execute App line.

Greg


- Jester - 2008-12-04 22:44

GregKeys Wrote:I went back and edited my reply, and I think I was editing when you replied Smile
Look back up at it. Note the double entry of the app name on the Execute App line.

Greg

maybe an issue in parsing the args section, can you try running it without the arg section filled in ?


- GregKeys - 2008-12-04 22:57

Still there....
(and still locking up XBMC)

<advancedsettings>
<launchplayer>
<defaultplayer>false</defaultplayer>
<filename>"C:\Program Files\K-Lite Codec Pack\Media Player Classic\mplayerc.exe"</filename>
<args></args>
</launchplayer>
</advancedsettings>

15:54:24 T:904 M:814981120 DEBUG: thread start, auto delete: 0
15:54:24 T:904 M:814977024 NOTICE: CLAUPlayer:Filename: "C:\Program Files\K-Lite Codec Pack\Media Player Classic\mplayerc.exe"
15:54:24 T:904 M:814977024 NOTICE: CLAUPlayer:Args:
15:54:24 T:904 M:814977024 NOTICE: CLAUPlayer:Process: Start
15:54:24 T:904 M:814977024 NOTICE: CLAUPlayer:ExecuteApp: "C:\Program Files\K-Lite Codec Pack\Media Player Classic\mplayerc.exe" "C:\Program Files\K-Lite Codec Pack\Media Player Classic\mplayerc.exe" "V:\Downloads\MPlayer Samples\abs.mpg"
15:54:24 T:904 M:814977024 NOTICE: CLAUPlayer:ExecuteAppFailure: 0


- Jester - 2008-12-04 23:03

no clue i'm afraid, its up to konfoo and the other dev's to have a look
i assume that if you use another external player you get the same problem...


- GregKeys - 2008-12-04 23:06

Took out the args section completely. Still doubled up.....

<advancedsettings>
<launchplayer>
<defaultplayer>false</defaultplayer>
<filename>"C:\Program Files\K-Lite Codec Pack\Media Player Classic\mplayerc.exe"</filename>
</launchplayer>
</advancedsettings>
16:03:10 T:4448 M:808058880 INFO: Loading skin file: DialogContextMenu.xml
16:03:10 T:4448 M:808054784 DEBUG: Load DialogContextMenu.xml: 1.37ms
16:03:10 T:4448 M:807964672 DEBUG: Alloc resources: 20.12ms (0.00 ms skin load, 0.38 ms preload)
16:03:12 T:4448 M:808353792 DEBUG: CPlayerCoreFactor::GetPlayers(V:\Downloads\MPlayer Samples\abs.mpg)
16:03:12 T:4448 M:808353792 INFO: Loading skin file: DialogContextMenu.xml
16:03:12 T:4448 M:808349696 DEBUG: Load DialogContextMenu.xml: 1.49ms
16:03:12 T:4448 M:808300544 DEBUG: Alloc resources: 2.19ms (0.00 ms skin load, 0.17 ms preload)
16:03:14 T:4448 M:808517632 NOTICE: CLAUPlayer:OpenFile: V:\Downloads\MPlayer Samples\abs.mpg
16:03:14 T:912 M:808579072 DEBUG: thread start, auto delete: 0
16:03:14 T:912 M:808574976 NOTICE: CLAUPlayer:Filename: "C:\Program Files\K-Lite Codec Pack\Media Player Classic\mplayerc.exe"
16:03:14 T:912 M:808574976 NOTICE: CLAUPlayer:Args:
16:03:14 T:912 M:808574976 NOTICE: CLAUPlayer:Process: Start
16:03:14 T:912 M:808574976 NOTICE: CLAUPlayer:ExecuteApp: "C:\Program Files\K-Lite Codec Pack\Media Player Classic\mplayerc.exe" "C:\Program Files\K-Lite Codec Pack\Media Player Classic\mplayerc.exe" "V:\Downloads\MPlayer Samples\abs.mpg"
16:03:14 T:912 M:808574976 NOTICE: CLAUPlayer:ExecuteAppFailure: 0
16:03:26 T:5512 M:806285312 DEBUG: CThread::staticThread, deleting thread graphic context
16:03:26 T:5512 M:806285312 DEBUG: Thread 5512 terminating


- GregKeys - 2008-12-04 23:13

Fixed it!
XBMC does not seem to like launching with the long space embedded filename for the player. Moved the player, and it now works:

<advancedsettings>
<launchplayer>
<defaultplayer>false</defaultplayer>
<filename>C:\MPC\mplayerc.exe</filename>
</launchplayer>
</advancedsettings>


- Jester - 2008-12-04 23:37

nice Smile


- ashlar - 2008-12-04 23:43

Hi Jester... it was too good to be true Sad

With the following advancedsettings.xml:
Code:
<advancedsettings>
<launchplayer>
<defaultplayer>true</defaultplayer>
<filename>C:\Program Files\Zoom Player\zplayer.exe</filename>
<args>/Q /FS /PLAY /MOUSEOFF</args>
</launchplayer>
</advancedsettings>
I get XBMC using DVDPlayer for default just the same. And if I select "Play using... Launchplayer" Zoomplayer starts in the background and there's no way of alt-tabbing there. I'm about to cry... Sad

Log for when I just launch a video (and it uses DVDplayer even if the default should be Launchplayer): http://pastebin.com/m5719f30f

Log for when I launch a video using Launchplayer and Zoomplayer starts in the background: http://pastebin.com/m288b71c1


- ashlar - 2008-12-04 23:48

GregKeys Wrote:Fixed it!
XBMC does not seem to like launching with the long space embedded filename for the player. Moved the player, and it now works:

<advancedsettings>
<launchplayer>
<defaultplayer>false</defaultplayer>
<filename>C:\MPC\mplayerc.exe</filename>
</launchplayer>
</advancedsettings>
It's not the long space embedded filename, it's the fact that you don't need the " to embed the spaces. I tried putting " at the beginning and end of the filename and it locked up XBMC for me too. Wink