Which playlist is executed first?

In case there are more than one playlist, for instance if you want a different playlist for each language, how do you control which playlist is executed first?
[165 byte] By [evdberg] at [2008-1-10]
# 1
the naming convention for playlists is VPLST000.XPL

the three integer 0's are the key to who loads first. the playlist file with the highest integer value gets loaded on disc insert.

_scott

scottbates at 2007-10-3 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 2
The playlist with the highest number is loaded. So if your disc has VPLST000.XPL, VPLST001.XPL, and VPLST002.XPL, VPLST002.XPL will load.

Remember, your application tags have a language attribute, so you take advantage of this to determine the user's menu language preference to select the application with that language. Or, if you do want to load a new playlist, you can use this attribute to load an app that will select which subsequent playlist to load.

<PlaylistApplication language="en" src="file://dvddisc/ADV_OBJ/app.aca/menu_en.xmf">

<PlaylistApplicationResource size="99999" multiplexed="1" src="file://dvddisc/ADV_OBJ/app.aca"/>

</PlaylistApplication>

<PlaylistApplication language="es" src="file://dvddisc/ADV_OBJ/app.aca/menu_es.xmf">

<PlaylistApplicationResource size="99999" multiplexed="1" src="file://dvddisc/ADV_OBJ/app.aca"/>

</PlaylistApplication>

<PlaylistApplication language="fr" src="file://dvddisc/ADV_OBJ/app.aca/menu_fr.xmf">

<PlaylistApplicationResource size="99999" multiplexed="1" src="file://dvddisc/ADV_OBJ/app.aca"/>

</PlaylistApplication>

AmyDullard-MSFT at 2007-10-3 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...
# 3
Also, don't forget to set the defaultLanguage attribute of the TitleSet element in case none of the languages match what the player is set to.
PeterTorr-MSFT at 2007-10-3 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...