Kodi Community Forum
[WINDOWS] External Player Support Thread - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: [WINDOWS] External Player Support Thread (/showthread.php?tid=43511)



- eskro - 2011-01-23

not that i know of...


- Grangey. - 2011-01-24

Bit of a strange one here.

I did have TMT3 launching as an external player working perfectly before- but I recently installed the patch to enable TMT3 with aero, and the external player launching just stopped working (when you select the film that would normally launch through TMT nothing happens now).

I need to check my playerconfig file and ensure the patch didnt rename the launch file (which I would have thought is unlikely), but outside of this would there be any reason installing a patch of this nature would stop this working??

Thanks
Grangey


- gagias - 2011-01-24

Hello, how can i create a method to read files ISO, MKV and BDMV present in my library whit POWER DVD 10 ?
Thanks


- eskro - 2011-01-24

xbmc.org/wiki. search for external player


- gagias - 2011-01-25

eskro Wrote:xbmc.org/wiki. search for external player
Hello I solved the file mkv, but bluray iso files I can not make them work better or do not start, use TMT as an external player in windows 5 7 64 bit, can you help me?

Thanks


- gagias - 2011-01-25

gagias Wrote:Hello I solved the file mkv, but bluray iso files I can not make them work better or do not start, use TMT as an external player in windows 5 7 64 bit, can you help me?

Thanks

Help pls


- eskro - 2011-01-26

if your under windows,
there's the MakeMKV BluRay Plugin you can use i believe to read BD ISO's....


- gagias - 2011-01-26

eskro Wrote:if your under windows,
there's the MakeMKV BluRay Plugin you can use i believe to read BD ISO's....

Thanks eskro, I tried XbmcExternalPlayerController and it works perfectly, thanks to the great tiben20 Laugh


- gagias - 2011-01-26

eskro Wrote:if your under windows,
there's the MakeMKV BluRay Plugin you can use i believe to read BD ISO's....


A plugin that works with 3d bluray or 3d bluray iso does it exist?
Tks


- TheFonz - 2011-02-01

Flotto85 Wrote:playcorefactory.xml

Awesome thanks Flotto85 using this method I finally got my blurays playing.
Perfect.


- Grangey. - 2011-02-08

Can someone confirm this actually still works under the latest official Dharma release (debug log with SVN info in post below)?

I got this working fine previously, launching by bluray rips directly into TMT as default (without even needing the "play using"). Now I cant even get the "play using" thing to appear, its like it doesnt see my added playercorefactory.xml.

Here is whats in my xml, and its saved in C:\Program Files (x86)\XBMC\userdata

I would really appreciate any help
Code:
<playercorefactory>
<players>
   <player name="TMT" type="ExternalPlayer" audio="true" video="true">
     <filename>C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 3\uMCEDVDPlayer.exe</filename>
     <args>"{1}" /fullscreen /close</args>
     <hidexbmc>false</hidexbmc>
     <hideconsole>false</hideconsole>
     <warpcursor>none</warpcursor>
   </player>
</players>
<rules action="prepend">
    <rule name="Blu-Ray" protocols="bd" player="TMT"/>
    <rule video="true" player="TMT"/>
    <rule filetypes="bdmv" filename=".*index.*" player="TMT"/>
</rules>
</playercorefactory>
iv also tried adding variations of the rules such as

<rule filetypes="bdmv" filename=".*index*" player="TMT"/>
<rule filetypes=".bdmv" filename=".*index.*" player="TMT"/>

just to be safe, but i have previously got the above code working.

please help!


- Grangey. - 2011-02-09

apologies, here is also my debug log:

http://pastebin.ubuntu.com/564726/

All i did when creating this debug log was started up, selected movie, selected title (arrange by), navigated to the closest bluray rip, and hit play (TMT is recognised as default bluray player- confirmed by opening the context menu), and nothing happens. I then exited everything.

please help!!:confused2:


- Grangey. - 2011-02-09

Ok so im looking at the debug file myself and see this is relevant to my issue:

