private void QueuePodcastDownload(PodcastInfo pi) { if (pi.CanDownload) { PodcastCore.QueuePodcastDownload(pi); } }
protected override void PluginDispose() { Globals.ActionManager.UI.RemoveUi(ui_manager_id); Globals.ActionManager.UI.RemoveActionGroup(actions); actions = null; PodcastCore.Dispose(); }
private void SyncPodcasts() { if (sync_preference == SyncPreference.None) { return; } lock (podcasts.SyncRoot) { if (sync_preference == SyncPreference.One) { if (podcasts.Count > 0) { PodcastInfo pi = podcasts [0] as PodcastInfo; QueuePodcastDownload(pi); } } else if (sync_preference == SyncPreference.All) { PodcastCore.QueuePodcastDownload(podcasts); } } }
protected override void InterfaceInitialize() { InstallInterfaceActions(); PodcastCore.Initialize(this); }
private void OnVisitPodcastAlleyHandler(object sender, EventArgs args) { PodcastCore.VisitPodcastAlley(); }
private void OnPodcastSubscribeHandler(object sender, EventArgs args) { PodcastCore.RunSubscribeDialog(); }
private void OnPodcastUpdateFeedsHandler(object sender, EventArgs args) { PodcastCore.UpdateAllFeeds(); }