I found it very tedious to rename tracks that i just ripped to the xbox hard drive using the onscreen keyboard...
a quicker way is to do this..
open default.xip/music.xap
scroll down till u reach this..
CODE
DEF theMusicMenu Level
{
scroll down a little more till u see this...
CODE
control Joystick
{
function OnADown()
{
var c = theMusicMenu.children[0].children[0];
c.MU_select_pod_HL.children[0].appearance.material.param = 1;
PlaySoundA();
if(musicCount > 0)
{
theMusicPlayMenu.GoTo();
theMusicSubMenuIn.Play();
}
}
and right below this paste the following code..
CODE
function OnYDown()
{
var nSoundtrack = musicSelect - 1;
var strCurSoundTrack = theMusicCollection.GetSoundtrackName(nSoundtrack);
AskQuestion("Are you sure you want to auto-rename the " + strCurSoundTrack + " tracks \nfrom the uix.ini file ? ", "theMusicInline.children[0].DoAutoRename()","",1);
}
NEXT .. look for this function...
CODE
function HandlePlayerEditMenu()
{
and directly above this paste this new function...
CODE
function DoAutoRename()
{
var newArtistName;
var nSoundtrack = musicSelect - 1;
var IniFile = new Settings;
IniFile.SetIniSection( "SoundTrack Rename" );
var numTracks = IniFile.GetIniValue( "num_songs" );
var numTrack_i = ReturnInteger(numTracks);
var artistName = IniFile.GetIniValue("artist_name");
for (var k=0; k < numTrack_i; k = k + 1)
{ var t = k + 1;
var cur_t_name = IniFile.GetIniValue("track_" + t);
if (artistName == "misc")
{
cur_t_name = cur_t_name;
}
else
{
cur_t_name = artistName + "-" + cur_t_name;
}
theMusicCollection.SetSongName(nSoundtrack, k, cur_t_name);
}
IniFile.CloseIniFile();
TellUser("Track naming complete"," theMusicInline.children[0].theMusicMenu.GoTo();");
}
save... reinsert , ftp , reboot.
NOW . for the uix.ini file...
u have to edit your uix.ini like this...
if you copied four tracks from a cd and you want to rename the tracks
CODE
[SoundTrack Rename]
num_songs=4
artist_name=John Mayer
track_1=Daughters
track_2=Bigger than my Body
track_3=Clarity
track_4=Wheel
save your uix file...
now go to the music menu..
highlight the soundtrack that you just put information in the uix.ini file for..
and press the Y button..
a menu will pop up and ask you if you want to rename the files for the specified soundtrack... click yes.. and you will see a confirmation message saying that the tracks were renamed.
so if you were to do it for another soundtrack.. edit the uix.ini file to suit..
also if you copied a mix cd with different artists , just put
misc as the artist name and name your tracks like ...
CODE
artist_name=misc
track_1=Prodigy-Breathe
etc..
that should about do it..
---mrModem---