Click here to Skip to main content
15,885,309 members
Articles / Desktop Programming / Windows Forms

BSEtunes

Rate me:
Please Sign up or sign in to vote.
4.67/5 (11 votes)
24 Apr 2010CPOL4 min read 64.6K   4.3K   58  
BSEtunes is a MySQL based, full manageable, networkable single or multiuser jukebox application
using System;

namespace BSE.Platten.Audio
{
	public enum MetaDataPropertyName
	{
		None,
		WMTrackNumber,
		Author,
		WMAlbumTitle,
		Title,
		Duration,
		WMGenre,
		WMYear
	}
	/// <summary>
	/// Summary description for CMediaMetaData.
	/// </summary>
	/// <remarks></remarks>
	/// <copyright>Copyright � 2004 MCH Messe Basel AG</copyright>
	public class CAudioMetaData
	{
		#region FieldsPrivate
		
		private string m_strFileFullName = string.Empty;
		private string m_strFileName = string.Empty;
		private string m_strFileExtension = string.Empty;
		private string m_strWMAlbumArtist = string.Empty;
		private string m_strWMAlbumTitle = string.Empty;
		private string m_strAudioFileUrl = string.Empty;
		private string m_strAuthor = string.Empty;
		private string m_strBeatsPerMinute = string.Empty;
		private int m_iBitrate = 0;
		private string m_strContentDistributor = string.Empty;
		private string m_strCopyright = string.Empty;
		private string m_strCopyrightURL = string.Empty;
		private string m_strDescription = string.Empty;
		private long m_iDuration = 0;
		private long m_iFileSize = 0;
		private string m_strWMGenre = string.Empty;
		private string m_strProvider = string.Empty;
		private string m_strPublisher = string.Empty;
		private string m_strTitle = string.Empty;
		private string m_strWMTrackNumber = string.Empty;
		private string m_strWMYear = string.Empty;
		private bool m_bHasAudio = false;

		#endregion

		#region Properties
		
		public string FileFullName
		{
			get {return m_strFileFullName;}
			set {m_strFileFullName = value;}
		}
		
		public string FileName
		{
			get {return m_strFileName;}
			set {m_strFileName = value;}
		}

		public string FileExtension
		{
			get {return m_strFileExtension;}
			set {m_strFileExtension = value;}
		}
		
		public string WMAlbumArtist
		{
			get {return m_strWMAlbumArtist;}
			set {m_strWMAlbumArtist = value;}
		}
		
		public string WMAlbumTitle
		{
			get {return m_strWMAlbumTitle;}
			set {m_strWMAlbumTitle = value;}
		}
		
		public string AudioFileUrl
		{
			get {return m_strAudioFileUrl;}
			set {m_strAudioFileUrl = value;}
		}
		
		public string Author
		{
			get {return m_strAuthor;}
			set {m_strAuthor = value;}
		}
		
		public string BeatsPerMinute
		{
			get {return m_strBeatsPerMinute;}
			set {m_strBeatsPerMinute = value;}
		}

		public int Bitrate
		{
			get {return m_iBitrate;}
			set {m_iBitrate = value;}
		}

		public string ContentDistributor
		{
			get {return m_strContentDistributor;}
			set {m_strContentDistributor = value;}
		}

		public string Copyright
		{
			get {return m_strCopyright;}
			set {m_strCopyright = value;}
		}
		
		public string CopyrightURL
		{
			get {return m_strCopyrightURL;}
			set {m_strCopyrightURL = value;}
		}
		
		public string Description
		{
			get {return m_strDescription;}
			set {m_strDescription = value;}
		}

		public long Duration
		{
			get {return m_iDuration;}
			set {m_iDuration = value;}
		}

		public long FileSize
		{
			get {return m_iFileSize;}
			set {m_iFileSize = value;}
		}

		public string WMGenre
		{
			get {return m_strWMGenre;}
			set {m_strWMGenre = value;}
		}

		public string Provider
		{
			get {return m_strProvider;}
			set {m_strProvider = value;}
		}

		public string Publisher
		{
			get {return m_strPublisher;}
			set {m_strPublisher = value;}
		}

		public string Title
		{
			get {return m_strTitle;}
			set {m_strTitle = value;}
		}

		public string WMTrackNumber
		{
			get {return m_strWMTrackNumber;}
			set {m_strWMTrackNumber = value;}
		}

		public string WMYear
		{
			get {return m_strWMYear;}
			set {m_strWMYear = value;}
		}

		public bool HasAudio
		{
			get {return m_bHasAudio;}
			set {m_bHasAudio = value;}
		}

		#endregion

	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Switzerland Switzerland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions