Kodi Community Forum

Full Version: Another External Player Code, but Very Simple to Setup
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2012-10-05, 22:07)cekkk Wrote: [ -> ]You were right.
It is working now Smile
Thanks!
I'm glad that you got it to work....Nod

Hey Bluray,

I would like to try PowerDVD 12 to watch ISO's (2d and 3d), physical blu-ray (2d and 3d) and DVD discs. I want all other formats to play in XBMC. Could you help me out with this? Thanks in advance. I tried TMT5 for 3d playback but I am having a horrible lip sync issue
(2012-10-06, 18:09)azula Wrote: [ -> ]Hey Bluray,

I would like to try PowerDVD 12 to watch ISO's (2d and 3d), physical blu-ray (2d and 3d) and DVD discs. I want all other formats to play in XBMC. Could you help me out with this? Thanks in advance. I tried TMT5 for 3d playback but I am having a horrible lip sync issue
I tried TMT5 3d using GT430 GPU and 3d HDTV LED sometime ago, and it worked fine. Have you check out some tips from ArcSoft links below?

-How to Play 3D Movie and 3D Blu-ray
-How to Set Viewing Environment for 3D Movie

If you want to try PDVD12, you can try the codes below (note- you need to replace "xxxx" and "J:" with the correct user name and VCD drive):

Playercorefactory.xml:

<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\xxxx\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>

</player>
</players>
<rules action="prepend">
<!-- Bluray ISO -->
<rule filetypes="iso" filename=".*iso.*" player="ISO_Player"/>

</rules>
</playercorefactory>

PlayISO.bat:

@echo off
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files (x86)\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe" J:

Make sure that your GPU driver is up to date....

I'm trying to get pdvd 12 to work all it does when i click a movie and goes external player active click ok when done.But it's not even doing anything

my bdmv

Code:
@echo off
rem you can place your PlayBDMV file in \Roaming\XBMC\userdata\
set pth=%1
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files(x86)\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe" %pth% exit


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

        </player>
                <player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
            <filename>C:\Users\DTS\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename>
            <args>"{1}"</args>
            <hidexbmc>false</hidexbmc>

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

                </player>
        <player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
            <filename>C:\Program Files(x86)\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe</filename>
            <args>"{1}"</args>
            <hidexbmc>false</hidexbmc>
                            
        </player>
        </players>
        <rules action="prepend">
        <!-- Bluray ISO -->
        <rule filenames="iso" filetypes="iso" player="ISO_Player"/>
        <!-- Bluray BDMV -->
        <rule filenames="bdmv" filetypes="bdmv" player="BDMV_Player"/>
        <!-- Bluray M2TS -->
        <rule filenames="m2ts" filetypes="m2ts" player="Universal_Player"/>
        <!-- Bluray MKV -->
        <rule filenames="mkv" filetypes="mkv" player="Universal_Player"/>
        <!-- Bluray AVI -->
        <rule filenames="avi" filetypes="avi" player="Universal_Player"/>
        <!-- Bluray TS -->
        <rule filenames="ts" filetypes="ts" player="Universal_Player"/>
        
                <!-- Bluray Disc -->
        <rule filenames="BD" name="E:\\.*" filetypes="bdmv" player="Disc_Player"/>
        
</rules>
</playercorefactory>
(2012-10-07, 00:37)ryu4000 Wrote: [ -> ]I'm trying to get pdvd 12 to work all it does when i click a movie and goes external player active click ok when done.But it's not even doing anything

my bdmv

Code:
@echo off
rem you can place your PlayBDMV file in \Roaming\XBMC\userdata\
set pth=%1
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files(x86)\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe" %pth% exit
As I mentioned in post #668, I never can get PVD12 to launch BDMV automatically either.....but it worked fine with ISO.....

Hi!
I need help. I use xbmc with TMT5 external player. When I start BD(iso bdmw etc) and TMT5 not change interlace. What do I do, that the playback will be 24p and It isn't 60 or 50 Hz?
(2012-10-12, 09:46)cekkk Wrote: [ -> ]Hi!
I need help. I use xbmc with TMT5 external player. When I start BD(iso bdmw etc) and TMT5 not change interlace. What do I do, that the playback will be 24p and It isn't 60 or 50 Hz?
I usually set TMT5 display to- Enabled: Hardware Acceleration and Mode: Auto Deinterlace.....there are some movies that don't detect auto deinterlace, I manually set it to force deinterlace......

You can check out this forum for more info on it- What deinterlacing settings should I use?

(2012-10-12, 17:23)bluray Wrote: [ -> ]
(2012-10-12, 09:46)cekkk Wrote: [ -> ]Hi!
I need help. I use xbmc with TMT5 external player. When I start BD(iso bdmw etc) and TMT5 not change interlace. What do I do, that the playback will be 24p and It isn't 60 or 50 Hz?
I usually set TMT5 display to- Enabled: Hardware Acceleration and Mode: Auto Deinterlace.....there are some movies that don't detect auto deinterlace, I manually set it to force deinterlace......

You can check out this forum for more info on it- What deinterlacing settings should I use?

Thanks!
With the October build of xbmc its now possible to use an external player for HD DVDs without getting an endless loop. For a whole <playercorefactory> look at blurays numerous posts. Smile

Rules should be as follows:

<!-- HDDVD Disc -->
<rule name="HDDVDxpl" filename="E:\\.*" filetypes="xpl" player="Disc_Player"/>
<rule name="HDDVDifo" filename="HV*" filetypes="ifo" player="Disc_Player"/>

Don't forget to adjust the first rule to have the right letter for your optical drive.
Using only the first rule will be sufficient in most cases. But for discs without
advanced content playlists the second rule will be required.

