39aldo39 / DecSync

Synchronize RSS, contacts, calendars, tasks and more without a server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

podcasts subscriptions

tulsileathers opened this issue · comments

Have you thought at all about syncing podcast subscriptions? Perhaps with antennapod on android and gpodder on linux? I think podcast subscriptions are just rss feeds so it might not be too hard?

I haven't thought of syncing podcasts, but it is very suitable for DecSync. I won't implement it myself, but you could ask the developers of AntennaPod and gPodder if they are interested. I'm willing to help with questions they might have.

As for the DecSync mappings, I think the ones from rss.md can be mostly reused. Some differences:

  • Instead of 'articles' and 'marked', probably 'episodes' and 'played'.
  • In addition to binary marking episodes as played, also allow an integer to represent the number of seconds played.

I'm going to see if I can get something working on this over this year, there are a couple of extra fields that will need to be added per the gpodder API, then it would just be about getting those changes merged to a podcast client like Antennapod.
I've got some of the reference stuff here if you'd like to check out how it all works:
https://gpoddernet.readthedocs.io/en/latest/api/reference/events.html
https://github.com/thrillfall/nextcloud-gpodder (API implementation on Nextcloud)

Opml is a standard way to represent subscriptions, but i dont think it supports progress. But might make a good start

I was thinking the 'position' flag in the 'play' action from the gpodder API might be enough info to get cross device progress in some form or another, also this is my first dive into programming for a while but something I'm keen to whittle away at.