SamTV12345 / PodFetch

A sleek and efficient podcast downloader.
https://samtv12345.github.io/PodFetch
Apache License 2.0
347 stars 25 forks source link

gPodder compatible API #41

Closed alexanderadam closed 1 year ago

alexanderadam commented 1 year ago

Clear and concise description of the problem

Users who want to use their mobile or desktop clients (like AntennaPod the Podcast app for Garmin watches or the gPodder desktop application) often want to have a possibility to sync the listening state across all devices. gPodder solved exactly this, but it's old Python code and the official instance is often so slow that the devices are running into timeouts.

If PodFetch could replace that bottleneck by providing a compatible API, then people would have less to worry about (furthermore gPodder causes faulty behaviour on various clients like duplicated subscriptions if a subscription URL changed).

PS: This one is probably a difficult issue but it will give obvious benefits

Suggested solution

A gPodder compatible API interface.

Alternative

No response

Additional context

No response

Validations

SamTV12345 commented 1 year ago

Thanks for the issue. I have a look at a later point of the development or maybe someone else wants to contribute. The API seems to be pretty much work. My main goal is to get it stable and also include a user management. Currently everyone shares the same favorites and watch logs. This is not very ideal in a multi user setup like Keycloak/Basic Auth.

alexanderadam commented 1 year ago

It definitely is a lot of work.

Thank you for your work by the way. And you're really amazingly fast with your responses.

SamTV12345 commented 1 year ago

Yes. By then you could use the rss feed if you prefer GPodder than the UI.

I give my best. I experienced some weird responses with even big projects like Zipkin/Active Artemis. The latter is open since 5 months. I don't know what they are doing over there and I also hope to get other contributors in this project.

SamTV12345 commented 1 year ago

I'm starting to work on this task. I hope I can get this issue done in 2-3 months. Other than that if someone else wants to contribute just choose a topic.

SamTV12345 commented 1 year ago

@alexanderadam Do you have a spare account for gpodder.net? Seems like gpodder.net is broken since August 2022 and no new users can be created. If so you can message me on Mastodon @samuel@mastodon.schwanzer.online

alexanderadam commented 1 year ago

Maybe it would be more reliable to use a local instance (i.e. this or this).

PS: the official instance being broken is probably even more an argument to have a nice selfhosted alternative I guess

SamTV12345 commented 1 year ago

Good to know. I stumbled across multiple posts where users complain about the 500 since August 2022. The first one crashes on my system and the second is the client. I need the server.

alexanderadam commented 1 year ago

The first one crashes on my system

I guess then it would help to create an issue with the details. Since I guess that there's at least some error message, right?

There's also an open issue for an official Docker container.

SamTV12345 commented 1 year ago

I am in the process of creating a Codeberg account. Seems like the email server takes up to 3 hours. I'll create an issue once I'm registered.

How does AntennaPod sync with GPodder. Is this periodic? When I play/pause a downloaded podcast it doesn't send anything to the server. Do I have to press on "Sync now" for playtime to be updated?

SamTV12345 commented 1 year ago

Thanks for mentioning my project. I am close to finishing the integration. It already works as a standalone. I only need to connect the ui play/stop positions to the gpodder play actions. I am very optimistic that I should be able to finish this this weekend.

keunes commented 1 year ago

Hi @SamTV12345,

From AntennaPod I'm involved in a new initiative to make an open (source) podcast API standard: Open Podcast API. The goal is to enable different clients and servers to sync easily subscriptions, listening progress, etc. The Subscriptions endpoint is currently taking shape.

As our shared userbase seems to have some interest in linking up Podgrab and AntennaPod, you're warmly invited to join us in co-creating/shaping the specs. We're meeting in the matrix channel mentioned here and meeting in a video call every 2nd Tuesday of the month.

Hit me up on [my username]@mailbox.org if you have any questions.