[Feature] onplay.c show file progress

first some clean-up of onplay.c

extend/move fileobject copy, move, delete routines in prep for other users

add error checking, better error codes
pre scan to make sure the operation doesn't exceed system resources
show progress for file and directory copies

Change-Id: Ife2e62df554892dab651bab40433bf70b27e73ff
This commit is contained in:
William Wilgus 2024-06-21 10:38:50 -04:00 committed by William Wilgus
parent c87c09658a
commit dc7486c7de
6 changed files with 844 additions and 639 deletions

View file

@ -277,4 +277,8 @@ long to_normalized_volume(long vol, long min_vol, long max_vol, long max_norm);
* for the given normalized volume. */
long from_normalized_volume(long norm, long min_vol, long max_vol, long max_norm);
/* clear the lcd output buffer, if update is true the cleared buffer
* will be written to the lcd */
void clear_screen_buffer(bool update);
#endif /* MISC_H */