amugofjava / anytime_podcast_player

Simple, easy to use Podcast player app written in Flutter and Dart.
BSD 3-Clause "New" or "Revised" License
376 stars 99 forks source link

Forcing https can cause some podcasts to fail loading #103

Closed amugofjava closed 9 months ago

amugofjava commented 9 months ago

Describe the bug Anytime forces all urls to use https, partly because it is more secure and party to overcome a bug in Dart: 51532

To Reproduce Steps to reproduce the behavior:

  1. Search for the 'Clutterbug' podcast.
  2. Open the podcast to load the feed.
  3. Feed fails to load and shows the generic load failed error.

Expected behavior It should load the podcast episodes.

Smartphone (please complete the following information):

Additional context The issue here is that the Clutterbug uses http for the podcast feed. When forcing it to use https we get a certificate error as the certificate is for podbean.com and not https://clutterbug.me so we get a hostname missmatch exception.

amugofjava commented 9 months ago

If a podcast load fails and the URL starts https (which it always should), Anytime will try again but with http only. At a later stage this may be made option in settings, but for now it removes an issue where some podcast feeds do not have a certificate in place for https.