private void LoadMediaInfo()
        {
            var mediaCollection = mPlayer.mediaCollection.getByAttribute("MediaType", "audio");
            var count           = mediaCollection.count;

            for (var i = 0; i < mediaCollection.count; i++)
            {
                var media     = mediaCollection.Item[i];
                var url       = media.sourceURL;
                var mediaInfo = Song.Create(media.sourceURL);
                SongInfo.Add(media.sourceURL.ToLower(), mediaInfo);
            }
        }
        private static void LoadMediaInfoFromNewLibrary(string url)
        {
            var songsUrl = new List <string>(Directory.EnumerateFiles(url, "*.*", SearchOption.AllDirectories).
                                             Where(
                                                 s => mediaExtensions.Contains(Path.GetExtension(s), StringComparer.OrdinalIgnoreCase)));

            songsUrl.ForEach(x =>
            {
                if (!SongInfo.ContainsKey(x.ToLower()))
                {
                    mPlayer.mediaCollection.add(x.ToLower());
                    var song = Song.Create(x.ToLower());
                    SongInfo.Add(x.ToLower(), song);
                }
            });
        }