Click here to Skip to main content
15,895,782 members
Articles / Programming Languages / C#

LyricsFetcher - The Easiest Way to Find Lyrics for your Songs

Rate me:
Please Sign up or sign in to vote.
4.93/5 (82 votes)
29 Oct 2009GPL325 min read 201.8K   2.4K   184  
An article describing the development of a non-trivial C#/.NET application to fetch lyrics for songs.
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.3053
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace LyricsFetcher.Properties {
    using System;
    
    
    /// <summary>
    ///   A strongly-typed resource class, for looking up localized strings, etc.
    /// </summary>
    // This class was auto-generated by the StronglyTypedResourceBuilder
    // class via a tool like ResGen or Visual Studio.
    // To add or remove a member, edit your .ResX file then rerun ResGen
    // with the /str option, or rebuild your VS project.
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    internal class Resources {
        
        private static global::System.Resources.ResourceManager resourceMan;
        
        private static global::System.Globalization.CultureInfo resourceCulture;
        
        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
        internal Resources() {
        }
        
        /// <summary>
        ///   Returns the cached ResourceManager instance used by this class.
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        internal static global::System.Resources.ResourceManager ResourceManager {
            get {
                if (object.ReferenceEquals(resourceMan, null)) {
                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("LyricsFetcher.Properties.Resources", typeof(Resources).Assembly);
                    resourceMan = temp;
                }
                return resourceMan;
            }
        }
        
        /// <summary>
        ///   Overrides the current thread's CurrentUICulture property for all
        ///   resource lookups using this strongly typed resource class.
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        internal static global::System.Globalization.CultureInfo Culture {
            get {
                return resourceCulture;
            }
            set {
                resourceCulture = value;
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Do you want to accept all successful lookups?.
        /// </summary>
        internal static string AcceptAllMsg {
            get {
                return ResourceManager.GetString("AcceptAllMsg", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to LyricsFetcher.
        /// </summary>
        internal static string AppName {
            get {
                return ResourceManager.GetString("AppName", resourceCulture);
            }
        }
        
        internal static System.Drawing.Bitmap burn16 {
            get {
                object obj = ResourceManager.GetObject("burn16", resourceCulture);
                return ((System.Drawing.Bitmap)(obj));
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to The lyrics cache has been discard. Your next library load will be significantly slower..
        /// </summary>
        internal static string CacheDiscardedMsg {
            get {
                return ResourceManager.GetString("CacheDiscardedMsg", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to The lyrics cache is used to significantly speed up the loading of the music library. The cache is not involved with the fetching of lyrics from the internet. 
        ///
        ///You would want to discard the cache if you had modified lyrics within the library application itself, rather than through LyricsFetcher.
        ///
        ///Are you sure you want to discard all cached lyrics?.
        /// </summary>
        internal static string DiscardCacheMsg {
            get {
                return ResourceManager.GetString("DiscardCacheMsg", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to The iTunes application has been closed. You must restart this application to continue finding lyrics..
        /// </summary>
        internal static string ITunesClosedMsg {
            get {
                return ResourceManager.GetString("ITunesClosedMsg", resourceCulture);
            }
        }
        
        internal static System.Drawing.Bitmap logo {
            get {
                object obj = ResourceManager.GetObject("logo", resourceCulture);
                return ((System.Drawing.Bitmap)(obj));
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to Do you want to look up all {0} songs that are shown in the list?.
        /// </summary>
        internal static string LookupAllMsg {
            get {
                return ResourceManager.GetString("LookupAllMsg", resourceCulture);
            }
        }
        
        internal static System.Drawing.Bitmap network_offline {
            get {
                object obj = ResourceManager.GetObject("network_offline", resourceCulture);
                return ((System.Drawing.Bitmap)(obj));
            }
        }
        
        internal static System.Drawing.Bitmap process_stop {
            get {
                object obj = ResourceManager.GetObject("process_stop", resourceCulture);
                return ((System.Drawing.Bitmap)(obj));
            }
        }
        
        internal static System.Drawing.Bitmap process_working {
            get {
                object obj = ResourceManager.GetObject("process_working", resourceCulture);
                return ((System.Drawing.Bitmap)(obj));
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to This song could not be played. Check to see if the underlying media file (&quot;{0}&quot;) been moved or deleted.
        ///
        ///The library returned this error: {1}.
        /// </summary>
        internal static string SongFailedToPlayMsg {
            get {
                return ResourceManager.GetString("SongFailedToPlayMsg", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to The song &quot;{0}&quot; could not be updated. It is possible that the underlying media file (&quot;{1}&quot;) is read-only, missing or corrupt.
        ///
        ///The library returned this error: {2}.
        /// </summary>
        internal static string SongFailedToUpdateMsgITunes {
            get {
                return ResourceManager.GetString("SongFailedToUpdateMsgITunes", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to The song &quot;{0}&quot; could not be updated. It is possible that the underlying media file (&quot;{1}&quot;) is read-only, missing or in a format that Windows Media cannot update.
        ///
        ///The library returned this error: {2}.
        /// </summary>
        internal static string SongFailedToUpdateMsgWmp {
            get {
                return ResourceManager.GetString("SongFailedToUpdateMsgWmp", resourceCulture);
            }
        }
        
        internal static System.Drawing.Bitmap splashscreen {
            get {
                object obj = ResourceManager.GetObject("splashscreen", resourceCulture);
                return ((System.Drawing.Bitmap)(obj));
            }
        }
        
        internal static System.Drawing.Bitmap stop24 {
            get {
                object obj = ResourceManager.GetObject("stop24", resourceCulture);
                return ((System.Drawing.Bitmap)(obj));
            }
        }
        
        internal static System.Drawing.Bitmap trebleclef128 {
            get {
                object obj = ResourceManager.GetObject("trebleclef128", resourceCulture);
                return ((System.Drawing.Bitmap)(obj));
            }
        }
        
        internal static System.Drawing.Bitmap trebleclef32 {
            get {
                object obj = ResourceManager.GetObject("trebleclef32", resourceCulture);
                return ((System.Drawing.Bitmap)(obj));
            }
        }
        
        internal static System.Drawing.Bitmap trebleclef48 {
            get {
                object obj = ResourceManager.GetObject("trebleclef48", resourceCulture);
                return ((System.Drawing.Bitmap)(obj));
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to LyricsFetcher - iTunes Library.
        /// </summary>
        internal static string WindowLabelITunes {
            get {
                return ResourceManager.GetString("WindowLabelITunes", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Looks up a localized string similar to LyricsFetcher - Windows Media Player Library.
        /// </summary>
        internal static string WindowLabelWmp {
            get {
                return ResourceManager.GetString("WindowLabelWmp", resourceCulture);
            }
        }
    }
}

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 GNU General Public License (GPLv3)


Written By
Team Leader
Australia Australia
Phillip has been playing with computers since the Apple II was the hottest home computer available. He learned the fine art of C programming and Guru meditation on the Amiga.

C# and Python are his languages of choice. Smalltalk is his mentor for simplicity and beauty. C++ is to programming what drills are to visits to the dentist.

He worked for longer than he cares to remember as Lead Programmer and System Architect of the Objective document management system. (www.objective.com)

He has lived for 10 years in northern Mozambique, teaching in villages.

He has developed high volume trading software, low volume FX trading software, and is currently working for Atlassian on HipChat.

Comments and Discussions