/// <summary>
        /// Searchs for a torrent for the specified media item
        /// </summary>
        /// <param name="mediaItem">Media item to search for a torrent for</param>
        private void TorrentSearch(MediaItem mediaItem)
        {
            if (String.IsNullOrEmpty(Options.TorrentSearchUrl.Trim()))
            {
                MessageBox.Show("Please set the torrent search options to search for torrents.", Title, MessageBoxButton.OK, MessageBoxImage.Error);
            }
            else
            {
                try
                {
                    IntelligentString searchString = IntelligentString.Empty;

                    if (!String.IsNullOrEmpty(Options.TorrentSearchPrefix.Trim()))
                    {
                        searchString += Options.TorrentSearchPrefix.Trim() + " ";
                    }

                    searchString += mediaItem.GetSearchString();

                    if (!String.IsNullOrEmpty(Options.TorrentSearchSuffix.Trim()))
                    {
                        searchString += " " + Options.TorrentSearchSuffix.Trim();
                    }

                    if (!String.IsNullOrEmpty(Options.TorrentSearchSpaceCharacter.Trim()))
                    {
                        searchString = searchString.Replace(" ", Options.TorrentSearchSpaceCharacter.Trim());
                    }

                    searchString = Options.TorrentSearchUrl.Trim() + searchString;

                    if (!searchString.StartsWith("http"))
                    {
                        searchString = "http://" + searchString;
                    }

                    Process.Start(searchString.Value);
                }
                catch (NotSupportedException)
                {
                    MessageBox.Show("Cannot search for torrents for " + mediaItem.Type.ToString() + " files.", Title, MessageBoxButton.OK, MessageBoxImage.Information);
                }
            }
        }