Another External Player Code, but Very Simple to Setup

  Thread Rating:
  • 10 Votes - 4.2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
bluray Offline
Posting Freak
Posts: 7,575
Joined: May 2011
Reputation: 139
Post: #551
@wraslor-

Let try these-

Create a UniversalPlayer.bat file-

@echo off

"C:\Program Files (x86)\CyberLink\PowerDVD11\powerdvd11.exe"


and use these playercorefactory codes-

<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\media center\AppData\Roaming\XBMC\userdata\UniversalPlayer.bat</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 M2TS -->
<rule filename=".*m2ts.*" player="Universal_Player"/>

<!-- Bluray Disc -->
<rule name="Blu-Ray" filename="G:\\.*" filetypes="bdmv" player="Disc_Player"/>
</rules>
</playercorefactory>


Make sure to set PDVD11 to automatic launch fullscreen in PDVD11 UI.....

>Alienware X51- do it all HTPC
>Simplify XBMC configurations
>HOW-TO Bitstreaming using XBMC
I refused to watch movie without bitstreaming HD audio!
(This post was last modified: 2012-04-22 17:57 by bluray.)
find quote
wraslor Offline
Junior Member
Posts: 14
Joined: Aug 2011
Reputation: 0
Post: #552
@bluray

Same result xbmc freezes for a min and nothing happens. If I open up the task manager I can see that it launched powerdvd11.exe

It's like it isn't being brought to the front and playing. Doesn't make sense. In media browser for example it works fine everytime do they have some special switch im not aware of? I've looked through their config file and nothing jumps out at me.
find quote
bluray Offline
Posting Freak
Posts: 7,575
Joined: May 2011
Reputation: 139
Post: #553
@wraslor-

Something is conflicting in your HTPC then, the codes are correct......

One last try...change these 4 lines with the codes below-

<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>

Let me ask you this- Is your m2ts file work fine on PDVD11 without XBMC?

>Alienware X51- do it all HTPC
>Simplify XBMC configurations
>HOW-TO Bitstreaming using XBMC
I refused to watch movie without bitstreaming HD audio!
find quote
wraslor Offline
Junior Member
Posts: 14
Joined: Aug 2011
Reputation: 0
Post: #554
I'll give it a shot when I get home this evening, I'm about to head out for work. Yes the m2ts files (I have quite a few 3D movies encoded to m2ts) launch and play fine from power dvd itself or via mediabrowser launching powerdvd.

I appreciate all the help and I'll let you know what I find.
find quote
andyd Online
Senior Member
Posts: 203
Joined: Nov 2004
Reputation: 0
Post: #555
(2012-04-21 23:09)andyd Wrote:  Nevermind. Figured it out. It was a mixture of things including not formatting the name of the exe properly for TMT 5

Update: So I finally figured out why I was having issues in the first place. For some reason, Star Wars won't load. All other movies do. When I try to load Star Wars Phantom Menace, I get the error that the vcdmount can't load

Sorry to bother again on this but I can't figure out what's going on with my Star Wars bluray rips

All other bluray rips launch properly. If I load the movie manually into TMT5, that works. But if I try to launch within XBMC, it will return a VCDMount error which should never happen?
find quote
bluray Offline
Posting Freak
Posts: 7,575
Joined: May 2011
Reputation: 139
Post: #556
(2012-04-22 23:32)andyd Wrote:  Sorry to bother again on this but I can't figure out what's going on with my Star Wars bluray rips

All other bluray rips launch properly. If I load the movie manually into TMT5, that works. But if I try to launch within XBMC, it will return a VCDMount error which should never happen?
Check VCD drive that is dedicated for ISO to make sure that there is nothing mounted on it......

>Alienware X51- do it all HTPC
>Simplify XBMC configurations
>HOW-TO Bitstreaming using XBMC
I refused to watch movie without bitstreaming HD audio!
find quote
andyd Online
Senior Member
Posts: 203
Joined: Nov 2004
Reputation: 0
Post: #557
Definitely nothing mounted. I can switch between blurays no problem. It's just Star Wars that is giving me problems. What are the chances that the path name length is too long? It's set up like this...

\\HOMESERVER\Videos\Movies\Bluray\The Star Wars Saga\Star Wars Episode I - The Phantom Menace\BDMV
find quote
bluray Offline
Posting Freak
Posts: 7,575
Joined: May 2011
Reputation: 139
Post: #558
(2012-04-23 02:30)andyd Wrote:  Definitely nothing mounted. I can switch between blurays no problem. It's just Star Wars that is giving me problems. What are the chances that the path name length is too long? It's set up like this...

\\HOMESERVER\Videos\Movies\Bluray\The Star Wars Saga\Star Wars Episode I - The Phantom Menace\BDMV
I'm not quite sure then.....you can try to save it to a different name but shorter name....and try to playback it!

>Alienware X51- do it all HTPC
>Simplify XBMC configurations
>HOW-TO Bitstreaming using XBMC
I refused to watch movie without bitstreaming HD audio!
find quote
wraslor Offline
Junior Member
Posts: 14
Joined: Aug 2011
Reputation: 0
Post: #559
Figured it out! The args caused the problem. Setting to only {0} and it all works.

<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\media center\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\media center\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Disc_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\media center\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\CyberLink\PowerDVD11\PDvdlaunchpolicy.exe</filename>
<args>"{0}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</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 M2TS -->
<rule filename=".*m2ts.*" player="Universal_Player"/>

<!-- Bluray Disc -->
<rule protocols="bd|dvd" player="Disc_Player"/>
</rules>
</playercorefactory>
(This post was last modified: 2012-04-23 16:50 by wraslor.)
find quote
bluray Offline
Posting Freak
Posts: 7,575
Joined: May 2011
Reputation: 139
Post: #560
(2012-04-23 16:25)wraslor Wrote:  Figured it out! The args caused the problem. Setting to only {1} and it all works.

<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\CyberLink\PowerDVD11\pDvdlaunchpolicy.exe</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
There is always one last try as I mentioned in post #553. I'm glad that it works out well for you.....every HTPC works slightly different....Nod

>Alienware X51- do it all HTPC
>Simplify XBMC configurations
>HOW-TO Bitstreaming using XBMC
I refused to watch movie without bitstreaming HD audio!
find quote
Post Reply