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.
Unified · Split
| @@ -215,10 +215,10 @@ function find_and_add_entries() · 214 unmodified lines | |||
| 215 | local dir, filename = utils.split_path(path) | 215 | local dir, filename = utils.split_path(path) |
| 216 | msg.trace(("dir: %s, filename: %s"):format(dir, filename)) | 216 | msg.trace(("dir: %s, filename: %s"):format(dir, filename)) |
| 217 | if o.disabled then | 217 | if o.disabled then |
| 218 | msg.verbose("stopping: autoload disabled") | 218 | msg.debug("stopping: autoload disabled") |
| 219 | return | 219 | return |
| 220 | elseif #dir == 0 then | 220 | elseif #dir == 0 then |
| 221 | msg.verbose("stopping: not a local path") | 221 | msg.debug("stopping: not a local path") |
| 222 | return | 222 | return |
| 223 | end | 223 | end |
| 224 | 224 | ||
| @@ -227,7 +227,7 @@ function find_and_add_entries() · 2 unmodified lines | |||
| 227 | -- check if this is a manually made playlist | 227 | -- check if this is a manually made playlist |
| 228 | if (pl_count > 1 and autoloaded == nil) or | 228 | if (pl_count > 1 and autoloaded == nil) or |
| 229 | (pl_count == 1 and EXTENSIONS[string.lower(this_ext)] == nil) then | 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 | return | 231 | return |
| 232 | else | 232 | else |
| 233 | if pl_count == 1 then | 233 | if pl_count == 1 then |
| @@ -263,7 +263,7 @@ function find_and_add_entries() · 29 unmodified lines | |||
| 263 | end | 263 | end |
| 264 | 264 | ||
| 265 | if next(files) == nil then | 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 | return | 267 | return |
| 268 | end | 268 | end |
| 269 | 269 | ||
| @@ -298,10 +298,10 @@ function find_and_add_entries() · 28 unmodified lines | |||
| 298 | -- skip files that are/were already in the playlist | 298 | -- skip files that are/were already in the playlist |
| 299 | if not added_entries[file] then | 299 | if not added_entries[file] then |
| 300 | if direction == -1 then | 300 | if direction == -1 then |
| 301 | msg.info("Prepending " .. file) | 301 | msg.verbose("Prepending " .. file) |
| 302 | table.insert(append[-1], 1, {file, pl_current + i * direction + 1}) | 302 | table.insert(append[-1], 1, {file, pl_current + i * direction + 1}) |
| 303 | else | 303 | else |
| 304 | msg.info("Adding " .. file) | 304 | msg.verbose("Adding " .. file) |
| 305 | if pl_count > 1 then | 305 | if pl_count > 1 then |
| 306 | table.insert(append[1], {file, pl_current + i * direction - 1}) | 306 | table.insert(append[1], {file, pl_current + i * direction - 1}) |
| 307 | else | 307 | else |