Another External Player Code, but Very Simple to Setup - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59) +---- Thread: Another External Player Code, but Very Simple to Setup (/showthread.php?tid=116724) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-07-22 (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.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.... RE: Another External Player Code, but Very Simple to Setup - 8000HD - 2012-07-26 Thanks for your hekp Bluray, the eshell saved me alot of complaining from my gf 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) RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-07-26 (2012-07-26, 02:07)8000HD Wrote: Thanks for your hekp Bluray, the eshell saved me alot of complaining from my gf 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.... RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-07-26 Eden is already released- Current Stable Release: 11.0 “Eden”..... RE: Another External Player Code, but Very Simple to Setup - JoeBlow42069 - 2012-07-26 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> RE: Another External Player Code, but Very Simple to Setup - serzh82saratov - 2012-07-26 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 earch TaskList /FI "ImageName EQ %ProcessName%" | Find /I "%ProcessName%" If %ErrorLevel%==0 ping localhost&&goto earch "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 earch TaskList /FI "ImageName EQ %ProcessName%" | Find /I "%ProcessName%" If %ErrorLevel%==0 ping localhost&&goto earch "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 earch TaskList /FI "ImageName EQ %ProcessName%" | Find /I "%ProcessName%" If %ErrorLevel%==0 ping localhost&&goto earch "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 RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-07-26 @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...... RE: Another External Player Code, but Very Simple to Setup - serzh82saratov - 2012-07-26 One batch, for uTotalMediaTheatre5 (ver. 5.0.1.114) all formats Code: @echo off RE: Another External Player Code, but Very Simple to Setup - JoeBlow42069 - 2012-07-26 (2012-07-26, 16:51)bluray Wrote: @JoeBlow- make sure you do these- 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? RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-07-26 (2012-07-26, 19:54)JoeBlow42069 Wrote:You might have to navigate BDMV folder to index.bdmv file to playback the movie....(2012-07-26, 16:51)bluray Wrote: @JoeBlow- make sure you do these- If you wish, you can delete the other codes and files other then bdmv codes and file..... RE: Another External Player Code, but Very Simple to Setup - JoeBlow42069 - 2012-07-26 (2012-07-26, 23:04)bluray Wrote:(2012-07-26, 19:54)JoeBlow42069 Wrote:You might have to navigate BDMV folder to index.bdmv file to playback the movie....(2012-07-26, 16:51)bluray Wrote: @JoeBlow- make sure you do these- 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 appreciated RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-07-26 (2012-07-26, 23:15)JoeBlow42069 Wrote:You can simply click Videos/Files/BDMV folder directory within XBMC UI, and navigate within BDMV folder to index.bnmv........(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.... RE: Another External Player Code, but Very Simple to Setup - JoeBlow42069 - 2012-07-26 (2012-07-26, 23:35)bluray Wrote:(2012-07-26, 23:15)JoeBlow42069 Wrote:You can simply click Videos/Files/BDMV folder directory within XBMC UI, and navigate within BDMV folder to index.bnmv........(2012-07-26, 23:04)bluray Wrote: You might have to navigate BDMV folder to index.bdmv file to playback the movie.... 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. RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-07-27 (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.... RE: Another External Player Code, but Very Simple to Setup - JoeBlow42069 - 2012-07-27 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> |