Another External Player Code, but Very Simple to Setup

  Thread Rating:
  • 10 Votes - 4.2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
bluray Offline
Posting Freak
Posts: 7,575
Joined: May 2011
Reputation: 139
Post: #501
(2012-04-13 19:26)Roman_V_M Wrote:  
(2012-04-13 18:43)bluray Wrote:  @roman,
Good suggestion! I tried that a long time ago, and it works very similar to the two BDMV and ISO bat files listed in here. I preferred the simpler bat files......but if somebody want to try it, it should be a good option. Maybe, some HTPC might work better with CMD file.

Actually, I prefer to launch external players via context menu and this way I don't need to consider the extension of the file to be played in TMT 5.
I'm glad that you like it. Maybe you can upload the complete codes (cmd, xml, etc) on sendspace.com, so others can try it......

>Alienware X51- do it all HTPC
>Simplify XBMC configurations
>HOW-TO Bitstreaming using XBMC
I refused to watch movie without bitstreaming HD audio!
find quote
Roman_V_M Offline
Fan
Posts: 332
Joined: Jun 2011
Reputation: 6
Location: Kyiv, Ukraine
Post: #502
(2012-04-13 20:02)bluray Wrote:  
(2012-04-13 19:26)Roman_V_M Wrote:  
(2012-04-13 18:43)bluray Wrote:  @roman,
Good suggestion! I tried that a long time ago, and it works very similar to the two BDMV and ISO bat files listed in here. I preferred the simpler bat files......but if somebody want to try it, it should be a good option. Maybe, some HTPC might work better with CMD file.

Actually, I prefer to launch external players via context menu and this way I don't need to consider the extension of the file to be played in TMT 5.
I'm glad that you like it. Maybe you can upload the complete codes (cmd, xml, etc) on sendspace.com, so others can try it......

I've posted the complete .cmd code and I use playercorefactory.xml similar to yours. The differences are that there is only one section in < players > for TMT 5 and I did not put any rules for specific filetypes. The rules are actually optional, and all external players defined in < players > section are available via context menu - Play using...

Code:
<playercorefactory>
<players>
  <player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
   <filename>d:\Programs\MPC-HomeCinema\mpc-hc.exe</filename>
   <args>"{1}" /fullscreen /play /close</args>
   <hidexbmc>true</hidexbmc>
   <hideconsole>true</hideconsole>
   <warpcursor>none</warpcursor>
  </player>
  <player name="TMT5" type="ExternalPlayer" audio="false" video="true">
   <filename>d:\Programs\bd.cmd</filename>
   <args>"{1}"</args>
   <hidexbmc>true</hidexbmc>
   <hideconsole>true</hideconsole>
   <warpcursor>none</warpcursor>
  </player>
</players>
</playercorefactory>

AMD A4-3300 + AsRock A75M-ITX
XBMC-DSplayer 12.2 (custom build) on Windows 7
(This post was last modified: 2012-04-13 20:51 by Roman_V_M.)
find quote
bluray Offline
Posting Freak
Posts: 7,575
Joined: May 2011
Reputation: 139
Post: #503
(2012-04-13 20:48)Roman_V_M Wrote:  I've posted the complete .cmd code and I use playercorefactory.xml similar to yours. The differences are that there is only one section in < players > for TMT 5 and I did not put any rules for specific filetypes. The rules are actually optional, and all external players defined in < players > section are available via context menu - Play using...

Code:
<playercorefactory>
<players>
  <player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
   <filename>d:\Programs\MPC-HomeCinema\mpc-hc.exe</filename>
   <args>"{1}" /fullscreen /play /close</args>
   <hidexbmc>true</hidexbmc>
   <hideconsole>true</hideconsole>
   <warpcursor>none</warpcursor>
  </player>
  <player name="TMT5" type="ExternalPlayer" audio="false" video="true">
   <filename>d:\Programs\bd.cmd</filename>
   <args>"{1}"</args>
   <hidexbmc>true</hidexbmc>
   <hideconsole>true</hideconsole>
   <warpcursor>none</warpcursor>
  </player>
