#region CPL License
/*
Nuclex Framework
Copyright (C) 2002-2009 Nuclex Development Labs
This library is free software; you can redistribute it and/or
modify it under the terms of the IBM Common Public License as
published by the IBM Corporation; either version 1.0 of the
License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
IBM Common Public License for more details.
You should have received a copy of the IBM Common Public
License along with this library
*/
#endregion
using System;
using System.Collections.Generic;
using Nuclex.Support.Tracking;
namespace Nuclex.Audio.Metadata {
/// List of the 11 fixed categories supported by official CDDB databases
///
///
/// Yes, this list is borked. It differentiates between Blues and Jazz, between Folk and
/// Country but coalesces rock, metal, pop, rap and more into a single genre. For
/// historical reasons and in order to not break existing (crappy) software, official
/// CDDB databases offer only these 11 fixed genres.
///
///
/// Because the CDDB disc id calculation is equally flawed and easily leads to duplicate
/// ids, the official recommendation is to first try to submit CDDB informations of a new
/// CD with the actual genre and then, if it turns out there's already another CD with
/// the same disc id in the database, to use one of the other genres to submit it.
///
///
/// From version 5 onwards, the CDDB protocol supports any genre name as an additional
/// database field. Thus, these 11 genres might better be seen as "disc id slots" that
/// allow up to 11 CDs with the same disc id to be stored in CDDB databases.
///
///
public enum CddbCategory {
/// Self explanatory
Blues,
/// Self explanatory
Classical,
/// Self explanatory
Country,
/// ISO9660 and other data CDs
Data,
/// Self explanatory
Folk,
/// Self explanatory
Jazz,
/// Self explanatory
NewAge,
/// Self explanatory
Reggae,
/// Rock - including funk, soul, rap, pop, industrial, metal, etc.
Rock,
/// Movies, shows
Soundtrack,
/// Others that do not fit in the above categories
Misc
}
} // namespace Nuclex.Audio.Metadata