After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 370772 - Fails to add podcasts that are unavailable
Fails to add podcasts that are unavailable
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: Podcast
0.9.4.1
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-11-04 23:18 UTC by Sven Arvidsson
Modified: 2008-11-15 08:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (3.79 KB, patch)
2006-11-20 12:21 UTC, James "Doc" Livingston
none Details | Review

Description Sven Arvidsson 2006-11-04 23:18:00 UTC
This bug was added to the Debian BTS.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374855

"I'd like to subscribe to Staccato

 http://staccatomusic.org/podcast/

Unfortunately, my employer blocks this web site and returns a 403
Forbidden error when I try to contact it.  As a result, it displays a
dialog that contains the following text:

 Error in podcast

 There was a problem adding this podcast.  Please
 verify the URL: http://staccatomusic.org/podcast/

 [Close]

I'd prefer that it add the feed and, when I get home and the URL is
accessible, add the rest of the information about it."
Comment 1 James "Doc" Livingston 2006-11-08 13:16:23 UTC
I'm not sure what would be best to do here, as we can't tell the difference between a transient and permanent error for things like this. Perhaps an "add anyway" button?
Comment 2 Matt Kraai 2006-11-12 06:59:46 UTC
(In reply to comment #1)
> I'm not sure what would be best to do here, as we can't tell the difference
> between a transient and permanent error for things like this. Perhaps an "add
> anyway" button?

As the submitter of the upstream report, I'd be happy with this solution.  Thanks for looking at the issue.
Comment 3 James "Doc" Livingston 2006-11-20 12:21:35 UTC
Created attachment 76910 [details] [review]
patch

Patch that implements the above
Comment 4 Jonathan Matthew 2006-11-21 11:26:06 UTC
Looks sensible enough.  In the case where we don't get a title for the feed so we use the URL instead, it looks like the title won't ever be set correctly.  Perhaps we should update podcast feed properties in rb_podcast_manager_insert_feed if the feed entry already exists?
Comment 5 James "Doc" Livingston 2006-11-21 11:40:41 UTC
It also displays the error message if it fails to update an existing feed, which isn't great.
Comment 6 Jonathan Matthew 2007-05-06 13:42:57 UTC
This patch is included in the latest revision of the patch on bug 352493, since they're dealing with the same thing.  With the updated patch, the error message+question is only displayed for new feeds.  For existing feeds, the error is displayed (with no question) if the user manually requested the update.
Comment 7 Eric Piel 2008-09-03 22:13:24 UTC
In case of error when adding a podcast, there is now a dialog box asking if the podcast should be kept anyway. So this bug is fixed, please close it :-)