![]() |
|
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 184 185 |
- 1nc0gn1t0 - 2012-01-04 12:01 bluray Wrote:Sorry for the delay reply, I'm simply over powered by stack of questions. You can simply replace TMT5 directory in PlayDisc.bat and PlayBDMV.bat with this directory <C:\Program Files\Media Player Classic - Home Cinema\mpc-hc64.exe>. The (Playercorefactory.xml) should remain unchanged!That's what i did butr nothing happens. It doesn't play either bluray nor DVD
- 1nc0gn1t0 - 2012-01-04 16:13 Actually i had to edit playerfactory.xml to maker it works I posted the solution here: http://forum.xbmc.org/showthread.php?tid=118736Do you allow me to make avaiable for download in my thread, your files that i edited to make it works? - bluray - 2012-01-04 16:28 1nc0gn1t0 Wrote:Actually i had to edit playerfactory.xml to maker it worksYour playercorefactory.xml should be as shown below and it's included in my post #50: <playercorefactory> <players> <player name="ISO_Player" type="ExternalPlayer" audio="false" video="false"> <filename>[COLOR="red"]C:\Users\Dell\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename> <args>"{1}" /fullscreen</args> <forceontop>false</forceontop> <hidexbmc>false</hidexbmc> <hidecursor>false</hidecursor> </player> <player name="BDMV_Player" type="ExternalPlayer" audio="false" video="false"> <filename>C:\Users\Dell\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename> <args>"{1}" /fullscreen</args> <forceontop>false</forceontop> <hidexbmc>false</hidexbmc> <hidecursor>false</hidecursor> </player> <player name="Disc_Player" type="ExternalPlayer" audio="false" video="false"> <filename>C:\Users\Dell\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename> <args>"{1}" /fullscreen</args> <forceontop>false</forceontop> <hidexbmc>false</hidexbmc> <hidecursor>false</hidecursor> </player> <player name="Universal_Player" type="ExternalPlayer" audio="false" video="false"> <filename>C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe</filename> <args>"{1}" /fullscreen</args> <forceontop>false</forceontop> <hidexbmc>false</hidexbmc> <hidecursor>false</hidecursor> </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" player="Disc_Player"/> </rules> </playercorefactory>[/COLOR] - 1nc0gn1t0 - 2012-01-04 16:45 bluray Wrote:Your playercorefactory.xml should be as shown below and it's included in my post #50:Like i said now i don't want to read bluray with TMT5 (that's jsut what i wanted at first because i didn't know mpc-hc could do it) but with MPC-HC. This code you give me is about tmt5, it has a line for uMCEplayer5.exe, and non for MPC-HC. That's why when you told me that to read bluray within mpc-hc from XBMC what i'll need to do is just change the path for mpc-hc in playdisc and playbdmv and that i mustn't change the playerfactory.xml, but that it didn't work, i decided to give it a try with the modification of playerfactory.xml. The code you show me above and the one i have (slightly modified from your original) don't seem at all the same, and well now bluray playback works with mpc-hc whereas it was not working until i modified the factoryplayer.xml - bluray - 2012-01-04 17:03 1nc0gn1t0 Wrote:Like i said now i don't want to read bluray with TMT5 (that's jsut what i wanted at first because i didn't know mpc-hc could do it) but with MPC-HC. This code you give me is about tmt5, it has a line for uMCEplayer5.exe, and non for MPC-HC. That's why when you told me that to read bluray within mpc-hc from XBMC what i'll need to do is just change the path for mpc-hc in playdisc and playbdmv and that i mustn't change the playerfactory.xml, but that it didn't work, i decided to give it a try with the modification of playerfactory.xml. The code you show me above and the one i have (slightly modified from your original) don't seem at all the same, and well now bluray playback works with mpc-hc whereas it was not working until i modified the factoryplayer.xmlAs I said in post #50, MPC-HC should be added in PlayDisc and PlayBDMV. Playcorefactory code can remain the same. It'll playback BD using XBMC PlayDisc option using MPC-HC and BD index.bdmv using MPC-HC.
- 1nc0gn1t0 - 2012-01-04 17:21 Yeah i followed what you say but it was not working without editing playerfactory, nothing happened, that's why i tried to edit playerfactory and then it worked So maybe i'm the only one for whom it was not working without editiing
- bluray - 2012-01-04 17:48 1nc0gn1t0 Wrote:Yeah i followed what you say but it was not working without editing playerfactory, nothing happened, that's why i tried to edit playerfactory and then it workedWhat did you edit in playercorefactory? - 1nc0gn1t0 - 2012-01-04 17:56 Not much. I removed the BDMV rules, and included "bdmv" it in the line below of the unviersal player (which is MPC-HC) (and obviously putted the path of mpc-hc in the others .bat + i changed the lettre from playdisc.bat because mine is "L:") so it's: Code: <playercorefactory>I edited the code, i copied first one that was in my notepad++ tab that was not the good one. - Grinsekatze - 2012-01-04 19:43 bluray Wrote:Let me try to under stand you a little better. Hi, right, at the moment I don't have a Blu-ray drive. But I had one here a few weeks ago and I did a 1:1 iso rip of a 3D blu-ray movie. So at the moment (until I got an own bd-drive) I use daemon tools and mount the mentioned image. That's like using a real drive with a real disc. The Daemon tools virtual drive is recognized under windows as a BD-ROM drive. I can access it and the mounted movie from outside xbmc with my players (TMT5 & PDVD11) with or without the script (playdisc.bat -you can lunch the scripts without xbmc to test if they are working). BUT inside of xbmc when I try to access (I navigate to videos, highlight the drive and press enter) the (virtual) drive with the loaded movie does not start to play but shows me whats inside of the drive (files and folders like bdmv). But when I highlight the drive from videos section and press right mouse button (and not enter) I get a menu where I can select play disc. When I highlight that play disc-entry and press enter the blu-ray movie starts to play. But I would like to play the disc when I access it from the video section (videos > drive D: > movie starts) and not via videos > Drive D: - right mouse button > play disc > movie starts. That's how the build in dvd player acts with dvds and I would like TMT or PDVD to act the same way with blu-rays. Hopefully I could make clear what's my problem. Sorry I'm not a native english speaker. But feel free to ask if something is still not clear. Thanks for the help btw. Edit: Here's a picture of what I'm talking from. The first one shows what happenes when I access the (virtual) drive. ![]() The second one shows how I'm able to play the movie at the moment (though it's much too complicated):
- bluray - 2012-01-04 20:16 1nc0gn1t0 Wrote:Not much. I removed the BDMV rules, and included "bdmv" it in the line below of the unviersal player (which is MPC-HC) (and obviously putted the path of mpc-hc in the others .bat + i changed the lettre from playdisc.bat because mine is "L:") so it's:So, you are not using PlayBDMV.bat anymore because you included "bdmv" under <rule filetypes="m2ts|mkv|avi|ts|mp3|bdmv" player="Universal_Player"/>. If you're not using it, you can remove BDMV_Player from Playercorefactory so that is cleaner. I'm assuming you're not interesting in playback MP3, JPG, DVD, etc using XBMC either. If you do, you might need these rules: <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> It's just a thought, because XBMC is a great player to playback all other files. We need external player just to playback blu-ray disc, iso, m2ts and mkv only because it can bitstream HD audio, and XBMC by itself cannot bitstreaming HD audio. |