![]() |
|
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) 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 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 |
- bluray - 2012-01-26 03:30 edd247 Wrote:Hi bluray, thank you for all your info and resources.Can you show me your PlayDisc.bat and Playercorefactory.xml codes? - bluray - 2012-01-26 03:41 archedrapier Wrote:hello i want to have the built-in dvdplayer as my default player and i want to be able to right-click and press "play using..." and use mpc-hc only for those that i chose. They will not always be a certain file type or name. So how do i go about doing that in the playercorefactory.xml file?You can used these codes: Note- you can place your PlayDisc.bat and Playercorefactory.xml files in \Roaming\XBMC\userdata\ PlayDisc.bat @echo off rem if your DVD-ROM drive is not E you need to enter the correct drive "C:\Program Files\Media Player Classic - Home Cinema\mpc-hc64.exe" E: Playercorectory.xml <playercorefactory> </player> <player name="Disc_Player" type="ExternalPlayer" audio="false" video="true"> [COLOR="green"]<!-- You need to change the path below to match PlayDisc path on your HTPC --> <filename>C:\Users\Dell\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename> <args>"{1}" /fullscreen</args> <hidexbmc>true</hidexbmc> <hideconsole>true</hideconsole> <warpcursor>none</warpcursor> </player> </players> <rules action="prepend"> <rule name="Blu-Ray" protocol="bd" player="Disc_Player"/>> </rules> </playercorefactory>[/COLOR] - Mrbrooks - 2012-01-26 05:12 Hi bluray, I have managed to open both powerdvd11 and mpc from within xbmc, the problem is that they both open, but they wont play the file i started the play with in xbmc, they just dont play anything... So what might i be missing? Thanks - raidflex - 2012-01-26 05:19 I have setup successfully your external playback which works as intended but I have one issue. The issue is I have TV content that is .mkv and movies that are also .mkv. All of the movies include DTS-HD MA audio and I would like for only those to be played with the external player (TMT5). All of the TV mkv's are using dts only or lower. Is there a way that I can specify to only have the mkv's with DTS-HD MA audio be played with TMT5 and everything else with XBMC? Thanks for any help! - bluray - 2012-01-26 06:02 Mrbrooks Wrote:Hi bluray,Can I see your playercorefactory codes? - Mrbrooks - 2012-01-26 06:15 bluray Wrote:Can I see your playercorefactory codes? Thanks i am trying to play bluray directories mainly... tested with files that open directly without problem.... <playercorefactory> <players> <player name="ISO_Player" type="ExternalPlayer" audio="false" video="true"> <filename>C:\Users\Dell\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename> <args>"{1}" /fullscreen</args> <hidexbmc>true</hidexbmc> <hideconsole>true</hideconsole> <warpcursor>none</warpcursor> </player> <player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true"> <filename>C:\Users\Core\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename> <args>"{1}" /fullscreen</args> <hidexbmc>true</hidexbmc> <hideconsole>true</hideconsole> <warpcursor>none</warpcursor> </player> <player name="Disc_Player" type="ExternalPlayer" audio="false" video="true"> <filename>C:\Users\Dell\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename> <args>"{1}" /fullscreen</args> <hidexbmc>true</hidexbmc> <hideconsole>true</hideconsole> <warpcursor>none</warpcursor> </player> <player name="Universal_Player" type="ExternalPlayer" audio="false" video="true"> <filename>C:\%ProgramFiles(x86)%\CyberLink\PowerDVD11\PDVDLaunchPolicy.exe</filename> <args>"{1}" /fullscreen</args> <hidexbmc>true</hidexbmc> <hideconsole>true</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 MKV --> <rule filename=".*mkv.*" player="Universal_Player"/> <!-- Bluray M2TS --> <rule filename=".*m2ts.*" player="Universal_Player"/> <!-- Bluray Disc --> <rule protocols="bd|dvd" player="BDMV_Player"/> </rules> </playercorefactory> @echo off rem you can place your PlayBDMV file in \Roaming\XBMC\userdata\ set pth=%1 set pth=%pth:BDMV\index.bdmv=% "%ProgramFiles(x86)%\CyberLink\PowerDVD11\PDVDLaunchPolicy.exe" %pth% exit - bluray - 2012-01-26 06:32 raidflex Wrote:I have setup successfully your external playback which works as intended but I have one issue.I'm glad that it work out for you, and congratulation! ![]() raidflex Wrote:The issue is I have TV content that is .mkv and movies that are also .mkv. All of the movies include DTS-HD MA audio and I would like for only those to be played with the external player (TMT5). All of the TV mkv's are using dts only or lower.Yes, you can. You can try the playercorefactory codes and rules below: 1. Download Playercorefactory.xml and PlayHDaudio.bat 2. Save both files in AppData\Roaming\XBMC\userdata folder 3. Change this path in Playercorefactory codes to match the path of PlayHDaudio on your HTPC- (C:\Users\Dell\AppData\Roaming\XBMC\userdata\PlayHDaudio.bat) 4. Name your movie in this format "title_DTS-HD.mkv" or "title_TrueHD.mkv" 5. Launch XBMC and you try the DTS-HD or TrueHD MKV movie I tried it on my HTPC and it worked fine. I hope that it will work on your HTPC too! - bluray - 2012-01-26 06:54 Mrbrooks Wrote:Thanks i am trying to play bluray directories mainly... tested with files that open directly without problem....Is your HTPC user Dell and Core? Why are there % on both sides of "ProgramFiles(x86)"? -If you saved all the bat and xml files in roaming/userdata folder and changed to the correct paths, it should work. If it doesn't work, you can download this PlayUniversal.bat and change the Universal_Player path in Playercorefactory. - edd247 - 2012-01-26 19:35 bluray Wrote:edd247 Wrote:Hi bluray, thank you for all your info and resources.Can you show me your PlayDisc.bat and Playercorefactory.xml codes? here are my PlayDisc.bat and Playercorefactory.xml codes: Playercorefactory.xml: <playercorefactory> <players> <player name="ISO_Player" type="ExternalPlayer" audio="false" video="true"> <filename>C:\Users\Ed\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename> <args>"{1}" /fullscreen</args> <hidexbmc>true</hidexbmc> <hideconsole>true</hideconsole> <warpcursor>none</warpcursor> </player> <player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true"> <filename>C:\Users\Ed\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename> <args>"{1}" /fullscreen</args> <hidexbmc>true</hidexbmc> <hideconsole>true</hideconsole> <warpcursor>none</warpcursor> </player> <player name="Disc_Player" type="ExternalPlayer" audio="false" video="true"> <filename>C:\Users\Ed\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename> <args>"{1}" /fullscreen</args> <hidexbmc>true</hidexbmc> <hideconsole>true</hideconsole> <warpcursor>none</warpcursor> </player> <player name="Universal_Player" type="ExternalPlayer" audio="false" video="true"> <filename>C:\Program Files (x86)\CyberLink\PowerDVD11\PowerDVD11.exe</filename> <args>"{1}" /fullscreen</args> <hidexbmc>true</hidexbmc> <hideconsole>true</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 MKV <rule filename=".*mkv.*" player="Universal_Player"/> --> <!-- Bluray M2TS <rule filename=".*m2ts.*" player="Universal_Player"/> --> <!-- Bluray Disc --> <rule protocols="bd|dvd" player="Disc_Player"/> </rules> </playercorefactory> PlayDisc.bat: @echo off rem you can place your PlayDisc file anywhere "C:\Program Files (x86)\CyberLink\PowerDVD11\PowerDVD11.exe" d: i also tried pointing to PDVDLaunchPolicy.exe and got the same thing - patseguin - 2012-01-26 21:52 Nothing I am trying is letting me play back or even see my ISO's. Any chance this can just be incorporated into the next beta? ;-) |