The Source for Java Technology Collaboration

Home » java.net Forums » Mobile & Embedded » Blu-ray Disc Java

Thread: Changing Titles and Catch MainMenu call

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 2 - Last Post: Nov 5, 2008 1:26 PM by: elbob Threads: [ Previous | Next ]
elbob

Posts: 29
Changing Titles and Catch MainMenu call
Posted: Oct 29, 2008 2:39 AM
  Click to reply to this thread Reply

Hello all,

I'm using several titles for my BD-J app to show something like "Menu" on the player display when I'n in the Main Menu and show time info when playing clips. Also I can then easily use the Play button in my menu title which is interactive.

It seems to be very important to stop a running player before switching to a playlist with autostart!
If it is not stopped WinDVD crashes. (haven't tested on other players)

I can control everything nicely by receiving ServiceContextEvents. When I get a PresentationTerminatedEvent I just stop my player.

The problem starts when I try to access my Menu or a Title via Title search or Disc Menu Button. This makes the player crash again because I don't get the terminated event.

Is there a way to receive the DiscMenu call so I can react to it?

I know I can disable Title search and DiscMenu call but it would be nice to use it.

Thanks a lot!
elbob

elbob

Posts: 29
Re: Changing Titles and Catch MainMenu call
Posted: Oct 30, 2008 1:41 AM   in response to: elbob
  Click to reply to this thread Reply

Many experiments later... some thoughts and tests.

In the HDCookbook they write that I should get a NormalContentEvent when the title is changed. This seems to be true but it's still hard to handle.

In WinDVD I get a NormalContentEvent for changing the title and another one for starting the playlist. In Scenarist QC I only get an event for the title change...

And the best of all: if I press Main Menu Button I don't get the event although the player switches to Disc Menu Title 0. So was it all in vain? Is it a WinDVD problem?

Any experience with that?

--

btw. HDCookbook tells me I need this permission file but doesn't tell me where to save it. Is it in the CERTIFICATE folder like the signature file?

Thanks elBoB

elbob

Posts: 29
Re: Changing Titles and Catch MainMenu call
Posted: Nov 5, 2008 1:26 PM   in response to: elbob
  Click to reply to this thread Reply

something I found out on my own:
the permission file is in the folder of the application and is called

bluray.NameOfXlet.perm

it should be utf8 and in my case it looks like this:

<?xml version="1.0"?>
<prf:permissionrequestfile xmlns:prf="urn:BDA:bdmv;PRF" orgid="0x7fffa3ab" appid="0x4001">
<servicesel value="true"></servicesel>
</prf:permissionrequestfile>

This makes title changes work on my samsung.




 XML java.net RSS