private void SetIMDBThumbs(ArrayList items)
        {
            GUIListItem listItem;
            ArrayList   movies = new ArrayList();

            for (int x = 0; x < items.Count; ++x)
            {
                listItem = (GUIListItem)items[x];
                if (listItem.IsFolder)
                {
                    if (File.Exists(listItem.Path + @"\VIDEO_TS\VIDEO_TS.IFO"))
                    {
                        movies.Clear();
                        string pathName = listItem.Path + @"\VIDEO_TS";
                        VideoDatabase.GetMoviesByPath(pathName, ref movies);
                        for (int i = 0; i < movies.Count; ++i)
                        {
                            IMDBMovie movieDetails = (IMDBMovie)movies[i];
                            string    fileName     = "VIDEO_TS.IFO";
                            if (movieDetails.File[0] == '\\' || movieDetails.File[0] == '/')
                            {
                                movieDetails.File = movieDetails.File.Substring(1);
                            }

                            if (fileName.Length > 0)
                            {
                                if (movieDetails.File == fileName /*|| pItem->GetLabel() == info.Title*/)
                                {
                                    if (Util.Utils.IsDVD(listItem.Path))
                                    {
                                        listItem.Label = String.Format("({0}:) {1}", listItem.Path.Substring(0, 1), movieDetails.Title);
                                    }
                                    string coverArtImage = Util.Utils.GetCoverArt(Thumbs.MovieTitle, movieDetails.Title + "{" + movieDetails.ID + "}");
                                    if (Util.Utils.FileExistsInCache(coverArtImage))
                                    {
                                        listItem.ThumbnailImage = coverArtImage;
                                        listItem.IconImageBig   = coverArtImage;
                                        listItem.IconImage      = coverArtImage;
                                    }
                                    // look for better thumbs
                                    coverArtImage = Util.Utils.ConvertToLargeCoverArt(coverArtImage);
                                    if (Util.Utils.FileExistsInCache(coverArtImage))
                                    {
                                        listItem.ThumbnailImage = coverArtImage;
                                    }
                                    break;
                                }
                            }
                        }
                    }
                }
                else
                {
                    // Try to fetch covers for playlist items added from database views
                    int movieId = VideoDatabase.GetMovieId(listItem.Path);
                    if (movieId > 0)
                    {
                        IMDBMovie movie = new IMDBMovie();
                        VideoDatabase.GetMovieInfoById(movieId, ref movie);
                        listItem.AlbumInfoTag = movie;
                        string cover = Util.Utils.GetCoverArt(Thumbs.MovieTitle, movie.Title + "{" + movieId + "}");
                        if (Util.Utils.FileExistsInCache(cover))
                        {
                            listItem.ThumbnailImage = cover;
                            listItem.IconImageBig   = cover;
                            listItem.IconImage      = cover;
                        }
                        // look for better thumbs
                        cover = Util.Utils.ConvertToLargeCoverArt(cover);
                        if (Util.Utils.FileExistsInCache(cover))
                        {
                            listItem.ThumbnailImage = cover;
                        }
                    }
                }
            }

            movies.Clear();
            VideoDatabase.GetMoviesByPath(currentFolder, ref movies);
            for (int x = 0; x < items.Count; ++x)
            {
                listItem = (GUIListItem)items[x];
                if (!listItem.IsFolder)
                {
                    IMDBMovie movieDetails = new IMDBMovie();
                    int       idMovie      = VideoDatabase.GetMovieInfo(listItem.Path, ref movieDetails);
                    if (idMovie >= 0)
                    {
                        string coverArtImage = Util.Utils.GetCoverArt(Thumbs.MovieTitle, movieDetails.Title);
                        if (Util.Utils.FileExistsInCache(coverArtImage))
                        {
                            listItem.ThumbnailImage = coverArtImage;
                            listItem.IconImageBig   = coverArtImage;
                            listItem.IconImage      = coverArtImage;
                        }
                        // look for better thumbs
                        coverArtImage = Util.Utils.ConvertToLargeCoverArt(coverArtImage);
                        if (Util.Utils.FileExistsInCache(coverArtImage))
                        {
                            listItem.ThumbnailImage = coverArtImage;
                        }
                    }
                    else
                    {
                        Util.Utils.SetThumbnails(ref listItem);
                    }
                }
            }
        }