Kodi Community Forum
Another External Player Code, but Very Simple to Setup - 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: Another External Player Code, but Very Simple to Setup (/showthread.php?tid=116724)



RE: Another External Player Code, but Very Simple to Setup - wiggo - 2013-03-27

(2013-03-26, 13:43)wiggo Wrote: Sorry to ask the same question again, but once I press "O" to stop playback on TMT6, what can I do to go back to XBMC without having to press Alt+F4?

Plus, I downgraded to Frodo 12 to eliminate the tapping sound, but it is still there. Do I need to delete the "User Profile" too and do a clean install?

Any help would be appreciated.

Wiggo

Any joy Guys please?


RE: Another External Player Code, but Very Simple to Setup - corpgator - 2013-03-27

RE: the tapping sound, I put in a ticket. It has been assigned. Other than that, no word. With the last external bug where you couldn't play blu-rays external with Frodo RCs for months, it took a long time for the fix after I put in the ticket. They don't care much for us external player users, so unless more people speak up, it will stay broke for a while.

Ticket #14211 if anyone wants to comment


RE: Another External Player Code, but Very Simple to Setup - avanerven - 2013-03-30

Hi everyone. I hope someone can help me with my scripts that I've tried to build by going through this topic. So I'm running TMT6 next to XBMC and I only want TMT to be called upon when selecting content that XBMC can't handle (well). The moment I try to open an ISO, the ISO mounts fine, TMT starts, the ISO (bluray) loads and after the first menu TMT shuts down or crashes and I'm back in XBMC again. Here are my scripts:

Playercorefactory file:

<playercorefactory>
<players>
<player name="ISO_BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\%username%\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>True</hidexbmc>
</player>

<player name="DISC_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\%username%\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}"</args>
<hidexbmc>True</hidexbmc>
</player>
</players>

<rules action="prepend">
<!-- Bluray ISO -->
<rule filetypes="iso|bdmv|mpls" player="ISO_BDMV_Player"/>
<!-- Bluray Disc -->
<rule filetypes="bd|ifo" player="DISC_Player"/>
</rules>
</playercorefactory>

PlayISO.bat:

Set file=%1
Set dummy=%file:iso=%
IF NOT %dummy% == %file% (GOTO playiso) ELSE (goto next)

:next
Set file=%1
Set dummy=%file:mpls=%
IF NOT %dummy% == %file% (GOTO plaympls) ELSE (goto playbdmv)

:playiso
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 6\uTotalMediaTheatre6.exe" G:
GOTO end

:plaympls
set pth=%1
set pth=%pth:~1,-25%

"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 6\uTotalMediaTheatre6.exe" "%pth%" exit
GOTO end

:playbdmv
set pth=%1
set pth=%pth:BDMV\MovieObject.bdmv=%
set pth=%pth:BDMV\index.bdmv=%

"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 6\uTotalMediaTheatre6.exe" %pth% exit
GOTO end

:end
exit

PlayDISC.bat:

@echo off
"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 6\uTotalMediaTheatre6.exe" F:

Does anyone know what's wrong?

EDIT: turns out that I had a driver problem and that's why total media did not recognize any audio anymore. After reinstalling my Radeon drivers this issue had been fixed. Haven't fully tested these scripts yet though, if anyone can take a quick look and check if everything should be ok that would be great.

EDIT 2: ISO's load well. I have a problem with opening a BDMV folder/disc though. Selection through XBMC goes normally, I select the movie, select to play main title, TMT starts but shows no disc/movie and doesn't start playing of course. Anyone knows why not?


RE: Another External Player Code, but Very Simple to Setup - kykkus - 2013-04-01

Hi, i have one problem:
I use TMT6 as external player for all types of file (avi, mkv, wma, ..) and also for blueray film.
All works great, but if i open with xbmc a file on my NAS, computer starts tmt6 but not loads film. If i open (with xbmc) a file on my local hdd, coputer statrs TMT6 and loads the film. If i select film saved in local hdd i can see it in TMT6, if i select a film saved in the NAS only start TMT6 without load film.
What is wrong?

TMT6
Nas QNAP TS-112
XBMC Frodo.
----------------------------
Playcorefactory
PlayDisc
PlayISO
In the first post witout change.


Sorry for the bad english.


RE: Another External Player Code, but Very Simple to Setup - skydancer - 2013-04-07

