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

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/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


- harryzimm - 2008-12-08

Anyone tried this patch in linux? I tried applying it but i got this error

Code:
(T: XBMCLiveCD)root@XBMCLive:/home/xbmc/XBMC/guilib# patch -p0 < externalplayer-16492.patch
(Stripping trailing CRs from patch.)
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: Makefile.in
|===================================================================
|--- Makefile.in        (revision 16492)
|+++ Makefile.in        (working copy)
--------------------------
File to patch:

Any ideas? Is it only for windows?

cheers


- Jester - 2008-12-08

harryzimm Wrote:Anyone tried this patch in linux? I tried applying it but i got this error

Code:
(T: XBMCLiveCD)root@XBMCLive:/home/xbmc/XBMC/guilib# patch -p0 < externalplayer-16492.patch
(Stripping trailing CRs from patch.)
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: Makefile.in
|===================================================================
|--- Makefile.in        (revision 16492)
|+++ Makefile.in        (working copy)
--------------------------
File to patch:

Any ideas? Is it only for windows?

cheers

you are patching from the wrong dir

/home/xbmc/XBMC/guilib#

you need to patch from the root where you downloaded the SVN


- JoyMonkey - 2008-12-09

Jester Wrote:Made a new build, no longer using the Test Folder as I think the patch is stable enough
Upped Rev16496

XBMCSetup-Rev16496-kricker-externalplayer.exe


I can't find the URL to download your build. I thought you posted it back around page 19 of this thread, but it doesn't seem to be there anymore.
:confused2:

Edit: Nevermind, found it...
http://ocs.nl/xbmc/


- sleepnd - 2008-12-09

Jester Wrote:the reason why it doesnt work is because the launchplayer patch is done on Rev16492 and you have to download it from the Test folder

if it doesnt say externalplayer in the filename, the patch is not done.

my godShocked it is my stupid problem, let me try again on tonight and get back you.


- PantsOnFire - 2008-12-09

I just don't understand this at all. MPC launches, but it's always behind xbmc, so you hear sound, but see no video. If I tick 'always on top, while playing' or just 'always on top, always' in MPC, xbmc launches MPC but not in fullscreen.

Despite me having added the -fullscreen parameter in the xml file.

What can I do?


- konfoo - 2008-12-09

PantsOnFire Wrote:I just don't understand this at all. MPC launches, but it's always behind xbmc, so you hear sound, but see no video. If I tick 'always on top, while playing' or just 'always on top, always' in MPC, xbmc launches MPC but not in fullscreen.

Despite me having added the -fullscreen parameter in the xml file.

What can I do?

Please post your log / OS platform / SVN version


- gkarkala - 2008-12-09

konfoo Wrote:Please post your log / OS platform / SVN version


I am also having similar issues even with new build. I am using vista ultimate/SP1. Here is my log for zoom player. Also for MPC with /fullscreen parameter, it is exactly the same issue.

17:41:36 T:4032 M:1348837376 NOTICE: Mapping drive Z to C:\Users\Ganesh\AppData\Roaming\XBMC\cache
17:41:36 T:4032 M:1348816896 NOTICE: Mapping drive T to C:\Users\Ganesh\AppData\Roaming\XBMC\userdata
17:41:36 T:4032 M:1348816896 NOTICE: Mapping drive Q to C:\Program Files\XBMC
17:41:36 T:4032 M:1348816896 NOTICE: Mapping drive U to C:\Program Files\XBMC
17:41:36 T:4032 M:1348718592 NOTICE: -----------------------------------------------------------------------
17:41:36 T:4032 M:1348714496 NOTICE: Starting XBMC, Platform: Windows Vista, 32-bit Service Pack 1 build 6001. Built on Dec 8 2008 (compiler 1500)
17:41:36 T:4032 M:1348714496 NOTICE: Genuine Intel® CPU T2600 @ 2.16GHz
17:41:36 T:4032 M:1348714496 NOTICE: Desktop Resolution: 1440x900 32Bit at 60Hz
17:41:36 T:4032 M:1348714496 NOTICE: Q is mapped to: C:\Program Files\XBMC
17:41:36 T:4032 M:1348714496 NOTICE: The executable running is: C:\Program Files\XBMC\XBMC.exe
17:41:36 T:4032 M:1348714496 NOTICE: Log File is located: C:\Users\Ganesh\AppData\Roaming\XBMC\xbmc.log
17:41:36 T:4032 M:1348714496 NOTICE: -----------------------------------------------------------------------
17:41:36 T:4032 M:1348698112 NOTICE: Setup SDL
17:41:36 T:4032 M:1346998272 NOTICE: load settings...
17:41:36 T:4032 M:1346990080 NOTICE: Mapping drive P to C:\Users\Ganesh\AppData\Roaming\XBMC\userdata
17:41:36 T:4032 M:1346981888 NOTICE: loading C:\Users\Ganesh\AppData\Roaming\XBMC\userdata\guisettings.xml
17:41:36 T:4032 M:1346592768 NOTICE: Getting hardware information now...
17:41:36 T:4032 M:1346592768 NOTICE: Checking resolution 35
17:41:36 T:4032 M:1346568192 NOTICE: Loaded advancedsettings.xml from C:\Users\Ganesh\AppData\Roaming\XBMC\userdata\advancedsettings.xml
17:41:36 T:4032 M:1346564096 NOTICE: ExternalPlayer Filename: C:\Program Files\Combined Community Codec Pack\Zoom Player\zplayer.exe
17:41:36 T:4032 M:1346560000 NOTICE: ExternalPlayer Tweaks: Forceontop (false), Hideconsole (false), Hidecursor (false)
17:41:36 T:4032 M:1346519040 NOTICE: Getting hardware information now...
17:41:36 T:4032 M:1346506752 NOTICE: Checking resolution 35
17:41:36 T:4032 M:1346494464 NOTICE: Default Video Player: externalplayer
17:41:36 T:4032 M:1346494464 NOTICE: Default Audio Player: paplayer
17:41:36 T:4032 M:1346490368 NOTICE: C:\Users\Ganesh\AppData\Roaming\XBMC\userdata\sources.xml
17:41:37 T:4032 M:1322205184 NOTICE: start dvd mediatype detection
17:41:37 T:4032 M:1322192896 NOTICE: initializing playlistplayer
17:41:37 T:4032 M:1322184704 NOTICE: DONE initializing playlistplayer
17:41:37 T:4032 M:1322172416 NOTICE: load default skin:[PM3.HD]
17:41:37 T:4032 M:1318789120 NOTICE: initialize done
17:41:37 T:4032 M:1318789120 NOTICE: Running the application...
17:41:37 T:4032 M:1318326272 NOTICE: ES: Starting event server
17:41:37 T:440 M:1318252544 NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
17:41:37 T:440 M:1318240256 NOTICE: UDP: Listening on port 9777
17:41:50 T:4032 M:1311133696 NOTICE: CEXTPlayer:OpenFile: L:\Movies\Aamir.avi
17:41:50 T:432 M:1311125504 NOTICE: CEXTPlayer:Filename: C:\Program Files\Combined Community Codec Pack\Zoom Player\zplayer.exe
17:41:50 T:432 M:1311121408 NOTICE: CEXTPlayer:Args: -fs
17:41:50 T:432 M:1311121408 NOTICE: CEXTPlayerBig Grinefault Player: externalplayer
17:41:50 T:432 M:1311121408 NOTICE: CEXTPlayerTonguerocess: Start
17:41:50 T:432 M:1311121408 NOTICE: CEXTPlayer:ExecuteApp: C:\Program Files\Combined Community Codec Pack\Zoom Player\zplayer.exe C:\Program Files\Combined Community Codec Pack\Zoom Player\zplayer.exe -fs "L:\Movies\Aamir.avi"


- Wheelman56 - 2008-12-09

I LOVE this! I've got alot of custom settings through my ffdshow and MPC and I'm really glad something like this came along.

Thanks, keep it up!


- Jester - 2008-12-09

signatures have been disabled:
http://forum.xbmc.org/showthread.php?tid=41523

link to my SVN builds:

Here


- obstler - 2008-12-09

just wanted to add that the newer builds work perfectly for me. I run xbmc in 1920x1080 fullscreen and mpc launches just fine in the foreground in fullscreen.


- azido - 2008-12-09

obstler Wrote:just wanted to add that the newer builds work perfectly for me. I run xbmc in 1920x1080 fullscreen and mpc launches just fine in the foreground in fullscreen.

sounds like a solution for all of us whining about openGl video playing Wink


- sleepnd - 2008-12-09

i tested svn built 16496. it work fine but not non-english filename, seems externalplayer patch cannot handle on it, anyone have this problem?

