Bug 183329 - JJ: podcast feed pudates are not parsed correctly
Summary: JJ: podcast feed pudates are not parsed correctly
Status: RESOLVED DUPLICATE of bug 181338
Alias: None
Product: amarok
Classification: Applications
Component: Podcast (show other bugs)
Version: 2.0.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-05 17:43 UTC by Mathias Panzenböck
Modified: 2009-12-09 11:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Panzenböck 2009-02-05 17:43:39 UTC
Version:           2.0.1 (using 4.2.00 (KDE 4.2.0), 4.2.0-7.fc10 Fedora)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.12-170.2.5.fc10.x86_64

The entries of a podcast feed are sorted alphabetically instead of by date. Example feed: http://chaosradio.ccc.de/chaosradio_express-latest.rss

This did work with amarok 1.
Comment 1 Bart Cerneels 2009-02-05 19:57:43 UTC
Looks like this feed doesn't use the correct format for pubdate. I do some very simple parsing of the pubdate that can not handle this.

The code is in PodcastReader.cpp:294 perhaps someone can take a look at it to help solve this.
Comment 2 Bart Cerneels 2009-02-05 20:07:30 UTC

*** This bug has been marked as a duplicate of bug 181338 ***
Comment 3 Mathias Panzenböck 2009-02-05 21:44:34 UTC
The owner of the feed says he generates a standard compliant date formate. He twittered:
RFC822 sagt: date-time = [ day "," ] date time
Comment 4 Bart Cerneels 2009-02-05 22:14:29 UTC
Yup, my bad. I though implementing that was to easy.
I will attempt a quick bugfix, but this definitely could still fail very easily.

The Junior Job remains open. Sorting should be done on either pubdate or order of episodes in the feed if not available.

Bart