msg.info for when you're potentially adding hundreds of files is way too spammy and not really useful (autoload loads files, what?). Bump it up to msg.verbose. Also bump up the previously existing msg.verbose logs up to msg.debug to keep the difference in log levels. Fixes #12551.
Showing the changes to TOOLS/lua/autoload.lua (1 of 1 file). Show all
Unified · Split
| @@ -215,10 +215,10 @@ function find_and_add_entries() · 214 unmodified lines | ||
| 215 | 215 | local dir, filename = utils.split_path(path) |
| 216 | 216 | msg.trace(("dir: %s, filename: %s"):format(dir, filename)) |
| 217 | 217 | if o.disabled then |
| 218 | − msg.verbose("stopping: autoload disabled") | |
| 218 | + msg.debug("stopping: autoload disabled") | |
| 219 | 219 | return |
| 220 | 220 | elseif #dir == 0 then |
| 221 | − msg.verbose("stopping: not a local path") | |
| 221 | + msg.debug("stopping: not a local path") | |
| 222 | 222 | return |
| 223 | 223 | end |
| 224 | 224 | |
| @@ -227,7 +227,7 @@ function find_and_add_entries() · 2 unmodified lines | ||
| 227 | 227 | -- check if this is a manually made playlist |
| 228 | 228 | if (pl_count > 1 and autoloaded == nil) or |
| 229 | 229 | (pl_count == 1 and EXTENSIONS[string.lower(this_ext)] == nil) then |
| 230 | − msg.verbose("stopping: manually made playlist") | |
| 230 | + msg.debug("stopping: manually made playlist") | |
| 231 | 231 | return |
| 232 | 232 | else |
| 233 | 233 | if pl_count == 1 then |
| @@ -263,7 +263,7 @@ function find_and_add_entries() · 29 unmodified lines | ||
| 263 | 263 | end |
| 264 | 264 | |
| 265 | 265 | if next(files) == nil then |
| 266 | − msg.verbose("no other files or directories in directory") | |
| 266 | + msg.debug("no other files or directories in directory") | |
| 267 | 267 | return |
| 268 | 268 | end |
| 269 | 269 | |
| @@ -298,10 +298,10 @@ function find_and_add_entries() · 28 unmodified lines | ||
| 298 | 298 | -- skip files that are/were already in the playlist |
| 299 | 299 | if not added_entries[file] then |
| 300 | 300 | if direction == -1 then |
| 301 | − msg.info("Prepending " .. file) | |
| 301 | + msg.verbose("Prepending " .. file) | |
| 302 | 302 | table.insert(append[-1], 1, {file, pl_current + i * direction + 1}) |
| 303 | 303 | else |
| 304 | − msg.info("Adding " .. file) | |
| 304 | + msg.verbose("Adding " .. file) | |
| 305 | 305 | if pl_count > 1 then |
| 306 | 306 | table.insert(append[1], {file, pl_current + i * direction - 1}) |
| 307 | 307 | else |