castget icon indicating copy to clipboard operation
castget copied to clipboard

Error with "Der graue Rat" podcast

Open manalishi opened this issue 9 years ago • 3 comments

Hi.

I am getting the following error message:

Updating channel Der Graue Rat... Error opening enclosure file /home/jupiter/download/podcasts.

manalishi avatar Jan 26 '17 18:01 manalishi

Can you add the URL to the RSS feed please?

mlj avatar Jan 26 '17 21:01 mlj

Sorry.

Here is the URL: http://www.der-graue-rat.de/?feed=mp3

manalishi avatar Jan 26 '17 21:01 manalishi

This is a problem with the RSS parsing code, which fails to deduce a sensible filename for enclosures with filenames like http://www.der-graue-rat.de/?download_media_file=864&ptm_source=feed&ptm_context=mp3&ptm_file=GrauerRat-032.mp3.

The strategy in https://github.com/mlj/castget/blob/d5a5ae6a4a50772b8e7f54c475ec5e66031d32ae/src/rss.c#L114 now is to chop off everything after ?. Clearly we need a secondary strategy (+ a proper test for failing cases).

mlj avatar Jan 26 '17 21:01 mlj