public bool Matches(MediaList inMedia)
{
if(inMedia.Length == 0) return false;
else if(Length == 0 || containsAll)
{
// is empty or this list contains "all"
return true;
}
else
{
for(ulong i = 0; i<inMedia.Length; i++)
{
if(medias.Contains(inMedia[i])) return true;
}
}
return false;
}