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 - bluray - 2012-07-27 18:14

@Serzh,
It would be very helpful to others if you can create .xml and .cmd files to playback bluray .bdmv, .iso, .mkv and .m2ts using TMT5. You can upload the working .xml and .cmd files to SendSpace and post the link in here.....

If someone want to try your codes, they can download it from SendSpace.....
[align=right]
(2012-07-27 05:26)JoeBlow42069 Wrote:  double clicking playbdmv.bat does not run TMT5, instead i get a prompt to "run" the program, i click run and nothing happens. Double clicking playercorefactory.xml does launch the code.
That is your problem. When you double click playbdmv.bat it should launch TMT5 automatically.....

Here is the correct codes for PlayBDMV.bat-

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


RE: Another External Player Code, but Very Simple to Setup - serzh82saratov - 2012-07-27 18:30

Quote:@Serzh,
It would be very helpful to others if you can create .xml and .cmd files to playback bluray .bdmv, .iso, .mkv and .m2ts using TMT5. You can upload the working .xml and .cmd files to SendSpace and post the link in here.....

If someone want to try your codes, they can download it from SendSpace.....
I have already answered this question in Post: #817
It's really very unclear what for download cmd files, if you can just paste in notepad


RE: Another External Player Code, but Very Simple to Setup - JoeBlow42069 - 2012-07-27 18:37

This is what my PlayBDMV.bat has:

@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

I deleted line #2 and saved, but still nothing happens when I double click.


RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-07-27 18:43

(2012-07-27 18:37)JoeBlow42069 Wrote:  This is what my PlayBDMV.bat has:

@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

I deleted line #2 and saved, but still nothing happens when I double click.
Is this "D:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" the correct location of your TMT5 exe? Is PlayBDMV.bat properties show playbdmv.bat in it?


RE: Another External Player Code, but Very Simple to Setup - serzh82saratov - 2012-07-27 18:47

(2012-07-27 18:37)JoeBlow42069 Wrote:  This is what my PlayBDMV.bat has:

@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

I deleted line #2 and saved, but still nothing happens when I double click.
just run of such PlayBDMV.bat work?
Code:
@echo off
"D:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe"
exit
are you sure that the path is correct?


RE: Another External Player Code, but Very Simple to Setup - JoeBlow42069 - 2012-07-27 19:38

Oops, my path was not correct. I had Total Media Theater 5 instead of TotalMedia Theatre 5. TMT5 is launching now, but since I also have it set up to launch from Windows Media Center, it is launching as if it were from WMC. I hope this makes sense, but the screen that launches is TMT5, but it is integrated with WMC. TMT5 is not launching as it normally would if I were to open it from outside of WMC. How can I enable TMT5 to launch from XBMC without the WMC integration? Also, I have 2 monitors, and TMT5 is not launching from my main monitor, it opens on my 2nd monitor with XBMC on the main. Any suggestions? Thanks again for staying patient with me and the continued supportSmile


RE: Another External Player Code, but Very Simple to Setup - serzh82saratov - 2012-07-27 19:54

To Total Media Theater 5 where XBMC was put into, the autorun this file

source code on AutoHotkey
Code:
#NoTrayIcon
#SingleInstance force
Loop
{
Process, wait, uTotalMediaTheatre5.exe
WinGetPos , xpos, ypos, Width, Height, ahk_class XBMC
WinWait, TotalMedia Theatre 5
WinActivate, TotalMedia Theatre 5
WinMove, TotalMedia Theatre 5, , xpos, ypos, Width, Height
Sleep, 500
WinActivate, TotalMedia Theatre 5
WinKill, ActiveMovie Window
WinKill, ahk_class OVERLAYWnd
WinMaximize, TotalMedia Theatre 5
WinActivate, TotalMedia Theatre 5
Process, WaitClose, uTotalMediaTheatre5.exe
}
Return



RE: Another External Player Code, but Very Simple to Setup - JoeBlow42069 - 2012-07-27 20:02

(2012-07-27 19:54)serzh82saratov Wrote:  To Total Media Theater 5 where XBMC was put into, the autorun this file

source code on AutoHotkey
Code:
#NoTrayIcon
#SingleInstance force
Loop
{
Process, wait, uTotalMediaTheatre5.exe
WinGetPos , xpos, ypos, Width, Height, ahk_class XBMC
WinWait, TotalMedia Theatre 5
WinActivate, TotalMedia Theatre 5
WinMove, TotalMedia Theatre 5, , xpos, ypos, Width, Height
Sleep, 500
WinActivate, TotalMedia Theatre 5
WinKill, ActiveMovie Window
WinKill, ahk_class OVERLAYWnd
WinMaximize, TotalMedia Theatre 5
WinActivate, TotalMedia Theatre 5
Process, WaitClose, uTotalMediaTheatre5.exe
}
Return

I am sorry, I don't quite understand what you are saying. Can you please re-phrase your instructions and be very specific with what I need to do, ty.


RE: Another External Player Code, but Very Simple to Setup - serzh82saratov - 2012-07-27 20:12

for uTotalMediaTheatre5.exe
Now just run this file, and test where TMT running

afterwards to put in startup

understand?


RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-07-27 20:16

(2012-07-27 19:38)JoeBlow42069 Wrote:  Oops, my path was not correct.
That is what I thought...

(2012-07-27 19:38)JoeBlow42069 Wrote:  I had Total Media Theater 5 instead of TotalMedia Theatre 5. TMT5 is launching now, but since I also have it set up to launch from Windows Media Center, it is launching as if it were from WMC.
If TMT5 is launching from "D:\Program Files (x86)\ArcSoft\TotalMedia Theatre\uTotalMediaTheatre5.exe", it should having anything to do with 7MCE. If you don't like the uMCEPlayer5.exe UI, you can use uTotalMediaTheatre5.exe UI instead......

You're almost there.....