Another External Player Code, but Very Simple to Setup

  Thread Rating:
  • 11 Votes - 4.27 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
bluray Offline
Posting Freak
Posts: 8,315
Joined: May 2011
Reputation: 145
Post: #796
(2012-07-21 20:00)siamsquare Wrote:  But I'm having trouble with Full BD-iso with menu.....I tried to follow your tutorial but I can't get it to work and when I select an BD-iso in XBMC nothing happens! I've installed everything on the 1st page and would like to run TMT5.
So if any1 could help....

TY
The codes in the first page wouldn't work by itself. You have to edit the code so that "user" in the code match the login user in your HTPC....

>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
8000HD Offline
Junior Member
Posts: 1
Joined: Dec 2011
Reputation: 0
Post: #797
Thanks for your hekp Bluray, the eshell saved me alot of complaining from my gf Big Grin I have the same isssue has siamsquare, my xbmc close and then nothing happen. I've check the link/drive to virtual clone drive and changed the user name. (I'm too with Win7 x86)
(This post was last modified: 2012-07-26 02:09 by 8000HD.)
find quote
bluray Offline
Posting Freak
Posts: 8,315
Joined: May 2011
Reputation: 145
Post: #798
(2012-07-26 02:07)8000HD Wrote:  Thanks for your hekp Bluray, the eshell saved me alot of complaining from my gf Big Grin I have the same isssue has siamsquare, my xbmc close and then nothing happen. I've check the link/drive to virtual clone drive and changed the user name. (I'm too with Win7 x86)
Please post your codes in here, and let us know what file do you want to playback using external player....

>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
bluray Offline
Posting Freak
Posts: 8,315
Joined: May 2011
Reputation: 145
Post: #799
Eden is already released- Current Stable Release: 11.0 “Eden”.....

>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
JoeBlow42069 Offline
Senior Member
Posts: 116
Joined: Jul 2011
Reputation: 0
Post: #800
I changed the file paths in player core factory settings for TMT5, are there any other changes that need to be made that I'm missing? I am pretty sure I have file paths set correctly, but TMT5 still isnt launching when i select a Blu-Ray. Also, do i need to edit Playercorefactory, PlayDisc, PlayBDMV or PalyISO? When I try to open them, I can only run them. Here are my player core factory settings:

<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Sean\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\Sean\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\Sean\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>D:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>

</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>
(This post was last modified: 2012-07-26 04:38 by JoeBlow42069.)
find quote
serzh82saratov Offline
Junior Member
Posts: 12
Joined: Jul 2012
Reputation: 0
Post: #801
A new method - One for all

Only one player name in context menu (for each player), one path, and one prepend rules in playercorefactory.xml for BDMV, ISO, IFO and other file.
You can add any number of players and leave.


Launcher.cmd
________________________________________________________________________________​________________________________
________________________________________________________________________________​________________________________

@echo off

if %2==TotalMedia goto TotalMedia
if %2==KMPlayer goto KMPlayer
if %2==CyberLink goto CyberLink
if %2==System goto System

goto end

rem #########################################################################

:TotalMedia

set ext=%1
set ext=%ext:"=%
set ext=%ext:~-4%
if %ext%==.iso goto iso
if %ext%==.ISO goto iso
if %ext%==.ifo goto dvd
if %ext%==.IFO goto dvd
set pth=%1
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe" %pth%
goto end
:iso
"C:\Program Files\DAEMON Tools Lite\DTLite.exe" -mount scsi, 0, %1
ping -n 2 -w 1100 127.0.0.1 > nul
"C:\Program Files\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe" v:\
Set ProcessName=uTotalMediaTheatre5.exe
:search
TaskList /FI "ImageName EQ %ProcessName%" | Find /I "%ProcessName%"
If %ErrorLevel%==0 ping localhost&&goto :search
"C:\Program Files\DAEMON Tools Lite\DTLite.exe" -unmount scsi, 0
goto end
:dvd
set pth=%1
set pth=%pth:VIDEO_TS.IFO=%
"C:\Program Files\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe" %pth%
goto end

rem #########################################################################

:KMPlayer

