goglmaine.blogg.se

Gpodder app
Gpodder app










gpodder app
  1. #GPODDER APP INSTALL#
  2. #GPODDER APP FULL#

If not intended, I could PR a fix, already found one. The problem with this is that episode changes and subscriptions that are older than one week won't get synchronized.

#GPODDER APP FULL#

I recognized that after deleting AntennaPod app data and re-synchronizing subscriptions and episode changes, some episode changes won't synchronize.Īfter some digging I found out that the full synchronization feature calls /subscription_change/list with since=0 and therefore createDateTimeFromTimestamp will always return a timestamp from a week ago (because 0 is false). Using MariaDB 10.3, php8.0, Nextcloud 22, gpoddersync 1.0.9, Raspberry Pi OS 64bit, nginx 1.14.2 Detailed Description

  • Delete app data, re-synchronize everything.
  • Do some subscription changes and create some episode actions.
  • #GPODDER APP INSTALL#

  • Install AntennaPod debug with current build 3edd01e (12-08-2021) & Install gpoddersync 1.0.9.
  • If not intended, repair since-parameter or correct createDateTimeFromTimestamp to be able to deal with since=0 Steps to Reproduce Only episode actions and subscriptions from within last week will be synchronized Possible Solution Expected Behaviorįull synchronization after first synchronization Current Behavior On full synchronization, since timestamp is set to 0 and so only episode and subscription changes from within the last week will be synchronized. I also wrote two tests, for an input without guid and an input of multiple EpisodeActions - and phpunit doesn't complain. The last variant would be even closer to the gpodder api. So it's discussable if the current variant is preferrable or a version where an input without this 3rd dimension. The "data"-dimension could fall away, but then the Controller had to be rewritten drastically. In order to maintain the logic, the array has to come in the format given at the bottom, 3-dimensional. With this, gpoddersync checks whether the data is an array or a string and parses it with the according functions. This would make it easier for other podcast apps to implement gpoddersync as sync service as well. SInce it is described in the gpodder api docs this way, this would be preferrable. This enables gpoddersync to work with EpisodeActions from an multidimensional array as wished here. We also process the property guid Example requests:
  • position, started and total are optional, default value is -1.
  • create episode actions: POST /index.php/apps/gpoddersync/episode_action/create.
  • fields: podcast, episode, guid, action, timestamp, position, started, total.
  • get episode actions: GET /index.php/apps/gpoddersync/episode_action.
  • upload subscription changes : POST /index.php/apps/gpoddersync/subscription_change/create.
  • (optional) GET parameter since (UNIX time).
  • get subscription changes: GET /index.php/apps/gpoddersync/subscriptions.
  • This feature will be available in AntennaPod as of version 2.5.0, which will be released towards the end of 2021. This app serves as synchronization endpoint for AntennaPod:












    Gpodder app