Hi, all the sudden after stop playing iso movie with tmt, tmt stop and then launch again without returning to xbmc. (so i'm in loop)
Anyone familiar with this?

edit: Moderator please delete post, answer found few pages earlier. (Repeat all on)

xbmc ver 12

Playercorefactory.xml:
<playercorefactory>
<players>
<player name="ISO_BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\jacky\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<!-- Bluray ISO / BDMV -->
<rule filetypes="iso|bdmv|mpls" player="ISO_BDMV_Player"/>
</rules>
</playercorefactory>

playIso.bat:

@echo off
Set file=%1
Set dummy=%file:iso=%
IF NOT %dummy% == %file% (GOTO playiso) ELSE (goto next)

:next
Set file=%1
Set dummy=%file:mpls=%
IF NOT %dummy% == %file% (GOTO plaympls) ELSE (goto playbdmv)

:playiso
rem "C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
rem "C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" G:
rem "C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 /u
"C:\Program Files (x86)\DAEMON Tools Lite\DTlite.exe" -mount dt, 0, %1
"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" G:
"C:\Program Files (x86)\DAEMON Tools Lite\DTlite.exe" -unmount_all
GOTO end

:plaympls
set pth=%1
set pth=%pth:~1,-25%

"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" "%pth%" exit
GOTO end

:playbdmv
set pth=%1
set pth=%pth:BDMV\MovieObject.bdmv=%
set pth=%pth:BDMV\index.bdmv=%

"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" %pth% exit
GOTO end

:end
exit


RE: Another External Player Code, but Very Simple to Setup - bluray - 2013-04-07

(2013-04-01, 17:19)kykkus Wrote: If i select film saved in local hdd i can see it in TMT6, if i select a film saved in the NAS only start TMT6 without load film.
What is wrong?
I'm not quite sure what cause it. If you haven't try playing file using SMB, you can give it a try......


RE: Another External Player Code, but Very Simple to Setup - xfileman - 2013-04-11

Hello guys, for anyone interested in running. iso in Gotham with 13 ace skin and TMT6 more MPHC is perfect. Big Grin


advancedsettings.xml

<advancedsettings>
<video>
<defaultplayer>externalplayer</defaultplayer>
</video>
<externalplayer>
<filename>C:\Program Files (x86)\TotalMedia Theatre 6\uLaunchTMT6.exe</filename>
<args>-fs</args>
<forceontop>true</forceontop>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<hidecursor>false</hidecursor>
</externalplayer>
</advancedsettings>

playercorefactory.xml

<playercorefactory>
<players>
<player name="Disc_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Paulo\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
</player>
<player name="ISO_BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Paulo\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\TotalMedia Theatre 6\uLaunchTMT6.exe</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="MPCHC_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\SVP\MPC-HC\mpc-hc.exe</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<!-- Bluray ISO -->
<!-- Bluray ISO/BDMV -->
<rule filetypes="iso|bdmv|mpls" player="ISO_BDMV_Player"/>
<!-- Bluray M2TS -->
<rule filetypes="m2ts" player="Universal_Player"/>
<!-- Bluray MKV -->
<rule filetypes="mkv" player="MPCHC_Player"/>
<!-- Bluray AVI -->
<rule filetypes="avi" player="Universal_Player"/>
<!-- Bluray TS -->
<rule filetypes="ts" player="Universal_Player"/>


<!-- Bluray Disc -->
<rule filetypes="bd|ifo" player="Disc_Player"/>

</rules>
</playercorefactory>

PlayDisc.bat

@echo off
rem you can place your PlayDisc file in \Roaming\XBMC\userdata\

"C:\Program Files (x86)\TotalMedia Theatre 6\uLaunchTMT6.exe" O:

PlayISO.bat

@echo off
rem you can place your PlayISO file in \Roaming\XBMC\userdata\
rem you need to put the correct VCDMount drive letter in the command below

"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files (x86)\TotalMedia Theatre 6\uLaunchTMT6.exe" O:


Now, one question I would like to have the Splash Pro EX as the second player to MKV, tried some rules and could not, can someone help me?Huh


RE: Another External Player Code, but Very Simple to Setup - jespermart - 2013-04-12

(2013-04-11, 20:28)xfileman Wrote: Hello guys, for anyone interested in running. iso in Gotham with 13 ace skin and TMT6 more MPHC is perfect. Big Grin


advancedsettings.xml

<advancedsettings>
<video>
<defaultplayer>externalplayer</defaultplayer>
</video>
<externalplayer>
<filename>C:\Program Files (x86)\TotalMedia Theatre 6\uLaunchTMT6.exe</filename>
<args>-fs</args>
<forceontop>true</forceontop>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<hidecursor>false</hidecursor>
</externalplayer>
</advancedsettings>

playercorefactory.xml

<playercorefactory>
<players>
<player name="Disc_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Paulo\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
</player>
<player name="ISO_BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Paulo\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\TotalMedia Theatre 6\uLaunchTMT6.exe</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="MPCHC_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\SVP\MPC-HC\mpc-hc.exe</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<!-- Bluray ISO -->
<!-- Bluray ISO/BDMV -->
<rule filetypes="iso|bdmv|mpls" player="ISO_BDMV_Player"/>
<!-- Bluray M2TS -->
<rule filetypes="m2ts" player="Universal_Player"/>
<!-- Bluray MKV -->
<rule filetypes="mkv" player="MPCHC_Player"/>
<!-- Bluray AVI -->
<rule filetypes="avi" player="Universal_Player"/>
<!-- Bluray TS -->
<rule filetypes="ts" player="Universal_Player"/>


<!-- Bluray Disc -->
<rule filetypes="bd|ifo" player="Disc_Player"/>

</rules>
</playercorefactory>

PlayDisc.bat

@echo off
rem you can place your PlayDisc file in \Roaming\XBMC\userdata\

"C:\Program Files (x86)\TotalMedia Theatre 6\uLaunchTMT6.exe" O:

PlayISO.bat

@echo off
rem you can place your PlayISO file in \Roaming\XBMC\userdata\
rem you need to put the correct VCDMount drive letter in the command below

"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files (x86)\TotalMedia Theatre 6\uLaunchTMT6.exe" O:


Now, one question I would like to have the Splash Pro EX as the second player to MKV, tried some rules and could not, can someone help me?Huh

Do your settings allow TMT 6 to play BDMV folders


RE: Another External Player Code, but Very Simple to Setup - xfileman - 2013-04-12

I decided to change the MPC-HC by Splash Pro EX which i prefer.
I recorded a video showing TMT6 working. TMT6 on XBMC
And also send files, just unzip into xbmc / userdata and change execution paths of course. http://colisee.zftp.com/userdata.zip


RE: Another External Player Code, but Very Simple to Setup - CaptainKen - 2013-04-15

I've downloaded and installed: "ffdshow_rev4504_20130312_clsid" and "MPC-HC.1.6.6.6957.x64"

Attempting to follow instructions in: http://www.2shared.com/document/ovrWPOek/FFDshow_and_MPC-HC.html

ffdshow is setup exactly like instructions.

In MPC there are no ffd External Filters showing up in Select Filter window?
Image


RE: Another External Player Code, but Very Simple to Setup - CaptainKen - 2013-04-19

(2013-04-15, 02:00)CaptainKen Wrote: I've downloaded and installed: "ffdshow_rev4504_20130312_clsid" and "MPC-HC.1.6.6.6957.x64"

Attempting to follow instructions in: http://www.2shared.com/document/ovrWPOek/FFDshow_and_MPC-HC.html

ffdshow is setup exactly like instructions.

In MPC there are no ffd External Filters showing up in Select Filter window?
Image

Bump


RE: Another External Player Code, but Very Simple to Setup - kaffekask - 2013-04-20

My guess it's because you seem to have the x86 version of ffdshow and the x64 version of MPC-HC, change one of them so they are running tha same number of bits it that's the case..


RE: Another External Player Code, but Very Simple to Setup - CaptainKen - 2013-04-20

Thank you! Good catch @kaffekask, I must have been asleep at the wheel!

Curious if the only thing I need ffdshow for is to play blu-ray discs, then what are the applicable settings in the these to wizard screens that I must have enabled? (Note: All settings note shown)
Image
Image


RE: Another External Player Code, but Very Simple to Setup - kaffekask - 2013-04-20

If you use XBMC internal player for all other formats there is no to change the settings in ffdshow, but if you use an MPC-HC (or another DirectShow player) as external player for DivX/Xvid/MKV and so on and want to use that players codecs you should untick all video formats except H.264/AVC.

But remember "If it works, don't touch it" Big Grin


RE: Another External Player Code, but Very Simple to Setup - CaptainKen - 2013-04-21

Ok thank you.