set ext=%1
set ext=%ext:"=%
set ext=%ext:~-4%
if %ext%==.iso goto iso
if %ext%==.ISO goto iso
"C:\Program Files\KMPlayer\kmplayer.exe" %1
goto end
:iso
"C:\Program Files\DAEMON Tools Lite\DTLite.exe" -mount scsi, 0, %1
ping -n 2 -w 1100 127.0.0.1 > nul
"C:\Program Files\KMPlayer\kmplayer.exe" V:\BDMV\index.bdmv
Set ProcessName=kmplayer.exe
:search
TaskList /FI "ImageName EQ %ProcessName%" | Find /I "%ProcessName%"
If %ErrorLevel%==0 ping localhost&&goto :search
"C:\Program Files\DAEMON Tools Lite\DTLite.exe" -unmount scsi, 0
goto end

rem #########################################################################

:CyberLink

set ext=%1
set ext=%ext:"=%
set ext=%ext:~-4%
if %ext%==.iso goto iso
if %ext%==.ISO goto iso
if %ext%==bdmv goto disk
if %ext%==BDMV goto disk
if %ext%==.ifo goto disk
if %ext%==.IFO goto disk
"C:\Program Files\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe" %1
goto end
:iso
"C:\Program Files\DAEMON Tools Lite\DTLite.exe" -mount scsi, 0, %1
ping -n 2 -w 1100 127.0.0.1 > nul
"C:\Program Files\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe" AUTOPLAY BD V:
Set ProcessName=PowerDVD.exe
:search
TaskList /FI "ImageName EQ %ProcessName%" | Find /I "%ProcessName%"
If %ErrorLevel%==0 ping localhost&&goto :search
"C:\Program Files\DAEMON Tools Lite\DTLite.exe" -unmount scsi, 0
goto end
:disk
"C:\Program Files\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe" AUTOPLAY BD %1
goto end

rem #########################################################################

:System

%1
goto end

rem #########################################################################

:end
exit
________________________________________________________________________________​________________________________
________________________________________________________________________________​________________________________

ISO programm DAEMON Tools Lite. Drive letter "V", and Drive type "SCSI"

You can also add from advanced launcher" if compile, or create shortcut for Launcher.cmd .
example - "%rom%" Dendy
(do not forget space before 2 parametr)
________________________________________________________________________________​________________________________
________________________________________________________________________________​________________________________

Example playercorefactory
________________________________________________________________________________​________________________________
________________________________________________________________________________​________________________________

<player name="TotalMedia Theatre 5" type="ExternalPlayer" audio="false" video="true">
<filename>D:\AutoIt\players\XBMC\Launcher.cmd</filename>
<args>"{1}" TotalMedia</args>
<hideconsole>true</hideconsole>
<playcountminimumtime>3600</playcountminimumtime>
</player>

<player name="PowerDVD12" type="ExternalPlayer" audio="false" video="true">
<filename>D:\AutoIt\players\XBMC\Launcher.cmd</filename>
<args>"{1}" CyberLink</args>
<hideconsole>true</hideconsole>
<playcountminimumtime>3600</playcountminimumtime>
</player>

<player name="KMPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>D:\AutoIt\players\XBMC\Launcher.cmd</filename>
<args>"{1}" KMPlayer</args>
<hideconsole>true</hideconsole>
<playcountminimumtime>3600</playcountminimumtime>
</player>

<player name="System" type="ExternalPlayer" audio="false" video="true">
<filename>D:\AutoIt\players\XBMC\Launcher.cmd</filename>
<args>"{1}" System</args>
<hideconsole>true</hideconsole>
</player>
________________________________________________________________________________​________________________________
________________________________________________________________________________​________________________________

do not forget space before 2 parametr <args>"{1}" KMPlayer</args>
2 is a parameter starts with the right player coincide with the blue from above in a Launcher.cmd,
and then he determines the extension, and acts

example rules <rule filetypes="bdmv|iso" player="TotalMedia Theatre 5"/>
or prescribe key in Keyboard.xml example <key>PlayWith(TotalMedia Theatre 5)</key> better in section <MyVideoLibrary>,
to where the button does not have to take other actions

examples on AutoHotkey in my original theme

