• 1
  • 32
  • 33
  • 34(current)
  • 35
  • 36
  • 154
Another External Player Code, but Very Simple to Setup
Actually, it is possible to replace PlayBDMV and PlayISO with a single .cmd that can play all types of files in TMT 5 (single videofiles are played too). For disks you may still need PlayDisc, but I'm not sure. My HTPC does not have a disk drive.

Here's the code:
Code:
@echo off

set ext=%1
rem removing quotes (") from the path
rem it does not work with a closing quote for some reason
set ext=%ext:"=%
rem extracting a file extension from the path
set ext=%ext:~-3%

rem checking if this is an ISO file
rem if yes go to the ISO processing part
if %ext%==ISO goto iso

rem the same for lowercase "iso"
if %ext%==iso goto iso

rem if not ISO, removing "BDMV\index.bdmv" from the path and passing it to TMT 5
rem for a separate videofile (mkv/avi/m2ts etc.) the path is passed unchanged
set pth=%1
set pth=%pth:BDMV\index.bdmv=%
rem starting TMT 5
"d:\Programs\uMCEPlayer5.lnk" %pth%
goto end

:iso

rem mounting an ISO image to Daemon Tools vitual scsi drive #0
"c:\Program Files\DAEMON Tools Lite\DTLite.exe" -mount scsi, 0, %1
rem waiting...
ping -n 2 -w 1000 127.0.0.1 > nul
rem starting TMT 5
"d:\Programs\uMCEPlayer5.lnk" F:\
rem unmounting the ISO image
"c:\Program Files\DAEMON Tools Lite\DTLite.exe" -unmount scsi, 0

:end

exit

Careful with the paths - replace them with your own.
Reply
@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.
>Alienware X51- do it all HTPC
>Simplify XBMC configurations
>HOW-TO Bitstreaming using XBMC
I refused to watch movie without bitstreaming HD audio!
Reply
(2012-04-13, 01:21)bluray Wrote:
(2012-04-12, 21:15)pettergulbra Wrote: @bluray
I don`t have an working Blu Ray disc player at the moment. But I can`t try ether when the program don`t start.
This worked for a couple of day a go, the program. But now it don`t anymore.

I installed PowerDVD11, and then uninstalled it again, after this the program did not function anymore. (TMT5)

I can`t find any error in Windows, so I can`t understand.

Petter
You can do Windows "System Restore" to the day when it was working fine.....

I can`t restore so far back.
I begin to belive I have to try install windows and anything else.
Hmmm.....

But thanks for the help Big Grin


Petter

Petter :-)
Many thanks for all the effort YOU all do! THANKS! :-)
nVidia Shield TV (2015), Samsung QE75Q70R and Yamaha RX-V767
Reply
(2012-04-13, 19:09)pettergulbra Wrote:
(2012-04-13, 01:21)bluray Wrote:
(2012-04-12, 21:15)pettergulbra Wrote: @bluray
I don`t have an working Blu Ray disc player at the moment. But I can`t try ether when the program don`t start.
This worked for a couple of day a go, the program. But now it don`t anymore.

I installed PowerDVD11, and then uninstalled it again, after this the program did not function anymore. (TMT5)

I can`t find any error in Windows, so I can`t understand.

Petter
You can do Windows "System Restore" to the day when it was working fine.....

I can`t restore so far back.
I begin to belive I have to try install windows and anything else.
Hmmm.....

But thanks for the help Big Grin


Petter
Yes, there must be something conflicting each other for it not to work......

In the rule of thumb. you should always create a restore point before major update or change.....
>Alienware X51- do it all HTPC
>Simplify XBMC configurations
>HOW-TO Bitstreaming using XBMC
I refused to watch movie without bitstreaming HD audio!
Reply
(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.
Reply
(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!
Reply
(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>
Reply
(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!
Reply
[/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.
Reply
(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!
Reply
(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>

Reply
@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!
Reply
(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.
Reply
(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!
Reply
(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.
Reply
  • 1
  • 32
  • 33
  • 34(current)
  • 35
  • 36
  • 154

Logout Mark Read Team Forum Stats Members Help
Another External Player Code, but Very Simple to Setup13