buzzsprout / buzzsprout-api

The official documentation for the Buzzsprout API (http://www.buzzsprout.com).
48 stars 10 forks source link

Log a download/listen when an episode is accessed and played through an integration #29

Closed mk-VII closed 2 years ago

mk-VII commented 3 years ago

I am currently working on an Android app that, among other things, I am pulling all the episodes of my podcast into so that users can listen without being redirected to something like iTunes or Spotify.

In my testing, I have noticed that hitting the audio_url attribute doesn't update the number listed in the total_plays field, so I presume no download is logged for the episode this way.

Is there a way of hitting the BuzzSprout API to log a download and have the numbers update accordingly? Thanks

tomrossi7 commented 3 years ago

Do you know what user agent you are using when making the download request? Are you downloading at least 60 seconds worth of data?

johnloringpollard commented 3 years ago

What time frame are you giving the total_plays to update after making the request for the audio_url? It can take up to a couple of hours for us to read the logs and update all the analytics numbers.

Like Tom said, you need at least 60 seconds of data and if you already downloaded the episode, you need to wait 24 hours before it will be counted again when using the same user agent.