Written with the help of PROMT, I dont speak English. I am Russian.
(This post was last modified: 2012-07-27 14:58 by serzh82saratov.)
find quote
bluray Offline
Posting Freak
Posts: 8,315
Joined: May 2011
Reputation: 145
Post: #802
@JoeBlow- make sure you do these-

1. save playercorefactory, playdisc, playbdmv and playiso files in AppData\Roaming\XBMC\userdata folder
2. replace TMT5 directory in .bat files with this- D:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe

It should launch TMT5 afterward......

>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
serzh82saratov Offline
Junior Member
Posts: 12
Joined: Jul 2012
Reputation: 0
Post: #803
One batch, for uTotalMediaTheatre5 (ver. 5.0.1.114) all formats

Code:
@echo off
set ext=%1
set ext=%ext:"=%
set ext=%ext:~-4%
if %ext%==.iso goto iso
if %ext%==.ISO goto iso
if %ext%==.ifo goto dvd
if %ext%==.IFO goto dvd
set pth=%1
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe" %pth%
goto end
:iso
"C:\Program Files\DAEMON Tools Lite\DTLite.exe" -mount scsi, 0, %1
ping -n 2 -w 1100 127.0.0.1 > nul
"C:\Program Files\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe" v:\
Set ProcessName=uTotalMediaTheatre5.exe
:search
TaskList /FI "ImageName EQ %ProcessName%" | Find /I "%ProcessName%"
If %ErrorLevel%==0 ping localhost&&goto :search
"C:\Program Files\DAEMON Tools Lite\DTLite.exe" -unmount scsi, 0
goto end
:dvd
set pth=%1
set pth=%pth:VIDEO_TS.IFO=%
"C:\Program Files\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe" %pth%
goto end
:end
exit

Written with the help of PROMT, I dont speak English. I am Russian.
(This post was last modified: 2012-07-27 17:12 by serzh82saratov.)
find quote
JoeBlow42069 Offline
Senior Member
Posts: 116
Joined: Jul 2011
Reputation: 0
Post: #804
(2012-07-26 16:51)bluray Wrote:  @JoeBlow- make sure you do these-

1. save playercorefactory, playdisc, playbdmv and playiso files in AppData\Roaming\XBMC\userdata folder
2. replace TMT5 directory in .bat files with this- D:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe

It should launch TMT5 afterward......

I right clicked the .bat files and selected edit to change: playdisc, playbdmv and playiso file paths for TMT5, is this correct? When I attempt to play a Blu-Ray from XBMC, i select play as Universal Player, but then get a message saying, "External Player Activated", and nothing happens. Any suggestions why this still isn't working? Also, since I am playing BDMV folders and not ISO's can i delete virtual clone drive, do I need this for any reason?
(This post was last modified: 2012-07-26 21:35 by JoeBlow42069.)
find quote
bluray Offline
Posting Freak
Posts: 8,315
Joined: May 2011
Reputation: 145
Post: #805
(2012-07-26 19:54)JoeBlow42069 Wrote:  
(2012-07-26 16:51)bluray Wrote:  @JoeBlow- make sure you do these-

1. save playercorefactory, playdisc, playbdmv and playiso files in AppData\Roaming\XBMC\userdata folder
2. replace TMT5 directory in .bat files with this- D:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe

It should launch TMT5 afterward......

I right clicked the .bat files and selected edit to change: playdisc, playbdmv and playiso file paths for TMT5, is this correct? When I attempt to play a Blu-Ray from XBMC, i select play as Universal Player, but then get a message saying, "External Player Activated", and nothing happens. Any suggestions why this still isn't working? Also, since I am playing BDMV folders and not ISO's can i delete virtual clone drive, do I need this for any reason?
You might have to navigate BDMV folder to index.bdmv file to playback the movie....

If you wish, you can delete the other codes and files other then bdmv codes and file.....

>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-07-26 23:08 by bluray.)
find quote
JoeBlow42069 Offline
Senior Member
Posts: 116
Joined: Jul 2011
Reputation: 0
Post: #806
(2012-07-26 23:04)bluray Wrote:  
(2012-07-26 19:54)JoeBlow42069 Wrote:  
(2012-07-26 16:51)bluray Wrote:  @JoeBlow- make sure you do these-

1. save playercorefactory, playdisc, playbdmv and playiso files in AppData\Roaming\XBMC\userdata folder
2. replace TMT5 directory in .bat files with this- D:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe

