Hi Shaun. I know it's annoying but our license doesn't allow loading
tracks ahead of time which is the reason the API is built this way. I
wish we could simply give the whole playlist ahead of time, it would
make playing on mobile much easier.
Just like you suggested, I think that the right solution for you is to
call /sets/next about 10 seconds before the end of the song. If the
user skips within the last 10 seconds, you can ignore it.
I assume that the iOS player lets you track progress within the
playing track so you can set callbacks at certain points.
I hope this helps,
Remi
> --
> You received this message because you are subscribed to the Google Groups
> "8tracks public API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
8tracks-public-...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
--
Rémi Gabillet
8tracks CTO & co-founder