Quote:22:50:33 T:3388 M:2195415040 NOTICE: ExternalPlayer Filename: "C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 3\uDTStart.exe"
22:50:33 T:3388 M:2195415040 WARNING: ExternalPlayer: invalid value for warpcursor: none
22:50:33 T:3388 M:2195415040 NOTICE: ExternalPlayer Tweaks: hideconsole (true), hidexbmc (false), islauncher (false), warpcursor (none)
22:50:33 T:3388 M:2195410944 NOTICE: CExternalPlayer::OpenFile: E:\Blu Rays\Zombieland\BDMV\index.bdmv
22:50:33 T:3388 M:2195410944 DEBUG: CGUIAudioManager:Big GrineInitialize
22:50:33 T:2896 M:2195410944 DEBUG: thread start, auto delete: 0
22:50:33 T:2896 M:2195410944 NOTICE: CExternalPlayer:Tonguerocess: Player : "C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 3\uDTStart.exe"
22:50:33 T:2896 M:2195410944 NOTICE: CExternalPlayer:Tonguerocess: File : E:\Blu Rays\Zombieland\BDMV\index.bdmv
22:50:33 T:2896 M:2195410944 NOTICE: CExternalPlayer:Tonguerocess: Content:
22:50:33 T:2896 M:2195410944 NOTICE: CExternalPlayer:Tonguerocess: Args : "{1}" /fullscreen /close
22:50:33 T:2896 M:2195410944 NOTICE: CExternalPlayer:Tonguerocess: Start
22:50:33 T:2896 M:2195410944 NOTICE: CExternalPlayer:Tonguerocess: Releasing audio device 2
22:50:33 T:2896 M:2195410944 DEBUG: CAudioContext::SetActiveDevice - SetActiveDevice from 2 to 0
22:50:33 T:2896 M:2195410944 DEBUG: CAudioContext::RemoveActiveDevice - Removing device 2
22:50:33 T:3388 M:2195386368 DEBUG: CAnnouncementManager - Announcement: PlaybackStarted from xbmc
22:50:33 T:2896 M:2195484672 DEBUG: CExternalPlayer:Tonguerocess: Unlocking foreground window
22:50:33 T:2896 M:2195484672 NOTICE: CExternalPlayer::ExecuteAppW32: "C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 3\uDTStart.exe" ""C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 3\uDTStart.exe"" "E:\Blu Rays\Zombieland\BDMV\index.bdmv" /fullscreen /close
22:50:33 T:2896 M:2195480576 NOTICE: CExternalPlayer::ExecuteAppW32 - Failure: 123
22:50:33 T:2896 M:2195480576 NOTICE: CExternalPlayer:Tonguerocess: Stop
22:50:33 T:2896 M:2195480576 NOTICE: CExternalPlayer:Tonguerocess: Showing XBMC window
22:50:33 T:3388 M:2195501056 DEBUG: CGUIInfoManager::SetCurrentMovie(E:\Blu Rays\Zombieland\BDMV\index.bdmv)
22:50:33 T:2896 M:2195505152 NOTICE: CExternalPlayer:Tonguerocess: Reclaiming audio device 2
22:50:33 T:2896 M:2195505152 DEBUG: CAudioContext::SetActiveDevice - SetActiveDevice from 0 to 2

Can anyone tell me what I need to change to stop this failure? (assuming its this failure thats causing my issue).

Thanks!


- Grangey. - 2011-02-10

Well, managed to sort this myself by uninstalling and reinstalling xbmc and copying a TMT5 (3d) playerconfig used in another thread and tweeking it- this seemed to work 90% of the function, so I can only assume there was some form of typing problem in mine that I couldnt see.

Anyway, my new playerconfig does what I ask it too- launch all bluray disc image rips in TMT3. The only issue I have now is that it launches TMT (great), but not the actual movie! So the TMT will open over xbmc, but no file has been sent to it.

It also never opens in full screen despite the args telling it to (and the setting in it saying to always launch in full screen).

Im going to re-install TMT incase theres some strange issue with that which a fresh install would sort, but if anyone has any idea why it would launch TMT without it actually sending the film to it, id be greatful.

Grangey.


- U5tabil - 2011-02-10

Can someone help me a little i can't seem to get this coding right.

I want MPC to play all MKV and MP4 files and lets the default players in XBMC do the rest. When i put this in it just won't play movies at all. If i take away the rules i can play movies again. So its something with the rules that i am doing terribly wrong.

Code:
<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="MPC" type="ExternalPlayer" audio="false" video="true">
     <filename>C:\Program Files (x86)\K-Lite Codec Pack\Media Player Classic.exe</filename>
     <args>"{1}" /fullscreen /close</args>
     <hidexbmc>false</hidexbmc>
     <hideconsole>false</hideconsole>
     <warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
  <rule video="true" player="dvdplayer">
   <rule filetypes="mkv" player="MPC">
   <rule filetypes="mp4" player="MPC">
   </rule>

  
<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" player="DVDPlayer" />
    
<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" player="DVDPlayer" />
      
<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>

</playercorefactory>