Esempio n. 1
0
        private void PerformTorrentBrowse()
        {
            try
            {
                m_Facade.Clear();

                setGUIProperty("Browse.Source", DownloadHelper.GetTorrentSourceDescription(curBrowseSource));
                setGUIProperty("Browse.ResultDescription", "Searching...");

                List <TorrentLink> links = DownloadHelper.BrowseTorrents(curBrowseSource);
                ShowBrowseResults(links);
            }
            catch (Exception ex)
            {
                BaseConfig.MyAnimeLog.Write("Error in PerformTorrentSearch: {0}", ex.ToString());
                return;
            }
        }
Esempio n. 2
0
		private void PerformTorrentBrowse()
		{
			try
			{
				m_Facade.Clear();

                SetGUIProperty(GuiProperty.Browse_Source, EnumTranslator.TorrentSourceTranslated(curBrowseSource));
                SetGUIProperty(GuiProperty.Browse_ResultDescription, Translation.Searching + "...");
                List<TorrentLink> links = DownloadHelper.BrowseTorrents(curBrowseSource);
				ShowBrowseResults(links);

			}
			catch (Exception ex)
			{
				BaseConfig.MyAnimeLog.Write("Error in PerformTorrentSearch: {0}", ex.ToString());
				return;
			}
		}