</players>
</playercorefactory>
Let say for most of us, we want to use TMT5 for blu-ray disc BDMV and ISO only. Can you add the rules in your codes to use TMT5 for BDMV and ISO only? Since most other blu-ray files don't included blu-ray menus, extras, chapter, etc, it is fine with us to playback it using XBMC player. XBMC can handles it fine.

If you can do the test on BDMV and ISO with rules for us and let us know the result, that would be great......

>Alienware X51- do it all HTPC
>Simplify XBMC configurations
>HOW-TO Bitstreaming using XBMC
I refused to watch movie without bitstreaming HD audio!
find quote
LCD72 Offline
Junior Member
Posts: 12
Joined: Sep 2011
Reputation: 0
Post: #504
[/quote]Try these-

1. replace all the lines with <args>"{1}" /close</args> with <args>"{1}" /close</args>

2. replace "C:\Program Files\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" with "C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe"

3. launch XBMC and try it again

If that still work the same way, you can check in MSCONFIG and verify STARTUP to see what might complicate it....



It doesn't helps. I'm gonna install the whole system (WIN7, XBMC, TMT everything) tomorrow from scratch, then I'l start again with your original codes. Is there anything you suggest me to do during the install process? Actually I'm more like a Mac user, so Windows is a bit difficult to me...

Cheers

L.
find quote
bluray Offline
Posting Freak
Posts: 7,575
Joined: May 2011
Reputation: 139
Post: #505
(2012-04-13 21:44)LCD72 Wrote:  Is there anything you suggest me to do during the install process? Actually I'm more like a Mac user, so Windows is a bit difficult to me...

Cheers

L.
Nothing....just all the standard installation....and make sure that video/audio/network drivers are update...and make sure that GPU driver is up to date too....

>Alienware X51- do it all HTPC
>Simplify XBMC configurations
>HOW-TO Bitstreaming using XBMC
I refused to watch movie without bitstreaming HD audio!
find quote
andyd Offline
Senior Member
Posts: 206
Joined: Nov 2004
Reputation: 0
Post: #506
(2012-04-13 18:08)bluray Wrote:  
(2012-04-13 03:09)andyd Wrote:  Thanks! FYI - the file is actually the same as TMT5 without the 5 - uMCEPlayer.exe

I am having one issue though - HD-DVDs. While they load, TMT3 does not actually recognize it until a few seconds has passed. Is there anything I can do so that it gets automatically loaded? As of now

I get an error > wait a few seconds > then can press play for the ISO to load
You can post your .bat and .xml files in here. We'll see what we can dig up from it....

Just in case - the HD-DVDs do definitely play. It's just that there is a lag that prevents it from quickly launching like it does for the Bluray folders that I've ripped. I have to wait a few moments before I can hit play so I assume it's still in the process of mounting the disc. Not sure if there is way to delay the start a few seconds

PlayBDMV...

@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)\ArcSoft\TotalMedia Theatre 3\uMCEDVDPlayer.exe" %pth% exit...

PlayDisc

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

"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 3\uMCEDVDPlayer.exe" E:

PlayISO

@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)\ArcSoft\TotalMedia Theatre 3\uMCEDVDPlayer.exe" N:
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 /u

XML

<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Andy D\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Andy D\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Disc_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Andy D\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 3\uMCEDVDPlayer.exe</filename>
<args>"{1}" /fullscreen</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"/>
<!-- Bluray M2TS -->
<rule filename=".*m2ts.*" player="Universal_Player"/>

<!-- Bluray Disc -->
<rule protocols="bd|dvd" player="Disc_Player"/>
</rules>
</playercorefactory>
(This post was last modified: 2012-04-14 00:50 by andyd.)
find quote
bluray Offline
Posting Freak
Posts: 7,575
Joined: May 2011
Reputation: 139
Post: #507
@Andy....
Your codes looks fine. Unfortunately, I don't have TMT3 and HD-DVD ISO to try it for you. Can you manually mount one HD-DVD ISO with the available VCD drive? Try to playback the mounted ISO using TMT3......just want to see if it can playback using TMT3 by itself...

