Help - Search - Members - Calendar
Full Version: Dvd Playing Help
Scenyx Entertainment Community > Xbox1 Forums > Dashboard Forums > Official Team UIX Forums > User.Interface.X (UIX) Code
UnSaniTiZ
Hey. I recently installed uix and so far i'm very happy with it. Great job to the devs! That said, I am having a problem and I don't know how to remedy it myself.

I know that uix has a built in dongle free dvd player, but i've been experiencing some bugs with that. I have the dvd playback adn I would prefer to use that, is there anyway I could just have uix launch the ms dash (to play my dvds) instead of the built in player?

TIA

-UnSaniTiZ
slick50zd
hmm well idk whether its built in but it could easily be coded in, i might look into it.... i havent done any coding in a while as many of you know do to the lack of support on the info panel and 6 tab menu

someone will probably get to it before i do but ill still check it out
mancer_247
This should get you what you want.

Using DVDx instead of default DVD player

Just change these lines to point to the M$ dash.
CODE
           theHardDrive.ExecuteFile("f:\\apps\\dvdx\\default.xbe");


I've never tried this myself (I don't own the DVD playback kit), but I don't see why it wouldn't work.

Let us know how it goes. smile.gif
UnSaniTiZ
it did work, although I also question whether there is a way to actually enable the ask on disc insert, because I haven't been able to get it to NOT autolaunch

-UnSaniTiZ
Albino
Have you tried? It's very easy to do in the configuration mode.
mancer_247
To get it to ask if you want to launch the disk just go to
Settings/Dash Configuration/General Configuration and set
"Autolaunch Inserted Media" to "Ask".

You can also use a controller button to launch the disk if you don't like pop-ups.

Start Already Insrted Dvd, Game Or Whatever?

Glad to hear that starting the M$ dash that way works. I've been wanting to test that. Anyway, hope this info helps.

Carrot06
The Built in DVD Player is based on the standard MS DVD Player and can be easily edited to use the remote. To get it too work you need to edit the DVD.XAP in Default.XIP.

Find the Code for the OnLeftThumbMoveLeft function and copy if for all the Up, Down, Left, & Right movements. Paste is Directly below the last OnLeftThumbMove.. and remove the LeftThumb part so that it reads OnMoveLeft or OnMoveRight etc. Then comment out the OnLeftDown and OnRightDown function. After that is done save and reimport the edited DVD.XAP into Default.XIP and FTP back to your Xbox. Its that simple.

Remeber to keep a backup of the original DVD.XAP incase you can't get it too work.
Teldin
So should the code look like:

CODE

 function OnMoveLeft()
 {
  if (theDVDMenu.visible)
  {
   if (curMenuItem > 0)
    curMenuItem = curMenuItem - 1;
   else
    curMenuItem = 5;
   UpdateMenuHilight();
  }
  else if (nZoom > 1)
  {
   xZoom = xZoom - 0.125;
   if (xZoom < -1)
    xZoom = -1;
   theDVDPlayer.setZoomPos(xZoom, yZoom);
  }
  else
  {
   theDVDPlayer.selectLeft();
  }
 }

 function OnMoveRight()
 {
  if (theDVDMenu.visible)
  {
   if (curMenuItem > 0)
    curMenuItem = curMenuItem - 1;
   else
    curMenuItem = 5;
   UpdateMenuHilight();
  }
  else if (nZoom > 1)
  {
   xZoom = xZoom - 0.125;
   if (xZoom < -1)
    xZoom = -1;
   theDVDPlayer.setZoomPos(xZoom, yZoom);
  }
  else
  {
   theDVDPlayer.selectRight();
  }
 }

 function OnMoveDown()
 {
  if (theDVDMenu.visible)
  {
   if (curMenuItem > 0)
    curMenuItem = curMenuItem - 1;
   else
    curMenuItem = 5;
   UpdateMenuHilight();
  }
  else if (nZoom > 1)
  {
   xZoom = xZoom - 0.125;
   if (xZoom < -1)
    xZoom = -1;
   theDVDPlayer.setZoomPos(xZoom, yZoom);
  }
  else
  {
   theDVDPlayer.selectDown();
  }
 }

 function OnMoveUp()
 {
  if (theDVDMenu.visible)
  {
   if (curMenuItem > 0)
    curMenuItem = curMenuItem - 1;
   else
    curMenuItem = 5;
   UpdateMenuHilight();
  }
  else if (nZoom > 1)
  {
   xZoom = xZoom - 0.125;
   if (xZoom < -1)
    xZoom = -1;
   theDVDPlayer.setZoomPos(xZoom, yZoom);
  }
  else
  {
   theDVDPlayer.selectUp();
  }
 }

 function OnWhiteDown()
 {
  theDVDPlayer.playOrPause();
 }

 function OnBlackDown()
 {
           OnStop();
 }

 //function OnLeftDown()
 //{
           //OnSkipBack();
 //}

 //function OnRightDown()
 //{
           //OnSkipForward();
 //}

?

Should the existing OnLeftThumbMoveLeft be saved?
Teldin
Tried it and it works great. Thanks Carrot!

P.S. The OnLeftThumbMoveLeft code should probably be left in to facilitate using the controller to select menu items if needed.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.