Added CBC Podcasts

This commit is contained in:
dmdmdm 2020-05-20 17:10:56 -04:00 committed by John Maguire
parent 157a9d1d1f
commit 7caf200efa
6 changed files with 10 additions and 0 deletions

View File

@ -327,6 +327,7 @@
<file>providers/22x22/aol.png</file>
<file>providers/22x22/bbc.png</file>
<file>providers/22x22/box.png</file>
<file>providers/22x22/cbc.png</file>
<file>providers/22x22/cdbaby.png</file>
<file>providers/22x22/digitallyimported.png</file>
<file>providers/22x22/dropbox.png</file>
@ -359,6 +360,7 @@
<file>providers/32x32/aol.png</file>
<file>providers/32x32/bbc.png</file>
<file>providers/32x32/box.png</file>
<file>providers/32x32/cbc.png</file>
<file>providers/32x32/cdbaby.png</file>
<file>providers/32x32/digitallyimported.png</file>
<file>providers/32x32/dropbox.png</file>
@ -391,6 +393,7 @@
<file>providers/48x48/aol.png</file>
<file>providers/48x48/bbc.png</file>
<file>providers/48x48/box.png</file>
<file>providers/48x48/cbc.png</file>
<file>providers/48x48/cdbaby.png</file>
<file>providers/48x48/digitallyimported.png</file>
<file>providers/48x48/dropbox.png</file>

Binary file not shown.

After

Width:  |  Height:  |  Size: 985 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -38,6 +38,9 @@
const char* AddPodcastDialog::kBbcOpmlUrl =
"http://www.bbc.co.uk/podcasts.opml";
const char* AddPodcastDialog::kCbcOpmlUrl =
"http://cbc.ca/podcasts.opml";
AddPodcastDialog::AddPodcastDialog(Application* app, QWidget* parent)
: QDialog(parent),
app_(app),
@ -91,6 +94,9 @@ AddPodcastDialog::AddPodcastDialog(Application* app, QWidget* parent)
AddPage(new FixedOpmlPage(QUrl(kBbcOpmlUrl), tr("BBC Podcasts"),
IconLoader::Load("bbc", IconLoader::Provider),
app, this));
AddPage(new FixedOpmlPage(QUrl(kCbcOpmlUrl), tr("CBC Podcasts"),
IconLoader::Load("cbc", IconLoader::Provider),
app, this));
AddPage(new GPodderTopTagsPage(app, this));
AddPage(new GPodderSearchPage(app, this));
AddPage(new ITunesSearchPage(app, this));

View File

@ -41,6 +41,7 @@ class AddPodcastDialog : public QDialog {
~AddPodcastDialog();
static const char* kBbcOpmlUrl;
static const char* kCbcOpmlUrl;
// Convenience methods that open the dialog at the Add By Url page and fill
// it with either a URL (which is then fetched), or a pre-fetched OPML