• Resolved ckerry

    (@ckerry)


    I’ve found a solution to the problem where podcasts were not playing if downloaded by the iOS Podcast app.

    Last year @philipsw posted that the issue was to do with redirects being added to the filenames, but wasn’t sure how to correct the code.

    In ‘sermon-browser/sb-includes/podcast.php’ lines 57-61 deal with this issue and either add a direct url or a redirect depending on the UserAgent of the browser, however the UserAgent for the iOS app is not checked.

    Changing line 57 to read:
    if (stripos($user_agent, ‘itunes’) !== FALSE || stripos($user_agent, ‘FeedBurner’) !== FALSE) || stripos($user_agent, ‘AppleCoreMedia’) !== FALSE)

    solves the issue.

    I hope this is of use to others and can be included in the next update.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘SOLVED – Issue with “podcast unavailable”’ is closed to new replies.