Beispiel #1
0
        private void FetchAllLyrics(bool force)
        {
            /*check that there is no job and the netowrk is up */
            if (job != null || !ServiceManager.Get <Banshee.Networking.Network> ().Connected)
            {
                return;
            }

            job           = new LyricsDownloadJob(force);
            job.Finished += delegate {
                job = null;
            };

            job.Start();
        }
        private void FetchAllLyrics(bool force)
        {
            /*check that there is no job and the netowrk is up */
            if (job != null || !ServiceManager.Get<Banshee.Networking.Network> ().Connected) {
                return;
            }

            job = new LyricsDownloadJob (force);
            job.Finished += delegate {
                job = null;
            };

            job.Start ();
        }