XBMC Community Forum
Another External Player Code, but Very Simple to Setup - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Windows support (/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 - zachmo826 - 2012-06-08 16:45

(2012-06-08 08:10)Ghostdivision Wrote:  Well, in my case updating to the latest version solved the issue....
One question though, i have a few bluray iso's tv shows...the default player is still set to xbmc internal player, how do i change it?

What did you update? TMT to 5.2?


RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-06-08 17:01

(2012-06-08 08:10)Ghostdivision Wrote:  Well, in my case updating to the latest version solved the issue....
One question though, i have a few bluray iso's tv shows...the default player is still set to xbmc internal player, how do i change it?
These are the codes you needs for BDMV and ISO......you need to replace everything in RED. BDMV don't need to be mounted, and you can simply navigate to index.bdmv with your remote to start playing movie.....

Playercorefactory.xml:
<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>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</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>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<!-- Bluray ISO -->
<rule filename=".*iso.*" player="ISO_Player"/>
<!-- Bluray BDMV -->
<rule filename=".*bdmv.*" player="BDMV_Player"/>
</rules>
</playercorefactory>

PlayISO.bat:
@echo off
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" J:
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 /u

play BDMV.bat:
@echo off
set pth=%1
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" %pth% exit


For TMT5 stuttering issue, you need to visit ArcSoft website for more info- Total Media Theater 5.2.1.120 problem......

Since every HTPC is slightly different, it is hard to find a single solution for everything.....


RE: Another External Player Code, but Very Simple to Setup - Ghostdivision - 2012-06-08 19:56

(2012-06-08 16:45)zachmo826 Wrote:  
(2012-06-08 08:10)Ghostdivision Wrote:  Well, in my case updating to the latest version solved the issue....
One question though, i have a few bluray iso's tv shows...the default player is still set to xbmc internal player, how do i change it?

What did you update? TMT to 5.2?



Yes. The very latest version.
(2012-06-08 17:01)bluray Wrote:  
(2012-06-08 08:10)Ghostdivision Wrote:  Well, in my case updating to the latest version solved the issue....
One question though, i have a few bluray iso's tv shows...the default player is still set to xbmc internal player, how do i change it?
These are the codes you needs for BDMV and ISO......you need to replace everything in RED. BDMV don't need to be mounted, and you can simply navigate to index.bdmv with your remote to start playing movie.....

Playercorefactory.xml:
<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>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</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>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<!-- Bluray ISO -->
<rule filename=".*iso.*" player="ISO_Player"/>
<!-- Bluray BDMV -->
<rule filename=".*bdmv.*" player="BDMV_Player"/>
</rules>
</playercorefactory>

PlayISO.bat:
@echo off
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" J:
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 /u

play BDMV.bat:
@echo off
set pth=%1
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" %pth% exit


For TMT5 stuttering issue, you need to visit ArcSoft website for more info- Total Media Theater 5.2.1.120 problem......

Since every HTPC is slightly different, it is hard to find a single solution for everything.....

Thanks, powerdvd seems no better initially. Configuration with regards to frame rate is perfect 23.967, i was told on arcsoft 23hz on ati, is proper 23.967, and added a hack found here to use it.

http://www.arcsoft.jp/en/forum/forum_posts.asp?TID=9827&PID=44808&title=23hz-ini-file-mod-reduced-stutter#top


The scary thing is researching at avsforum, a few people posted asking "does anyone have an htpc and can play blurays stutter free?"

I left htpc world in 2004 because it was unreliable 8 years later i had hoped for some progress.

Can you get stutter free playback at 23.967 or 24hz?

IM testing on my desktop before i build an htpc, my setup is ati 5770, tripple core 3.2ghz, and 4 gigs ram. Should be good enough.


RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-06-08 21:50

(2012-06-08 19:56)Ghostdivision Wrote:  IM testing on my desktop before i build an htpc, my setup is ati 5770, tripple core 3.2ghz, and 4 gigs ram. Should be good enough.
It should be enought to playback anything......


RE: Another External Player Code, but Very Simple to Setup - Ghostdivision - 2012-06-09 01:02

bluray curious what setup your running and you say you get smooth playback at 24hz?

Im wondering if my card just has trouble with that framerate, not due to power, but just due to whatever is causing the issue with this card. Doing a search I seen on avsforum alot of people struggling with 24fps have a 5XXX series ati card like me.


RE: Another External Player Code, but Very Simple to Setup - Ghostdivision - 2012-06-09 01:14

Im still not able to get iso using tmt as the default player.

Does the drive letter in the bat pertain to my actual bluray drive, or the virtual clone drive? I assume virtual clone drive.

It does play iso's in tv shows in tmt, but i have to right click and select iso player, otherwise xbmc internal player still plays it by default...

Can anyone confirm there iso's under tv shows have tmt as default player? Or suggestions on how to change the default player in xbmc?


RE: Another External Player Code, but Very Simple to Setup - Ghostdivision - 2012-06-09 01:28

Is there any issue with how my iso's are named?

S01XE01E02.bluray.iso


RE: Another External Player Code, but Very Simple to Setup - Ghostdivision - 2012-06-09 03:08

Also powerdvd 12 is actually way smoother and less resource heavy, no stuttering at all.

Do you have any idea how to get powerdvd 12 working with bluray folders and xbmc? I tried editing playercorefactory and the bats to point to powerdvd12.exe instead but nothing played....Powerdvd came up and just sits there. Do you have any idea. Im really impressed with the powerdvd12 software and how much smoother and lighter it appears to be, i even seen people on arcsoft forum suggesting switching to it. But i have no idea how to make powerdvd 12 launch bdmv folders with xbmc..


Is there anyway to make vcd mount bdmv folders? Or anyway to get powerdvd to launch bdmv folders like tmt?



Powerdvd12 launches using a playercorefactory you suggested in page 38-39, but nothing happens, the file wont play....these are bdmv files which powerdvd can play, but they are not playing here. The powerdvd just sits here.

I dont know bluray if you can or have ever tried playing a bdmv folder with xbmc/powerdvd...i would love to know if it can be done to give me some hope. Right now tmt just stutters to much, and my hopes rest in getting powerdvd to work with xbmc and be able to launch bdmv folders.

Also this is my playercorefactory and bat.

<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Monty\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Monty\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Disc_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Monty\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</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>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>

</player>
</players>
<rules action="prepend">
<!-- Bluray ISO -->
<rule filename=".*iso.*" player="ISO_Player"/>
<!-- Bluray BDMV -->
<rule filename=".*bdmv.*" player="BDMV_Player"/>
<!-- Bluray MKV -->
<rule filename=".*mkv.*" player="Universal_Player"/>
<!-- Bluray M2TS -->
<rule filename=".*m2ts.*" player="Universal_Player"/>

<!-- Bluray Disc -->
<rule protocols="bd|dvd" player="Disc_Player"/>
</rules>
</playercorefactory>



@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


RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-06-09 07:45

@Ghostdivision,
You can try the codes below. You need to replace J: in this line "C:\Program Files (x86)\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe" J: with the available VirtualCloneDrive in your HTPC.

Playercorefactory.xml:
<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Monty\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Monty\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<!-- Bluray ISO -->
<rule filename=".*iso.*" player="ISO_Player"/>
<!-- Bluray BDMV -->
<rule filename=".*bdmv.*" player="BDMV_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:


PlayBDMV.bat:
@echo off
set pth=%1
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files (x86)\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe" %pth% exit


RE: Another External Player Code, but Very Simple to Setup - Ghostdivision - 2012-06-09 10:57

Thanks for your help, should i keep this line in though or not?


<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>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>