VocalPodcastProject / vocal

A powerful, beautiful, and simple podcast client for the modern free desktop.
GNU General Public License v3.0
347 stars 49 forks source link

Support HTTP Authentication #50

Open nathandyer opened 8 years ago

nathandyer commented 8 years ago

Feature request: currently Vocal is unable to download content from feeds which require HTTP authentication.

I use some pay-for podcast services which require a username and password to view content. Vocal is able to parse the publicly accessible feed for these podcasts and will list new episodes, but when I try to play or download them nothing happens (as you would expect). This is because HTTP authentication is required in order to download any content from the server.

An example of such a feed is http://feed.overseakids.com/qiangqiang3_hd.xml (unfortunately I can't provide my username and password for testing)

It would be great if HTTP authentication could be added to a later version of Vocal - ideally users would be prompted for their username and password when they first try to download content, then Vocal would remember those details for any subsequent downloads. I believe there are many other podcast users out there who use this feature regularly in other clients.

For examples of how this has been implemented elsewhere, developers could look to podcast clients on Android (BeyondPod) and on Linux (gPodder), both of which provide HTTP/FTP authentication functionality.

I understand that this may not be a priority as there are probably other aspects of the application which need smoothing out first - but I would be willing to offer a bounty or donation if this feature could be added - others might also join me.

nathandyer commented 8 years ago

See bvw_check_missing_auth() in src/backend/bacon-video-widget.c in Totem for an example of doing that with GStreamer, using the stock GTK+ password window.

bidinou commented 6 years ago

Hi ! Just wondering whether I'm in the same use case. I have a newspaper subscription that comes with a private key to get the audio version of the articles (Le Monde Diplomatique). Very handy as article are verrrry long (sometimes 30 mins long when read !).

The private RSS feed looks like this : https://www.monde-diplomatique.fr/audio/rss?cle=XXX (XXX contains a 26 chars long key) I do not need a login/password combination. It's just a custom URL.

When added into Vocal (love it, BTW !), I only get the 1 min excerpt of the articles. Same behavior in Clementine for instance. But I do get the full versions of the articles when adding this URL into Rhythmbox or Firefox itself for instance.

Thanks again & keep up the great work !

bidinou commented 6 years ago

Hmm... For some reason when I removed and readded the subscription from Vocal, I did get the full versions of the articles. Adding it crashes Vocal each time (but works after restarting). To be more accurate, it seems to crash if re-adding it after removing it, without restarting in the meantime. For some reason, this time, it didn't get the podcast cover (which it managed to get the former time).

Well, there's something strange. Please let me know, I can share this URL in private ! (using version 2.2 from flathub, UIbuntu 18.04)

It might be useful to know : the first time I added this podcast URL, it was the first podcast I added from the app on the first launch, from the wizard if I remember correctly.

Cheers !