audiobookshelf icon indicating copy to clipboard operation
audiobookshelf copied to clipboard

[Enhancement]: Utilize The Podcast Index

Open genebean opened this issue 3 years ago • 9 comments

Describe the feature/enhancement

It appears the podcast features utilize iTunes only. It would be awesome if you’d add The Podcast Index too

genebean avatar Jun 04 '22 16:06 genebean

Podcast index requires an API key to use. I got an API key by entering my email address but that API key can't be put inside the project for everyone. According to their ToS

Developer credentials may not be embedded in open source projects.

advplyr avatar Jun 04 '22 18:06 advplyr

How do various podcast apps use it then? Would Audiobookshelf's needs be different from those?

genebean avatar Jun 05 '22 23:06 genebean

They are not open source I'm guessing? I'm not sure.

advplyr avatar Jun 05 '22 23:06 advplyr

Podverse seems to be using it. https://podverse.fm/podcast/wI5oc-1xBU is a show that is only listed in the podcast index. Their code is at https://github.com/podverse/podverse-web and a search for "podcast index" turns up a lot of stuff. Sorry I don't know more about what to hunt for in the code.

genebean avatar Jun 06 '22 00:06 genebean

It looks like they are storing their API key for podcast index on their server and expecting users who host this themselves to supply their own podcast index api key. https://github.com/podverse/podverse-ops/blob/master/config/podverse-api-prod.env.example#L95

advplyr avatar Jun 06 '22 00:06 advplyr

Ahhh. I’d be down with that as a self hoster, fwiw. Not ideal, but not all that surprising either as I have to grab all kinds of api keys for Home Assistant and the like to talk to other things.

genebean avatar Jun 06 '22 00:06 genebean

Maybe if a key is provided via an env file or other config option it could default to using Podcast Index.

genebean avatar Jun 06 '22 00:06 genebean

We could have a setting in the config you can set your podcast index api key there. If that is set then it will be available as a provider for podcasts.

advplyr avatar Jun 06 '22 00:06 advplyr

That sounds great to me

genebean avatar Jun 06 '22 00:06 genebean

I hope that this will be implemented some day. PodFetch was able to implement this by having an environment variable to able to input your API keys, and it works well.

Raeitus avatar Aug 19 '23 17:08 Raeitus

@realmain When I'm looking for popular feature requests to implement I usually sort by the number of thumbs up on the original post.

advplyr avatar Aug 23 '23 22:08 advplyr