improved handling of failed tape uploads to score server 4.3.0.1
authorHolger Schemel <info@artsoft.org>
Thu, 11 Nov 2021 17:10:57 +0000 (18:10 +0100)
committerHolger Schemel <info@artsoft.org>
Thu, 11 Nov 2021 17:22:52 +0000 (18:22 +0100)
commit7a8e465114815815796c2ebbe5f2e018a9265a3f
treeb13365f1437146669de44428054765c2dd4caa8d
parent49b1c3ee9c54b604bd74a521982be4822c63fc6f
improved handling of failed tape uploads to score server

When initially mass-uploading personal tapes, a single failed upload
caused the whole process to be restarted from scratch, ignoring all
tapes that were already uploaded. This improvement marks completely
uploaded tape directories to be able to skip them after failures and
repeated upload attempts. (In addition, non-existing tape directories
are skipped right away, without checking for each single tape file.)

Another improvement remembers if tapes were not uploaded (either
because the score server was disabled, or because uploading the tape
failed). If this happens, the game adds an entry to upload tapes to
the setup menu, and asks for uploading missing tapes on next start.
src/files.c
src/init.c
src/libgame/misc.c
src/libgame/misc.h
src/libgame/setup.c
src/libgame/setup.h
src/libgame/system.h
src/screens.c
src/tape.c