[gpodder-devel] Downloaded podcasts not recognized.

  • From: jon at sd-6.org (Jon)
  • Date: Fri, 06 Apr 2007 10:11:32 -0500


Thomas Perl wrote:
> Hello, Jon!
> 
> On Fri, 2007-04-06 at 00:21 -0500, Jon wrote:
>> I've got a strange issue with one of my feeds.  If I download a
>> podcast and check it the next day.  The downloaded one is at the
>> bottom of the list.  It is also near the top of the list, where it
>> would be expected to be but appears as a new podcast to be downloaded.
>> For some reason it is not associating the downloaded podcast with the
>> one in the list.
>>
>> The only thing that really stands out on this particular one is that
>> it is subscription based.  Access is controlled via http auth.  I have
>> my feed setup like http://user:pass at url.  This may or may not be
>> related.
> 
> Should be no problem if the RSS feed adds the authentication data to the
> links of your podcast.
> 
>> I'd like to work on a patch if someone can quickly tell me how it
>> associates downloaded files with xml items. 
> 
> gPodder defines episodes as unique by their download URL, because the
> same URL will always retrieve the same content. The problem with your
> feed can have two causes I can think of from the top of my head:
> 
> * Session ID is passed through the URL
> * Load balancing changes the URL on every update (mirrors)
> 
> It would be nice if you could send me the RSS file in question (you can
> obfuscate the domain part of the URL and replace any authentication data
> that might be in the URLs). Please, send me one copy of the RSS file
> when you're downloading files and then send me another copy when the
> problem you described appears. The RSS files can be found in
> ~/.config/gpodder/cache/.

Thanks Tomas,

It appears that they are passing either the sessionid or the encrypted
password in the url.

Yesterdays update:
<item>
        <title>Thu, April 5th, 2007 Hour 1</title>
        <link>http://www.glennbeck.com/</link>
        <itunes:author>Glenn Beck</itunes:author>
        <itunes:subtitle>The Glenn Beck Program Thu, April 5th, 2007 Hour
1</itunes:subtitle>
        <enclosure type="audio/mpeg"
url="http://rss.premiereradio.net/download/glennbeck/{url-enc-email-addy-aka-username}/{40-digit-hex-key}/glennbeck/2007/04/Glenn%20Beck%20-%20Apr%2005%202007%20-%20Hour%201.mp3";
/>
        <guid>0c153a870fe62a9cecddb2f7c54e2117</guid>
        <itunes:explicit>no</itunes:explicit>
        <itunes:keywords>Glenn Beck, Sick Freak, Talk</itunes:keywords>
        <pubDate>Thu, 05 Apr 2007 13:00:00 GMT</pubDate>
</item>


Todays update:
<item>
        <title>Thu, April 5th, 2007 Hour 1</title>
        <link>http://www.glennbeck.com/</link>
        <itunes:author>Glenn Beck</itunes:author>
        <itunes:subtitle>The Glenn Beck Program Thu, April 5th, 2007
Hour 1</itunes:subtitle>
        <enclosure type="audio/mpeg"
url="http://rss.premiereradio.net/download/glennbeck/{url-enc-email-addy-aka-username}/{40-digit-hex-key}/glennbeck/2007/04/Glenn%20Beck%20-%20Apr%2005%202007%20-%20Hour%201.mp3";
/>
        <guid>0c153a870fe62a9cecddb2f7c54e2117</guid>
        <itunes:explicit>no</itunes:explicit>
        <itunes:keywords>Glenn Beck, Sick Freak, Talk</itunes:keywords>
        <pubDate>Thu, 05 Apr 2007 13:00:00 GMT</pubDate>
</item>


Not sure why they would do that as I tried downloading the old and
assumed expired url and it worked fine.  I don't have this problem with
iTunes.  I assume they look for the guid.  Perhaps gPodder should do the
same.

Thanks,
-Jon


> 
> 
> Thanks,
> Thomas
> 


Other related posts: