2004-09-14, 08:05 PM
yes the skip buttons seem to be working I think in the code they are called Keys.Right and Keys.Left and certainly they work on the remote.
I moving on from this to another small amendment to the jukebox code
I want to skip indexing a folder or its subfolders if a file called noindex.txt exists in the folder.
I have added the following code
string NoIndexName = curDir + "\\noindex.txt";
if ( System.IO.File.Exists(NoIndexName))
{
return;
}
to the function PopulateDB at about line 586 of the code
this works fine but with one small problem although the folder has not been indexed, it is still listed in the display although if you enter it there are no tracks to select from.
Would you have any idea how to supress it from the display
As I have never written C# in my life before I am really struggling
throughout the code there are bits like dbDirs.Enqueue and dbDirs.Dequeue is this some form of pushing array elements on and off a stack ?
is there any C# language reference manuals that are available for download ?
thanks in advance
Tkgafs
I moving on from this to another small amendment to the jukebox code
I want to skip indexing a folder or its subfolders if a file called noindex.txt exists in the folder.
I have added the following code
string NoIndexName = curDir + "\\noindex.txt";
if ( System.IO.File.Exists(NoIndexName))
{
return;
}
to the function PopulateDB at about line 586 of the code
this works fine but with one small problem although the folder has not been indexed, it is still listed in the display although if you enter it there are no tracks to select from.
Would you have any idea how to supress it from the display
As I have never written C# in my life before I am really struggling
throughout the code there are bits like dbDirs.Enqueue and dbDirs.Dequeue is this some form of pushing array elements on and off a stack ?
is there any C# language reference manuals that are available for download ?
thanks in advance
Tkgafs