![]() |
|
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 |
RE: Another External Player Code, but Very Simple to Setup - SoWErA - 2012-07-03 13:09 I am unable to use this: @echo off rem you can place your PlayISO file anywhere rem you need to put the correct VCDMount drive letter in the command below "C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1 "C:\Program Files (x86)\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe" u: "C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 /u if I remove the last unmounting line it works. However then I will have to manually unmount it later. If I do keep all 3 lines then it unmounts before Powerdvd 12 plays the disc. The Disc ain't autoplayed like TMT 5 used to do for me. RE: Another External Player Code, but Very Simple to Setup - Hessi - 2012-07-03 15:20 (2012-07-02 23:37)bluray Wrote: @Hessi- here are your new codes:With the above, nothing starts PowerDVD. Not even discs (neither blu-ray or DVD). And as SoWErA said, the bat without "C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 /u won't unmount the image thus leaving the "PLAY DISC" option on in XBMC. That's why i modified my PlayISO.bat... but it does increase the CPU-usage. Isn't it possible to make a playercorefactory.xml that only starts PowerDVD when playing blu-ray discs and if possible, BDMV file structures? :\ Oh and, by the way, I know what regular expressions are, but thanks for the explanation. ![]() (2012-07-03 13:09)SoWErA Wrote: I am unable to use this:try this... it will autoplay your iso and unmount when you exit PowerDVD. But as mentioned it will increase the CPU-usage every other second Code: @echo offCode: tasklist /FI "IMAGENAME eq PowerDVDCinema12.exe" 2>NUL | find /I /N "PowerDVDCinema12.exe">NULCode: tasklist /FI "IMAGENAME eq PowerDVD12.exe" 2>NUL | find /I /N "PowerDVD12.exe">NULRE: Another External Player Code, but Very Simple to Setup - Hessi - 2012-07-03 16:01 Wouldn't this be the way to go for only blu-ray discs, and (if possible) BDMV file structures? playercorefactory.xml Code: <playercorefactory>PlayBDMV.bat - maybe this needs some changes? Maybe like - set pth=%pth:BDMV\STREAM\*.m2ts=% Code: @echo offThis this still wouldn't autoplay the movie in PowerDVD. What does the warpcursor element do? Can it be used to send a spacebar press to PowerDVD? RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-07-03 16:32 (2012-07-03 13:09)SoWErA Wrote: I am unable to use this:PDVD12 is so new, and Cyberlink decided to change a lot of things.....it's very tough to make it work seamless with playercorefactory code. You can leave the un-mount line out, and it doesn't hurt anything for the movie to stay mounted to a VCD drive.....it'll mount/playback another blu-ray ISO fine.... RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-07-03 17:43 (2012-07-03 16:01)Hessi Wrote: Wouldn't this be the way to go for only blu-ray discs, and (if possible) BDMV file structures?For playback blu-ray disc, you don't need to include the m2ts in bluray_player rule. It should work with "<rule filename="F:\\.*" filetypes="bdmv" player="Bluray_Player"/>", because it use index.bdmv......... Since you have PDVD12 in your HTPC, please try to play around with it and let us know what you find out........I installed the trial version of PDVD12 but I don't have it anymore..... RE: Another External Player Code, but Very Simple to Setup - scudlee - 2012-07-03 18:08 (2012-07-03 17:43)bluray Wrote: For playback blu-ray disc, you don't need to include the m2ts in bluray_player rule. It should work with "<rule filename="F:\\.*" filetypes="bdmv" player="Bluray_Player"/>", because it use index.bdmv.........I agree, in fact you can actually go one step further and nest the BDMV_Player and Bluray_Player rules, like so: Code: <rules name="Custom rules" action="prepend">...Doesn't really save a whole lot of code, but it looks neat. (I recommend adding the name attribute to the rules, as it makes it easier to debug.) RE: Another External Player Code, but Very Simple to Setup - Hessi - 2012-07-03 21:31 bluray - Thanks for your help. Of course you're right... no need for the m2ts filetype in the attribute. Since PowerDVD12 doesn't support BDMV file structure playback with initation through the index file, and since I only wanted blu-ray discs and the mentioned BDMV file structure to playback with PowerDVD12 I've shortened my playercorefactory.xml to the following. Code: <playercorefactory>![]() But as you mentioned in your earlier post if you navigate to the BDMV folder in PowerDVD12 it will play the movie fine with all features. Do you know in what way the code for this would have to be made? Is it xml markup, batch file or something else? PowerDVD12 supports playback of m2ts files but then it would be without any other form of information or feature. F.x. no subtitles. ![]() And of course there's no need for batch files. On the other hand, if I can figure out how to create batch file that starts PowerDVD12 and presses space or enter after a short delay, that would be preferable. ![]() For now i'll stick to the xml (playercorefactory) with this build, and try with the Frodo PVR margro build as standalone.
RE: Another External Player Code, but Very Simple to Setup - andyd - 2012-07-04 13:43 (2012-07-03 04:06)bluray Wrote:(2012-07-03 01:28)andyd Wrote:Can you provide one sample of your mp4s video?(2012-07-02 02:49)bluray Wrote: @Andy..... I finally figured it out. Not sure why but I had to change the filenames. I originally had "Episode 1" etc as part of the file names. That would for some reason trigger the TMT launch. After changing Episode 1 to just 1 now the files play properly. Pretty weird RE: Another External Player Code, but Very Simple to Setup - scudlee - 2012-07-04 15:09 (2012-07-04 13:43)andyd Wrote: I finally figured it out. Not sure why but I had to change the filenames. I originally had "Episode 1" etc as part of the file names. That would for some reason trigger the TMT launch. After changing Episode 1 to just 1 now the files play properly. Pretty weird Not really, filename=".*iso.*" will match all files with "iso" anywhere in their name... Episode... That's why you should just use filetypes="iso". That will only match against the file extension. (filetype="iso", without the s on filetypes, is incorrect and is ignored by XBMC) RE: Another External Player Code, but Very Simple to Setup - andyd - 2012-07-04 15:44 Oh ok. I'll switch it |