Alkarex / EasyRSS

Android client for RSS services compatible with Google Reader API
http://freshrss.org
GNU General Public License v3.0
120 stars 13 forks source link

Audio attachments can be played but can't be downloaded #78

Closed jfcolom closed 2 weeks ago

jfcolom commented 2 weeks ago

If the RSS item has some audio file attached, the app shows a "mini player" to play the audio. Apparently the "mini player" allows you to download the media, but the menu option is always disabled (the media can be downloaded when the item is accessed directly with FreshRSS).

Maybe it is an issue with Android > 12

Good app! Thanks a lot!

Alkarex commented 2 weeks ago

Hello, I do not plan to add more features to this app, only basic maintenance. But PR welcome if anyone comes with a fix. You could try the Web version of FreshRSS or one of the other apps: https://github.com/FreshRSS/FreshRSS/blob/edge/README.md#apis--native-apps (unfortunately, there is not yet one app which passes all my minimum criteria, and which I could recommend, but a few are under active development)

jfcolom commented 2 weeks ago

Thank you for your answer. EasyRSS is the the most fitting app for me, as it allows me to review my RSS content while I'm offline.

Regarding to the disabled Download option in the audio player, I'm now inclined to think that it is an issue on the FreshRSS side. When I browse FreshRSS using the smartphone's browser, I get a "Network error" when trying to download the media using the player (it works properly when browsing FreshRSS from a desktop computer). EasyRSS appears not to show the error message, so the Download option seems "disabled" to me, but it is throwing an error instead.

Alkarex commented 2 weeks ago

inclined to think that it is an issue on the FreshRSS side

If there is a suspicion of error on FreshRSS side, could you please open an issue with a bit more info such as example of feed with the problem?

jfcolom commented 2 weeks ago

Trying to narrow down my issue, I've come to know that the problem is related to the way the

Now I can figure it out why is there an additional download link on the FreshRSS web page (the floppy disk symbol). Unfortunately, this link does not appear in EasyRSS

related

Alkarex commented 2 weeks ago

Could you provide an example of feed and a screenshot or two?

jfcolom commented 1 week ago

Sure!

This screenshot is from EasyRSS, showing an item that includes a media resource (I think it is called "enclosure" in the RSS jargon). The app shows a basic player with an option to Download the stream as a media file as well as another one to set the playback speed. In my smartphone, the "Download" option is irresponsive.

screenshot_easyrss

A similar behaviour is shown by FreshRSS with the very same item from my smartphone. In this case, though, an error message is notified by my browser ("Network error"). However, FreshRSS, provides an extra "floppy disk" button that allows to download the file (see next screenshot)

screenshot_freshrss

I think this happens with any feed providing "enclosures". For example:

https://feeds.acast.com/public/shows/62b0ada25c7ea10012f541cb

Alkarex commented 1 week ago

In FreshRSS Web interface, can you try a long click on the media? It should offer an option to download (tested on Firefox for mobile)

jfcolom commented 1 week ago

In FressRSS web interface, I don't get any additional option when doing "long click" on the player. I'm using Brave for mobile. When tapping on the menu (three vertical points on the right of player, see second screenshot) I get the very same options as in EasyRSS: Download and Playback speed. Download triggers a "Network error"; the floppy disk button works ok. From a desktop computer, the two links work ok.

Having a look at the HTML source code, it seems to me that it has to do with the way that the browser deals with the HTML "audio" tag.