Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import shared episodes #5643

Closed
3 tasks done
arnefischereit opened this issue Jan 6, 2022 · 6 comments
Closed
3 tasks done

Import shared episodes #5643

arnefischereit opened this issue Jan 6, 2022 · 6 comments

Comments

@arnefischereit
Copy link

Checklist

  • I have used the search function to see if someone else has already submitted the same feature request.
  • I will describe the problem with as much detail as possible.
  • This request contains only one single feature, not a list of multiple (related) features.

App version

2.4.1

Where did you get the app from

F-Droid

Problem you may be having, or feature you want

On Spotify, I can send my friends a URL to an episode that I find particularly interesting.

With AntennaPod, this works well for whole pod casts and I can via the menu share a URL address to the episode (including the current position).

However, on the receiving side, I could not find a way to import that episode from that URL. When opening that URL in the browser, I can of course listen to that episode there. When choosing to share that page, I am only offered to add that podcast to AntennaPod.

Suggested solution

What I would like to see is next to "Add Podcast" an option to "Open Episode". This might require me to subscribe to the podcast in the first place but that would be alright with me.

Beyond that, it would be nice to have a function in AntennaPod to open an episode from clipboard.

Screenshots / Drawings / Technical details

Current Dialog for sharing an episode:
Share_Episode

Option to add podcast (but not open episode) from URL in Firefox:
Import_Podcast

@keunes
Copy link
Member

keunes commented Jan 6, 2022

Hi @arnefischereit
Thanks for chipping in. It is a good request but playing single episodes is currently not possible yet, so opening a single shared episode isn't possible either. That functionality to play individual episodes without subscribing to a podcast has been requested in #4710. I recommend giving that a thumbs-up and follow it.

Unless @ByteHamster thinks this request should be kept open separately, I would close this issue and add a comment in the other one that opening a shared episode should be made possible somehow.

@ByteHamster
Copy link
Member

Yeah, I would say we can merge this request with #4710. To be honest, I don't know if it is even possible to do, technically. Real podcasts are decentralized with a podcast RSS feed, so there is no way of determining the podcast url when being given the episode url. It works on services like Spotify because they are technically not doing podcasts but just audio-on-demand.

I mean, what we could do would be to share a link to some AntennaPod website that already contains podcast title, episode title, episode url and podcast url... Something like:

antennapod.org/share/ ?episode_title= LdN272%20EU-Taxonomie%20und%20nachhaltige%20Investitionen%2C%20Endgegner%20Omikron%2C%20Corona-%22Spazierg%C3%A4nge%22%2C%201%20Jahr%20Sturm%20auf%20US-Kapitol%2C%20Steinmeier%20bleibt%20Bundespr%C3%A4sident &episode_url= https%3A%2F%2Fdts.podtrac.com%2Fredirect.mp3%2Ffiles.lagedernation.org%2Flagedernation%2FLdN272.mp3%3Fptm_source%3Dfeed%26ptm_context%3Dmp3%26ptm_file%3DLdN272.mp3 &podcast_title= Lage%20der%20Nation%20-%20der%20Politik-Podcast%20aus%20Berlin &podcast_url= https%3A%2F%2Ffeeds.lagedernation.org%2Ffeeds%2Fldn-mp3.xml

but that seems kind of weird to me, to be honest...

@keunes
Copy link
Member

keunes commented Jan 7, 2022

I can think of two options:

  • when AntennaPod receives an episode webpage or media URL, it checks if it happens to be in its database
    • if yes, it can be displayed
    • if not, it can search the podcast based on the url to at least find the relevant podcast (?)
  • when sharing an episode, we query the episode ID and add an extra link (in addition to the open protocol URLs we already include): "Open this episode in AntennaPod: ...", which leads to a website page similar to our subscribe page but then for opening an episode, containing the Episode ID. Both the app and the website (if a user doesn't have our app) can then get the RSS URL and the right episode via the API. (Alternatively we register an intent for a podcastindex.org episode URL, which other apps can do as well, to have a more generic approach.)

@ByteHamster
Copy link
Member

if not, it can search the podcast based on the url to at least find the relevant podcast (?)

Where would it search for that? URLs are often just some random character sequence on Amazon S3.

which leads to a website page similar to our subscribe page but then for opening an episode, containing the Episode ID

That's basically what I suggested above but it requires weird, huge URLs.

can then get the RSS URL and the right episode via the API

Do you mean the PodcastIndex API? I don't really want AntennaPod to become just a front-end for PodcastIndex...

@keunes
Copy link
Member

keunes commented Jan 7, 2022

Where would it search for that? URLs are often just some random character sequence on Amazon S3.

Take the shared URL, remove bits like dashes, 'www', slashes, etc. Then we use our usual search sources (gpodder, iTunes, PI, fyyd).

That's basically what I suggested above but it requires weird, huge URLs.

Yes, sorry, when I said 'Episode ID' I indeed meant the Podcast Index. This would not be a long URL:

2.5 Admins Podcast: 2.5 Admins 72 - Email Cartel
https://2.5admins.com/2-5-admins-72/

Open in AntennaPod: www.antennapod.org/open-episide?eid=294759305

I don't really want AntennaPod to become just a front-end for PodcastIndex...

As long as AntennaPod can perfectly function without PI, it's not just a front-end for it. Crucial part: relying on RSS. Here we're providing an extra service - the open protocols are still there. And if you're afraid about reliance: it's an open database and system, so we are free to copy, take, mirror, etc everything.

@keunes
Copy link
Member

keunes commented Jan 11, 2022

I couldn't find it earlier, but at the Podcast Index they have the 'Fast Follow' challenge, which is the same challenge as we're discussing here.

It's discussed on the Podcasting 2.0 show:
Podcasting 2.0: Episode 66: Drop The Gate
Page: http://adam.curry.com/html/PC206620211217Podcas-8JZbq9hCG5f8mzLqGHwNzJl12rV91D.html
Audio file: https://mp3s.nashownotes.com/PC20-66-2021-12-17-Final.mp3#t=4317 [01:11:57]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants