anytime_podcast_player icon indicating copy to clipboard operation
anytime_podcast_player copied to clipboard

Cannot play a redirected episode

Open kingonly opened this issue 2 years ago • 2 comments

Describe the bug It seems that Anytime cannot play op3 redirected episodes. Maybe an issue with the enclosure URL?

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Curry and The Keeper' podcast
  2. Click on the play button of episode 22
  3. Episode isn't playing

Expected behavior Should play like other episodes

Screenshots If applicable, add screenshots to help explain your problem. Screenshot_2022-09-29-06-54-27-44_5a6daf00ebe96535dfcd2244bec324cc

Smartphone

  • OnePlus 8T
  • Android 11

Additional context I was told this specific episode is using a redirected enclosure URL.

kingonly avatar Sep 29 '22 04:09 kingonly

I found the problem, there is a space on the URL: <enclosure url="https://op3.dev/e/mp3s.nashownotes.com/CATK-22-2022-09-28-Final.mp3 " type="audio/mpeg" length="59004805"/> http://feed.nashownotes.com/catkrss.xml

I'll trim the URL before trying to download it to fix this bug.

ademar111190 avatar Sep 29 '22 14:09 ademar111190

Fixed:

  • https://github.com/breez/anytime_podcast_player/commit/062ea0082eb4df5cdd16e6cefe9126075a253cc9
  • https://github.com/breez/breezmobile/commit/2bf84323dea2ba5f846d5d9e957b571d3d18d145

crepe-neck.webm

ademar111190 avatar Sep 29 '22 15:09 ademar111190