>Alienware X51- do it all HTPC
>Simplify XBMC configurations
>HOW-TO Bitstreaming using XBMC
I refused to watch movie without bitstreaming HD audio!
find quote
Roman_V_M Offline
Fan
Posts: 332
Joined: Jun 2011
Reputation: 6
Location: Kyiv, Ukraine
Post: #508
(2012-04-13 21:33)bluray Wrote:  Let say for most of us, we want to use TMT5 for blu-ray disc BDMV and ISO only. Can you add the rules in your codes to use TMT5 for BDMV and ISO only? Since most other blu-ray files don't included blu-ray menus, extras, chapter, etc, it is fine with us to playback it using XBMC player. XBMC can handles it fine.

If you can do the test on BDMV and ISO with rules for us and let us know the result, that would be great......

Here's playercorefactory.xml with rules for BluRays:
Code:
<playercorefactory>
<players>
  <player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
   <filename>d:\Programs\MPC-HomeCinema\mpc-hc.exe</filename>
   <args>"{1}" /fullscreen /play /close</args>
   <hidexbmc>true</hidexbmc>
   <hideconsole>true</hideconsole>
   <warpcursor>none</warpcursor>
  </player>
  <player name="TMT5" type="ExternalPlayer" audio="false" video="true">
   <filename>c:\Users\Roman\AppData\Roaming\XBMC\userdata\bd.cmd</filename>
   <args>"{1}"</args>
   <hidexbmc>true</hidexbmc>
   <hideconsole>true</hideconsole>
   <warpcursor>none</warpcursor>
  </player>
</players>
<rules action="prepend">
  <rule filetypes="bdmv|ISO|iso" player="TMT5"/> -->
</rules>
</playercorefactory>
But with rules it is actually does not matter if you are using separate cmds for each file type or a combined cmd. A combined cmd is more useful with context menu.
Personally, I think that full BluRay menus are overrated. It is much simpler to launch BluRays from XBMC itself and start watching a movie immediately than to make your way through a bunch of threats to sentence you for 99 years of electric chair for piracy or disclaimers that the thoughts of film makers expressed in the film do not reflect their opinion. Fortunately, we have builds with HD sound support now. They are not ideal but they work.

AMD A4-3300 + AsRock A75M-ITX
XBMC-DSplayer 12.2 (custom build) on Windows 7
(This post was last modified: 2012-04-14 12:20 by Roman_V_M.)
find quote
bluray Offline
Posting Freak
Posts: 7,575
Joined: May 2011
Reputation: 139
Post: #509
(2012-04-14 12:19)Roman_V_M Wrote:  <rule filetypes="bdmv|ISO|iso" player="TMT5"/> -->
Why are there cap and lower cases ISO's? With this rule, did it playback BDMV and ISO using TMT5 and other blu-ray files using XBMC?

(2012-04-14 12:19)Roman_V_M Wrote:  But with rules it is actually does not matter if you are using separate cmds for each file type or a combined cmd. A combined cmd is more useful with context menu.
I tried both way with CMD and BAT last year, and it worked the same way.....

(2012-04-14 12:19)Roman_V_M Wrote:  Personally, I think that full BluRay menus are overrated.
For some of us, it is not overrated because we uses it all the time. I can quickly jump to the scene, chapter, etc that I want instead of skipping through multiple chapters to find the right chapter....

>Alienware X51- do it all HTPC
>Simplify XBMC configurations
>HOW-TO Bitstreaming using XBMC
I refused to watch movie without bitstreaming HD audio!
(This post was last modified: 2012-04-14 18:53 by bluray.)
find quote
Roman_V_M Offline
Fan
Posts: 332
Joined: Jun 2011
Reputation: 6
Location: Kyiv, Ukraine
Post: #510
(2012-04-14 18:52)bluray Wrote:  
(2012-04-14 12:19)Roman_V_M Wrote:  <rule filetypes="bdmv|ISO|iso" player="TMT5"/> -->
Why are there cap and lower cases ISO's?

If I'm not mistaken, RegExps are case sensitive.

Quote:With this rule, did it playback BDMV and ISO using TMT5 and other blu-ray files using XBMC?

Yes, it does.

AMD A4-3300 + AsRock A75M-ITX
XBMC-DSplayer 12.2 (custom build) on Windows 7
find quote
Post Reply