It should launch TMT5 afterward......

I right clicked the .bat files and selected edit to change: playdisc, playbdmv and playiso file paths for TMT5, is this correct? When I attempt to play a Blu-Ray from XBMC, i select play as Universal Player, but then get a message saying, "External Player Activated", and nothing happens. Any suggestions why this still isn't working? Also, since I am playing BDMV folders and not ISO's can i delete virtual clone drive, do I need this for any reason?
You might have to navigate BDMV folder to index.bdmv file to playback the movie....

If you wish, you can delete the other codes and files other then bdmv codes and file.....

I'm not sure exactly what I'm suppose to do. I'm a newb at this, can you please be very specific. Where is the index.bdmv file located? I have 3 BDMV folders on separate drives, what am I suppose to do with them? Ty for all the help, it's greatly appreciatedSmile
find quote
bluray Offline
Posting Freak
Posts: 8,315
Joined: May 2011
Reputation: 145
Post: #807
(2012-07-26 23:15)JoeBlow42069 Wrote:  
(2012-07-26 23:04)bluray Wrote:  
(2012-07-26 19:54)JoeBlow42069 Wrote:  I right clicked the .bat files and selected edit to change: playdisc, playbdmv and playiso file paths for TMT5, is this correct? When I attempt to play a Blu-Ray from XBMC, i select play as Universal Player, but then get a message saying, "External Player Activated", and nothing happens. Any suggestions why this still isn't working? Also, since I am playing BDMV folders and not ISO's can i delete virtual clone drive, do I need this for any reason?
You might have to navigate BDMV folder to index.bdmv file to playback the movie....

If you wish, you can delete the other codes and files other then bdmv codes and file.....

I'm not sure exactly what I'm suppose to do. I'm a newb at this, can you please be very specific. Where is the index.bdmv file located? I have 3 BDMV folders on separate drives, what am I suppose to do with them? Ty for all the help, it's greatly appreciatedSmile
You can simply click Videos/Files/BDMV folder directory within XBMC UI, and navigate within BDMV folder to index.bnmv........

>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
JoeBlow42069 Offline
Senior Member
Posts: 116
Joined: Jul 2011
Reputation: 0
Post: #808
(2012-07-26 23:35)bluray Wrote:  
(2012-07-26 23:15)JoeBlow42069 Wrote:  
(2012-07-26 23:04)bluray Wrote:  You might have to navigate BDMV folder to index.bdmv file to playback the movie....

If you wish, you can delete the other codes and files other then bdmv codes and file.....

I'm not sure exactly what I'm suppose to do. I'm a newb at this, can you please be very specific. Where is the index.bdmv file located? I have 3 BDMV folders on separate drives, what am I suppose to do with them? Ty for all the help, it's greatly appreciatedSmile
You can simply click Videos/Files/BDMV folder directory within XBMC UI, and navigate within BDMV folder to index.bnmv........

I tried launching a movie from index.bdmv, but still get the same message "external player active, click ok to when playback has ended". After I get this message TMT5 does not launch, nothing happens.
find quote
bluray Offline
Posting Freak
Posts: 8,315
Joined: May 2011
Reputation: 145
Post: #809
(2012-07-26 23:45)JoeBlow42069 Wrote:  I tried launching a movie from index.bdmv, but still get the same message "external player active, click ok to when playback has ended". After I get this message TMT5 does not launch, nothing happens.
You might want to disable Autoplay in Windows 7 as shown below, and you can reboot your HTPC to start playback index.bdmv file fresh....

[Image: 35177gg.jpg]

>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
JoeBlow42069 Offline
Senior Member
Posts: 116
Joined: Jul 2011
Reputation: 0
Post: #810
Still isn't working. Do my file paths look correct in Player Core Factory and PlayBDMV.bat files? Any other suggestions?

PlayBDMV.bat:

@echo off
rem you can place your PlayBDMV file in \Roaming\XBMC\userdata\
set pth=%1
set pth=%pth:BDMV\index.bdmv=%
"D:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" %pth% exit

Player Core Factory:

<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Sean\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\Sean\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\Sean\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>D:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>

</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>
find quote
Post Reply