// FIXME: Adding torrents not on the main loop, will throw up!
        // Solutions: Pop every add onto main loop resulting in blocking
        // or add async Load(uri, location) to library, or let the GUI
        // program handle downloading the torrent file
        public void AddTorrent(TorrentRssWatcherEventArgs args)
        {
            history.Add(args.Item);
            historyListStore.AppendValues(args.Item);

            Event.Raise <TorrentRssWatcherEventArgs>(TorrentFound, this, args);
        }
        private void OnTorrentMatched(object sender, TorrentRssWatcherEventArgs args)
        {
            Console.Out.WriteLine("Found torrent: " + args.Item.Title + " Matched filter: " + args.Filter.Name);

            foreach (RssItem item in history)
            {
                if (item.Link == args.Item.Link)
                {
                    logger.Debug("Torrent already previously downloaded - " + item.Title);
                    return;
                }
            }

            AddTorrent(args);
        }
        private void OnTorrentMatched(object sender, TorrentRssWatcherEventArgs args)
        {
            Console.Out.WriteLine("Found torrent: " + args.Item.Title + " Matched filter: " + args.Filter.Name);

            foreach (RssItem item in history) {
                if(item.Link == args.Item.Link){
                    logger.Debug("Torrent already previously downloaded - " + item.Title);
                    return;
                }
            }

            AddTorrent(args);
        }
        // FIXME: Adding torrents not on the main loop, will throw up!
        // Solutions: Pop every add onto main loop resulting in blocking
        // or add async Load(uri, location) to library, or let the GUI
        // program handle downloading the torrent file
        public void AddTorrent(TorrentRssWatcherEventArgs args)
        {
            history.Add(args.Item);
            historyListStore.AppendValues(args.Item);

            Event.Raise<TorrentRssWatcherEventArgs>(TorrentFound, this, args);
        }