AntennaPod icon indicating copy to clipboard operation
AntennaPod copied to clipboard

A podcast's Icon will not download.

Open RandomAcronym opened this issue 12 years ago • 2 comments

I am having a problem with the podcast Science Friday's Image; It always fails to download with the error java.net.URLsyntaxException: Illegal character in authority at index 7: http://assets.libsyn.com/images/sciencefriday/Podcast600.png I thought it might have somthing to do with that URL being a redirect to http://static.libsyn.com/p/assets/8/7/5/d/875d8a73b6f3a653/Podcast600.png so I saved a copy of scifriaudio.xml to my Dropbox with the first URL replaced with the second; got the same error but with the second URL.

since I only get this error on the one podcast I would not mind just placing the image file in the directory it needs to be in, But I'm not sure how to do that. (placed a image-Podcastname file with all the rest of them, nothing happens)

RandomAcronym avatar Jun 16 '14 03:06 RandomAcronym

The url in the error actually is http:// http://assets.libsyn....

This leads me to believe that leading and trailing whitespace needs to be stripped in the content string when parsing a channel::image::url (and possibly just applied to everything)

screenshot_2014-06-23-10-43-04

The relevant part from the RSS feed is:

    <itunes:image href="http://assets.libsyn.com/images/sciencefriday/Podcast600.png"/>
    <image>
        <url>
            http://assets.libsyn.com/images/sciencefriday/Podcast600.png
        </url>
        <title>Science Friday audio Podcast</title>
        <link>http://www.sciencefriday.com</link>
    </image>

I imagine that this would parse successfully if the feed was actually:

    <itunes:image href="http://assets.libsyn.com/images/sciencefriday/Podcast600.png"/>
    <image>
        <url>http://assets.libsyn.com/images/sciencefriday/Podcast600.png</url>
        <title>Science Friday audio Podcast</title>
        <link>http://www.sciencefriday.com</link>
    </image>

sharth avatar Jun 23 '14 15:06 sharth

@sharth Thank you for looking into this issue. The bug should be fixed now.

danieloeh avatar Jul 07 '14 19:07 danieloeh