-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement] if download fails the program mentions it #78
Comments
The download logs aren't deleted by the program, I used specific timestamps in the log file names to both prevent logs from being overridden and to facilitate sorting. Personally I don't really see that much difference from doing a global search for "missing" or "error" in the download log files and going through the folders looking for files that have a certain fake extension and then checking why that content is missing. Also, the 1st option isn't really that simple a fix since it would require additional code to create dummy files for "missing" tracks & appropriate error handling to determine if the dummy file should be ".missing" or ".bad". (and even then an error might occur before the dummy file could be created..., very hard to cover all bases) |
Logs are being deleted, just ran the program and it deleted the yesterday logs, keeping today's logs only... |
Ah yes, I had forgotten that I implemented an automatic purge of log files older then 1 day, just to keep the log folder from infinitely growing. I just really don't like the idea of creating unneeded dummy files, which will then in turn require proper management to clean up and will cause it's own extra layer of complexity. Proper, usable logging combined with decent error handling is the preferred solution for stuff like this. |
Your decision, it's not a very good workaround, most people don't know how to mass search through files... |
Overall, the program does indicate if the download fails in the program window.
But, if a user download many items, and closes the program, he needs to figure out what was downloaded OK and not.
The logs do mention this, but it's tedious to browse each log...
whereas if you start the program the next day the logs are deleted and if you didn't looked at them you are kinda lost.
So my suggestion for improvement is doing either one or more of the following:
I prefer the 1st option since you don't need to handle the folder names for now...
it's an easy if statement at most.
thank you very much!
The text was updated successfully, but these errors were encountered: