akrennmair / newsbeuter

Newsbeuter is an open-source RSS/Atom feed reader for text terminals.
http://www.newsbeuter.org/
MIT License
781 stars 100 forks source link

An image instead of audio is selected as the Podcast Download URL #604

Open wzhd opened 6 years ago

wzhd commented 6 years ago

Newsbeuter version (copy from newsbeuter -v): newsbeuter 2.9

Steps to reproduce the issue:

  1. Add a podcast that has both image and audio files, for instance, nstaaf. If you open this in Firefox, you can see that each episode contains too files.

  2. Press Enter to view details, notice the Podcast Download URL links to a jpg file

Other info you think is relevant:

I think there should be an option to download all attachments.

Minoru commented 6 years ago

Newsbeuter is no longer maintained; I'm leading a fork named Newsboat.

Regarding your suggestion, do you need all attachments, or will the first audio suffice? (The latter is much easier to implement.)

wzhd commented 6 years ago

@Minoru

(Thanks for keeping an eye on issues posted here)

Yes, the first audio is all that I need.

Minoru commented 6 years ago

Newsboat now uses the last audio enclosure as its podcast URL. "Last" is easier to implement than "first"; works fine for "audio and jpeg" situation, and if it ever becomes a problem for someone, we'll need much bigger changes anyway.

Please build from my repo and test if you can.