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 - sonic00 - 2012-12-31 (2012-12-31, 21:04)acejh1987 Wrote: Does it work without using the submenu?Not every iso file has the "Play from here" subemenu, don't know why. If I click directly on the movie, I get the new context menu, where I have to choose between the 3 things. If I choose "Show bluray menus", XBMC sends the right path to VCD and it mounts the movie correctly, after that PowerDVD starts - just like it should. Thanks for your help. RE: Another External Player Code, but Very Simple to Setup - acejh1987 - 2012-12-31 (2012-12-31, 21:43)sonic00 Wrote:(2012-12-31, 21:04)acejh1987 Wrote: Does it work without using the submenu?Not every iso file has the "Play from here" subemenu, don't know why. If I click directly on the movie, I get the new context menu, where I have to choose between the 3 things. If I choose "Show bluray menus", XBMC sends the right path to VCD and it mounts the movie correctly, after that PowerDVD starts - just like it should. You don't have to choose 'show menus' it should still work whatever you choose (you can pick any title from the 3 options) as long as you add mpls to the rule. The new context menu has been added to Frodo, since it now has support for some BD menus. RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-12-31 (2012-12-31, 21:04)acejh1987 Wrote:Thank you for contributes to this thread.....you're a good man!(2012-12-31, 20:22)bluray Wrote:(2012-12-31, 11:57)acejh1987 Wrote: Or like I said before, just add BDMV/MPLS to the universal player file type rule and MPC will play folders without a bat file.I know, and I tried it all a long time ago. I found certain codes works better on my HTPC's, and I stick to it and I suggested it in this thread. I preferred the bat file route..... RE: Another External Player Code, but Very Simple to Setup - sonic00 - 2013-01-01 (2012-12-31, 22:45)acejh1987 Wrote: You don't have to choose 'show menus' it should still work whatever you choose (you can pick any title from the 3 options) as long as you add mpls to the rule.My mistake. You're right. In Frodo RC2 it works with every option. RE: Another External Player Code, but Very Simple to Setup - andcbii - 2013-01-01 (2012-12-30, 22:21)bluray Wrote: @andcbii- Here are my files: Code: <playercorefactory> Code: @echo off Code: @echo off Code: @echo off RE: Another External Player Code, but Very Simple to Setup - bluray - 2013-01-01 @andcbii- I notice you have PlayBDMV.bat file, but you don't have rule for it. I added the rule for PlayBDMV.bat, and I made the rules simpler... <playercorefactory> <players> <player name="ISO_Player" type="ExternalPlayer" audio="false" video="true"> <filename>C:\Users\Andrew\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\Andrew\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\Andrew\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename> <args>"{1}"</args> <hidexbmc>false</hidexbmc> <hideconsole>true</hideconsole> <warpcursor>none</warpcursor> </player> </players> <rules action="prepend"> <!-- Bluray ISO --> rule filetypes="iso" player="ISO_Player"/> <!-- Bluray BDMV --> <rule filetypes="bdmv" player="BDMV_Player"/> <!-- Bluray Disc --> <rule filetypes="bd" player="Disc_Player"/> </rules> </playercorefactory> If you are looking for tips to setup MCE remote, you can check out this guide- Customised MCE RE: Another External Player Code, but Very Simple to Setup - jespermart - 2013-01-02 (2012-12-31, 12:44)acejh1987 Wrote:(2012-12-31, 07:52)beanie763 Wrote: At this point to get the external player to work for ISO images I had to change my video default select action from 'play' to 'choose' so that I can pick the 'Play using' option and choose one of the external player names out of a list. At least for Bluray ISO images the default in the 'Play using' list is ISO_Player. On top of that it still comes up with a popup menu to select either a title or the blu-ray menu rather than directly launching TMT5. My Blu-ray drive playback about the same too. I end up picking 'blu-ray menu' from the popup list to continue launching my external program. I would like to have the fix which also includes the BDMV folder playback. RE: Another External Player Code, but Very Simple to Setup - acejh1987 - 2013-01-02 (2013-01-02, 14:00)jespermart Wrote: I would like to have the fix which also includes the BDMV folder playback. First in playercorefactory.xml you will only need one player for ISO and BDMV. So get rid of one of the players in playercorefactory.xml I will assume you keep "ISO_Player" Use this rule for the player Code: <rule filetypes="iso|bdmv|mpls" player="ISO_Player"/> Assuming you are using TMT5 for playback and VCD for mounting, use this batch file for PlayISO.bat Code: Set file=%1 This batch file will check what file XBMC is sending (Either ISO, BDMV or MPLS) The file type will then determine what part of the bat file it uses. Make sure the TMT and VCD program paths are correct and make sure the virtual drive letter is correct on this line Code: "C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe" D: You can select any option on the Frodo popup menu, it will still work for ISO and BDMV folders. Let me know if it works. MPC will need a different batch file. RE: Another External Player Code, but Very Simple to Setup - jespermart - 2013-01-03 Thanks for your help, bit it didn't fix my problems. I used your PlayISO.bat changing the path to VCD to it's driveletter F: Below are my playercore factory file <playercorefactory> <players> <player name="ISO_Player" type="ExternalPlayer" audio="false" video="true"> <!-- You can place your PlayISO file anywhere --> <filename>%AppData%\XBMC\userdata\PlayISO.bat</filename> <args>"{1}" /fullscreen</args> <hidexbmc>true</hidexbmc> <hideconsole>false</hideconsole> <warpcursor>none</warpcursor> </player> </players> <rules action="prepend"> <rule filetypes="iso|bdmv|mpls" player="ISO_Player"/> </rules> </playercorefactory> I have also a XBMC log file but[/code] i dont know hot to post it in this forum But thanks for trying to help RE: Another External Player Code, but Very Simple to Setup - acejh1987 - 2013-01-03 What problem is it you are having? Try posting the log at www.pastebin.com Also on this line in playercorefactory.xml Code: <filename>%AppData%\XBMC\userdata\PlayISO.bat</filename> Try putting the full path and see if it makes any difference. Code: <filename>C:\Users\YourUsername\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename> RE: Another External Player Code, but Very Simple to Setup - mrh335 - 2013-01-03 As of last night I have been able to launch TMT5 from XBMC Frodo RC2 using the extra context menu and select Bluray menus from the option list and this has consistently worked. The one issue I need to work out is the unmounting of the ISO. I am running Windows 8 and have my ISO files stored on another Windows machine on my network. I could not get VCD to work because of this and have used Daemon tools. 1. How do you unmount ISO files automatically after done watching them? For reference, the following command is successful to mount the ISO when the movie is selected from XBMC, but I am unsure of the unmount command. "C:\Program Files (x86)\DAEMON Tools Lite\DTLite.exe" -mount dt, 0, %1 I assume the proper unmount command would be: "C:\Program Files (x86)\DAEMON Tools Lite\DTLite.exe" -unmount dt, 0 and would like is someone could confirm. My playiso.bat file would then have the following lines: "C:\Program Files (x86)\DAEMON Tools Lite\DTLite.exe" -mount dt, 0, %1 "C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe" D: "C:\Program Files (x86)\DAEMON Tools Lite\DTLite.exe" -unmount dt, 0 The last line is the one I haven't tried yet to automatically unmount the ISO when I exit TMT5. 2. How to you setup automatic refresh rate using TMT5? Question is in regard to refresh rates. I thought XBMC had properly switched rates when watching ISO files using the internal player. When using TMT5, it seems the video output to my preamp is at 1080/30p which happens to be the setting under the Nvidia control panel. I have a Asus GT430 card and installed the latest Nvidia drivers last night. I have read that TMT5 can switch refresh rates to match the source material, but cannot find any settings for this. The only option I found last night was to manually go into the Nvidia control panel and change the output refresh rate from the computer. This seems ridiculous and cumbersome if playing content with varying refresh rates. Is there an easier way to have the refresh rate auto switch to match the source material? Is the setting a TMT5 issue or a Nvidia issue? I assume if XBMC was properly switching that the issue is TMT5. 3. Is there a way to use the XBMC internal player to play DVD iso files and TMT5 to play bluray ISO files? RE: Another External Player Code, but Very Simple to Setup - acejh1987 - 2013-01-03 1. Yes, your unmount code should work fine. 2. Sorry not sure about this. 3. Can you post your playercorefactory.xml - How do you name your DVD/Blu-ray ISO files? Do you add DVD or Bluray to the filename at all? RE: Another External Player Code, but Very Simple to Setup - mrh335 - 2013-01-04 (2013-01-03, 21:23)acejh1987 Wrote: 1. Yes, your unmount code should work fine. Thanks for the reply. I will post the xml file later tonight. I currently do not name the ISO files differently for bluray or DVD. They just use the title of the movie, but this could be easily changed as well. If anyone else can help with the second question, I would appreciate it. RE: Another External Player Code, but Very Simple to Setup - acejh1987 - 2013-01-04 (2013-01-04, 00:31)mrh335 Wrote: Thanks for the reply. I will post the xml file later tonight. I currently do not name the ISO files differently for bluray or DVD. They just use the title of the movie, but this could be easily changed as well. I don't have an Nvidia card, but there should be an option in TMT5 settings to enable auto refresh rate switching, I think its under playback. This was added in version 5.2.1.119 and later. Edit - Actually if I remember correctly TMT5 built in refresh rate switching may be disabled with Nvidia cards, I don't think it supports them. Hopefully someone can offer you a solution. RE: Another External Player Code, but Very Simple to Setup - mrh335 - 2013-01-04 (2013-01-03, 21:23)acejh1987 Wrote: 1. Yes, your unmount code should work fine. the playercorefactory.xml file as follows: <playercorefactory> <players> <player name="ISO_Player" type="ExternalPlayer" audio="false" video="true"> <filename>C:\Users\markr_000\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename> <args>"{1}"</args> <hidexbmc>false</hidexbmc> </player> <player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true"> <filename>C:\Users\markr_000\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename> <args>"{1}"</args> <hidexbmc>false</hidexbmc> </player> <player name="Disc_Player" type="ExternalPlayer" audio="false" video="true"> <filename>C:\Users\markr_000\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename> <args>"{1}"</args> <hidexbmc>false</hidexbmc> </player> <player name="Universal_Player" type="ExternalPlayer" audio="false" video="true"> <filename>C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe</filename> <args>"{1}"</args> <hidexbmc>false</hidexbmc> </player> </players> <rules action="prepend"> <rule filetypes="bd|ifo" player="Disc_player"/> <rule filetypes="iso|bdmv|mpls" player="ISO_Player"/> </rules> </playercorefactory> |