Hi @David @Jan,
I have reworked the sync code in a new version of Episode Guide and would like your feedback before I release it.
Previously the 2-way sync would do the following:
-> Upload all shows that were in the Episode Guide App to TvMaze account (Runs only once, ever)
-> Download all shows and episodes from TvMaze account and save them to Episode DB (Run every 24 hrs)
-> Delete any shows from Episode Guide DB that weren't on TvMaze account (Run every 24 hrs)
-> Upload Shows and Episodes from Episode Guide to TvMaze account (Run every 24 hrs)
The problem which occured in the past code was that the sync process was hitting the rate limit on the api and not downloading all the shows and episodes. Which meant when it came to compare the DB to TvMaze, Shows and Episodes were deleted from TvMaze.
To fix this I have added exponential backoff to the networking code so it will retry when it can't get a connection etc. I have also disabled the mass upload feature in this release.
What I am proposing to release in this next version would be the following:
-> Download Shows and Episodes from TvMaze account and save locally to Episode Guide.
-> When a user adds a new show or marks an episode in Episode Guide it will be uploaded to TvMaze account.
To confirm there is no mass uploading in this release, I want to make sure the download process is stable before I look at enabling the part that syncs all existing existing Episode Guide Shows and Episodes at once.
Would you be happy for me to create a forum post to ask for beta testers again or would you prefer to test this version internally first?