SlrG
Hi,
I want to use Media Player Classic - Home Cinema as external player. My .m2ts files are started by MPC-HC but my Blu-Ray folder structure movies are not (they are played by the internal XBMC player).

I have made 4 files located in C:\Users\sander\AppData\Roaming\XBMC\userdata

playercorefactoy.xml
Code:
<playercorefactory>
    <players>
        <player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
            <filename>C:\Users\dell\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
            <args>"{1}"</args>
            <hidexbmc>false</hidexbmc>

        </player>
                <player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
            <filename>C:\Users\dell\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename>
            <args>"{1}"</args>
            <hidexbmc>false</hidexbmc>

        </player>
        <player name="Disc_Player" type="ExternalPlayer" audio="false" video="true">
            <filename>C:\Users\Dell\AppData\Roaming\XBMC\userdata\PlayDisc.exe</filename>
            <args>"{1}"</args>
            <hidexbmc>false</hidexbmc>

                </player>
        <player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
            <filename>C:\Program Files (x86)\Media Player Classic - Home Cinema - DBoite\mpc-hc.exe</filename>
            <args>"{1}"</args>
            <hidexbmc>false</hidexbmc>
  
        </player>
        </players>
        <rules action="prepend">
        <!-- Bluray ISO -->
        <rule filenames="iso" filetypes="iso" player="ISO_Player"/>
        <!-- Bluray BDMV -->
        <rule filenames="bdmv" filetypes="bdmv" player="BDMV_Player"/>
        <!-- Bluray M2TS -->
        <rule filenames="m2ts" filetypes="m2ts" player="Universal_Player"/>
        <!-- Bluray MKV -->
        <rule filenames="mkv" filetypes="mkv" player="Universal_Player"/>
        <!-- Bluray AVI -->
        <rule filenames="avi" filetypes="avi" player="Universal_Player"/>
        <!-- Bluray TS -->
        <rule filenames="ts" filetypes="ts" player="Universal_Player"/>
        
                <!-- Bluray Disc -->
        <rule filenames="BD" name="E:\\.*" filetypes="bdmv" player="Disc_Player"/>
        
</rules>
</playercorefactory>


PlayBDMV.bat
Code:
@echo off
rem you can place your PlayBDMV file in \Roaming\XBMC\userdata\
set pth=%1
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files (x86)\Media Player Classic - Home Cinema - DBoite\mpc-hc.exe" %pth% exit


PlayDisc.bat
Code:
@echo off
rem you can place your PlayDisc file in \Roaming\XBMC\userdata\

"C:\Program Files (x86)\Media Player Classic - Home Cinema - DBoite\mpc-hc.exe" E:


PlayISO.bat
Code:
@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)\Media Player Classic - Home Cinema - DBoite\mpc-hc.exe" /d=0 %1
"C:\Program Files (x86)\Media Player Classic - Home Cinema - DBoite\mpc-hc.exe" K:


What am I doing wrong here?

Thanks
@THX-UltraII,
Your codes looks okay....do you happen to install Frodo? You might want to convert it back to Eden.....
(2012-10-15, 00:28)bluray Wrote: [ -> ]@THX-UltraII,
Your codes looks okay....do you happen to install Frodo? You might want to convert it back to Eden.....

I m indeed using the latest nightlies Eden build. Isn t there a workaround to make BDMV+external player work in Eden?
Could someone assist me in creating the prober bat file for 3d mkv, as in playiso.bat and playbdmv.bat ?

I have the basic playercore factory in place for it to pick up a 3d mkv file.

But it doesn´t pass it to TMT5.

I am trying to use a bat file, because I need to run a command prior, that enables nvidia 3d vision.

like so:
<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Lars\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Disc_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Lars\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="MKV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Lars\AppData\Roaming\XBMC\userdata\PlayMkv.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<!-- Bluray ISO -->
<!--rule filename=".*iso.*" player="ISO_Player"/-->
<rule filename=".*3D.iso*" protocols="*3D.iso*" player="ISO_Player"/>
<rule filename=".*3d.iso*" protocols="*3d.iso*" player="ISO_Player"/>
<!-- Bluray Disc -->
<rule protocols="bd|dvd" player="Disc_Player"/>
<!-- Mkv Files -->
<rule filename=".*3D.*" protocols="*3D.*" player="MKV_Player"/>
<rule filename=".*3d.*" protocols="*3d.*" player="MKV_Player"/>
</rules>
</playercorefactory>

PlayMKV.BAT
@echo off
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable
"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe"
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable
exit

Thanks...
Oh and if someone knows how to have TMT5 stay in front, so my remote works, that would be dandy Smile
(2012-10-15, 10:55)THX-UltraII Wrote: [ -> ]
(2012-10-15, 00:28)bluray Wrote: [ -> ]@THX-UltraII,
Your codes looks okay....do you happen to install Frodo? You might want to convert it back to Eden.....

I m indeed using the latest nightlies Eden build. Isn t there a workaround to make BDMV+external player work in Eden?
I tried it a while ago, and I could get it to work with the previous Nightlies either.....

@h8redv2,
I'm not sure what you mean by enable nvidia 3d vision, and why do you need it?

For 3d using TMT5, the codes below should work.....

<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Lars\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
</player>
<player name="MKV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe.exe</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
</player>
</players>
<rules action="prepend">

<rule filetypes="iso" filename=".*3dbd." player="ISO_Player"/>
<rule filetypes="mkv" filename=".*3dbd." player="MKV_Player"/>

</rules>
</playercorefactory>

PlayISO.bat:
@echo off
"C:\Program Files\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe.exe" E:

You need to replace E: with the available VCD drive, and you can set TMT5 to launch in fullscreen.....