i'm a chinese and default using BIG5.


- punking - 2008-12-09

Is anybody using KMPlayer? I'm trying and XBMC launches it but KMPlayer then throws up an error. KMPlayer on its own works fine.

Error num: FFFFFFFF
Filename: The
Data:
File Does Not Exist!

XBMC is running on a desktop and the files are located on the same PC (different had drive) but no networking. I've tried different files but I'm not sure if this is a KMPlayer problem or XBMC. Here's my advanced settings and the snippet of log relevant to the external player

<advancedsettings>
<externalplayer>
<filename>C:\Program Files\The KMPlayer\KMPlayer.exe</filename>
<args>-fs</args>
<forceontop>false</forceontop>
<hideconsole>true</hideconsole>
<hidecursor>false</hidecursor>
</externalplayer>>
</advancedsettings>

10:08:42 T:10540 M:1188016128 NOTICE: CEXTPlayer:OpenFile: J:\Video\HD\[HD] Lost Land of the Jaguar\[HD] Lost Land of the Jaguar Ep1.avi
10:08:42 T:12072 M:1188102144 DEBUG: thread start, auto delete: 0
10:08:42 T:12072 M:1188098048 NOTICE: CEXTPlayer:Filename: C:\Program Files\The KMPlayer\KMPlayer.exe
10:08:42 T:12072 M:1188098048 NOTICE: CEXTPlayer:Args: -fs
10:08:42 T:12072 M:1188098048 NOTICE: CEXTPlayer: Default Player: dvdplayer
10:08:42 T:12072 M:1188098048 NOTICE: CEXTPlayerTonguerocess: Start
10:08:42 T:12072 M:1188081664 NOTICE: CEXTPlayer:ExecuteApp: C:\Program Files\The KMPlayer\KMPlayer.exe C:\Program Files\The KMPlayer\KMPlayer.exe -fs "J:\Video\HD\[HD] Lost Land of the Jaguar\[HD] Lost Land of the Jaguar Ep1.avi"
10:08:56 T:12276 M:1172992000 DEBUG: CThread:ConfusedtaticThread, deleting thread graphic context
10:08:56 T:12276 M:1172992000 DEBUG: Thread 12276 terminating
10:09:43 T:12072 M:1190391808 NOTICE: CEXTPlayer:WAIT_OBJECT_0
10:09:43 T:12072 M:1194037248 NOTICE: CEXTPlayer:Stop
10:09:43 T:12072 M:1194037248 DEBUG: Playback has finished
10:09:43 T:12072 M:1194037248 DEBUG: CThread:ConfusedtaticThread, deleting thread graphic context
10:09:43 T:12072 M:1194037248 DEBUG: Thread 12072 terminating
10:09:43 T:10540 M:1193967616 DEBUG: CVideoDatabase::GetMovieId (J:\Video\HD\[HD] Lost Land of the Jaguar\[HD] Lost Land of the Jaguar Ep1.avi), query = select idMovie from movie where idFile=107
10:09:43 T:10540 M:1193951232 DEBUG: CVideoDatabase::GetEpisodeId (J:\Video\HD\[HD] Lost Land of the Jaguar\[HD] Lost Land of the Jaguar Ep1.avi), query = select idEpisode from episode where idFile=107
10:09:43 T:10540 M:1193934848 DEBUG: CVideoDatabase::GetMusicVideoId (J:\Video\HD\[HD] Lost Land of the Jaguar\[HD] Lost Land of the Jaguar Ep1.avi), query = select idMVideo from musicvideo where idFile=107

Thank you.


- konfoo - 2008-12-09

gkarkala Wrote:17:41:50 T:432 M:1311125504 NOTICE: CEXTPlayer:Filename: C:\Program Files\Combined Community Codec Pack\Zoom Player\zplayer.exe
17:41:50 T:432 M:1311121408 NOTICE: CEXTPlayer:Args: -fs

That doesn't look like the correct commandline argument for zoomplayer's fullscreen mode. /F or /LOCKFS (rtfm?)


- dpassent - 2008-12-09

punking Wrote:Is anybody using KMPlayer? I'm trying and XBMC launches it but KMPlayer then throws up an error. KMPlayer on its own works fine.

try to install KMPlayer to some dir like c:\kmplayer and change the path in xml to it. On the 1st look it seems that there is some sort of problem with parsing the external player exe name. Maybe there is problem with "The KMPlayer" directory name...

DP